Difference between revisions of "Template:Delete"

From Yugipedia
Jump to: navigation, search
("Yugipedia" is not usually preceded by an article)
(manually restore based on entries in the #recent-changes Discord channel)
 
Line 1: Line 1:
 
{{ #vardefine: $delete-reason | {{ #if: {{{reason|}}} | {{{reason}}} | {{{1|}}} }}
 
{{ #vardefine: $delete-reason | {{ #if: {{{reason|}}} | {{{reason}}} | {{{1|}}} }}
 +
}}{{ #vardefine: $delete-reason | {{ #replace: {{ #replace: {{ #replace: {{ #var: $delete-reason }} | {{!((}}File | {{!((}}:File }} | {{!((}}Image | {{!((}}:File }} | {{!((}}Category | {{!((}}:Category }}
 
}}{{mbox
 
}}{{mbox
 
| name  = Delete
 
| name  = Delete
Line 6: Line 7:
 
| date  = {{{date|}}}
 
| date  = {{{date|}}}
  
| type = {{ #if: {{{speedy|}}} | speedy | delete }}
+
| type = delete
| text = {{ #if: {{{speedy|}}}
+
| text = '''This {{namespace name}} is being considered for deletion''' in accordance with Yugipedia's [[Project:Deletion policy|deletion policy]].<br />Please share your thoughts on the matter on the [[{{ #if: {{{discussion|}}} | {{{discussion}}} | {{TALKPAGENAME}} }}|discussion page]].{{ #if: {{ #var: $delete-reason }}
    | '''This {{namespace name}} is a candidate for speedy deletion.''' A user believes that this page makes a clear violation under Yugipedia's [[Project:Deletion policy|deletion policy]]. If you disagree with this, then remove <code><nowiki>|speedy=true</nowiki></code> from this notice.
+
     | <br />'''Reason for deletion:''' <span class="deletereason">{{ #var: $delete-reason }}</span><span id="delete-reason" style="display: none;">{{urlencode:{{ #var: $delete-reason }}}}</span>
    | '''This {{namespace name}} is being considered for deletion''' in accordance with Yugipedia's [[Project:Deletion policy|deletion policy]].<br>Please share your thoughts on the matter on the [[{{ #if: {{{discussion|}}} | {{{discussion}}} | {{TALKPAGENAME}} }}|discussion page]].
 
  }}{{ #if: {{ #var: $delete-reason }}
 
     | <br />'''Reason for deletion:''' <span class="deletereason">{{ #replace: {{ #replace: {{ #var: $delete-reason }} | {{!((}}File | {{!((}}:File }} | {{!((}}Image | {{!((}}:File }}</span>
 
 
   }}<br />'''Do <em style="text-decoration: underline; font-style: normal;">not</em> remove this notice or blank this page.'''<br />
 
   }}<br />'''Do <em style="text-decoration: underline; font-style: normal;">not</em> remove this notice or blank this page.'''<br />
<small>[[Special:WhatLinksHere/{{FULLPAGENAMEE}}|What links here]]{{•}} [{{fullurl:{{FULLPAGENAMEE}}|action=history}} Page history]<span class="sysop-show">{{•}} [{{fullurl:{{FULLPAGENAMEE}}|action=delete{{ #if: {{ #var: $delete-reason }} | &wpReason={{urlencode:{{ #var: $delete-reason }}}} }}}} Delete]</span></small>}}<includeonly>{{ #if: {{{categories|}}}
+
<small>[[Special:WhatLinksHere/{{FULLPAGENAMEE}}|What links here]]{{•}} [{{fullurl:{{FULLPAGENAMEE}}|action=history}} Page history]<span class="sysop-show">{{•}} [{{fullurl:{{FULLPAGENAMEE}}|action=delete{{ #if: {{ #var: $delete-reason }} | &wpReason={{urlencode:{{ #var: $delete-reason }}}} }}}} Delete]</span></small>
  || [[Category:Candidates for Deletion]]{{ #if: {{{speedy|}}}
+
}}<includeonly>{{ #if: {{{categories|}}} || [[Category:Candidates for deletion]] }}</includeonly><noinclude>
    | [[Category:Candidates for Deletion (Quick)]]
+
{{Documentation}}
  }}
+
</noinclude>
}}</includeonly><noinclude>
 
 
 
{{documentation}}</noinclude>
 

Latest revision as of 02:15, 16 September 2023