Difference between revisions of "Template:Delete"
Dinoguy1000 (talk | contribs) ("Yugipedia" is not usually preceded by an article) |
Dinoguy1000 (talk | contribs) (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 = | + | | type = delete |
− | | text = | + | | 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 }} |
− | + | | <br />'''Reason for deletion:''' <span class="deletereason">{{ #var: $delete-reason }}</span><span id="delete-reason" style="display: none;">{{urlencode:{{ #var: $delete-reason }}}}</span> | |
− | |||
− | |||
− | | <br />'''Reason for deletion:''' <span class="deletereason">{{ # | ||
}}<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> |
− | + | }}<includeonly>{{ #if: {{{categories|}}} || [[Category:Candidates for deletion]] }}</includeonly><noinclude> | |
− | + | {{Documentation}} | |
− | + | </noinclude> | |
− | }}</includeonly><noinclude> | ||
− | |||
− | {{ |
Latest revision as of 02:15, 16 September 2023
This template is being considered for deletion in accordance with Yugipedia's deletion policy. Please share your thoughts on the matter on the discussion page. Do not remove this notice or blank this page. What links here • Page history • Delete |
{{Delete}}
is used to nominate pages for deletion.
Pages currently nominated for deletion are categorized in Category:Candidates for deletion.
Usage[edit]
To nominate a page for deletion, add the following to the top of the page.
{{delete}}
This template is being considered for deletion in accordance with Yugipedia's deletion policy. Please share your thoughts on the matter on the discussion page. Do not remove this notice or blank this page. What links here • Page history • Delete |
To add a reason to the suggestion, add the "reason" parameter. For example:
{{delete|reason=Copyright violation}}
This template is being considered for deletion in accordance with Yugipedia's deletion policy. Please share your thoughts on the matter on the discussion page. Reason for deletion: Copyright violation Do not remove this notice or blank this page. What links here • Page history • Delete |
If the discussion is taking place on a page, other than the page's corresponding talk page, the "discussion" parameter, can be used. For example:
{{delete|discussion=Talk:Yugipedia}}
This template is being considered for deletion in accordance with Yugipedia's deletion policy. Please share your thoughts on the matter on the discussion page. Do not remove this notice or blank this page. What links here • Page history • Delete |