Template:Delete: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
Updating page; outdated documentation page.
m new tvar syntax
Line 1: Line 1:
<noinclude>
<languages/>
</noinclude>{{#switch:<translate></translate>
| =
{{mbox
{{mbox
| type   = delete
| type = delete
| image  = International_tidyman.png
| text = {{#switch:{{NAMESPACE}}
| imageadjust = center
  |File='''<translate><!--T:1--> This image is a candidate for deletion.</translate>'''
| imagewidth = 80px
  |#default='''<translate><!--T:21--> This page is a candidate for deletion.</translate>'''
| text   = '''This page is a candidate for deletion{{#if:{{{1|}}}|&nbsp;for the following reason: ''{{{1}}}}}''.''' {{#if: {{{2|}}}| <small>(since {{{2|}}})</small>}}
  }} <translate><!--T:2--> The given reason is:</translate> '''''{{{1|{{{reason|<translate><!--T:3--> No reason supplied!</translate>}}}}}}'''''
<div style="font-size:90%">If you disagree with this page's deletion, please explain why at [[Category talk:Candidates for deletion|Candidates for deletion]] or [[{{TALKPAGENAME}}|the page's talk page]], or improve this page and remove the <code>{{t|delete}}</code> tag.</div>
<div style="font-size:90%">'''Nominators:''' remember to check for '''[[Special:Prefixindex/{{FULLPAGENAME}}/|subpages]]''' and to mark the related ones for deletion including the documentation.</div>
<div style="font-size:90%">'''Admins:''' remember to check '''[[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]]''' and the '''[{{fullurl:{{FULLPAGENAME}}|action=history}} page history]''' before deleting.</div>
}}<includeonly>{{{category|[[Category:Candidates for deletion]]}}}</includeonly><noinclude>


==Description==
<translate><!--T:4--> This notice should remain for a '''minimum''' of 1 week after it was placed on the page.</translate>
This Template is used for making suggestions about and marking pages which need to be deleted for a variety of reasons including, but are not limited to:
<translate><!--T:5--> If discussion is still ongoing, it should remain until a consensus is reached, after which the page will either be deleted or this notice removed.</translate>
* Being entirely fanon
* Being a duplicate of another page
* Not being related to the World of Greyhawk
* Being an advertisement or other spam page.
==Usage==
You '''should not''' use this template without placing your reasoning for suggesting the deletion and placing your vote about how to resolve it.


The format for the template is:<br/>
<translate><!--T:6--> If you disagree with its deletion, please discuss your reasons on this page or on its associated talk page, as applicable.</translate>
::<nowiki>{{delete| (insert your reason) |date}}</nowiki> <br/>
Place at the very top of the page.  It will be automatically be added to the [[Category talk:Candidates for deletion|Candidates for deletion]] category.


Admins will be notified of the suggested deletion. Votes will be taken/recorded to see if there's a preference from the community about what to do with the page. <br />
<translate><!--T:7--> Remember to check [[<tvar name=1>Special:Whatlinkshere/{{FULLPAGENAME}}</tvar>|if anything links here]] and [<tvar name=url>{{fullurl:{{FULLPAGENAME}}|action=history}}</tvar> the page history] before deleting.</translate>
See for more details on placing a vote for a particular page's deletion.


===Example===
<small><span class="sysop-show">''<translate><!--T:8--> Administrators:</translate> [{{fullurl:{{FULLPAGENAME}}|wpReason={{urlencode:{{{1|{{{reason|}}}}}}}}&action=delete}} <translate><!--T:9--> delete this page</translate>]''</span></small>
The input <nowiki>{{delete|Entirely fanon homebrew|Thu, 6 Dec 2019}}</nowiki> will result in:  
 
{{delete|Entirely fanon homebrew|Thu, 6 Dec 2019}}
<small><translate><!--T:10--> Last edit by:</translate> [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[User talk:{{REVISIONUSER}}|{{int:talkpagelinktext}}]] · [[Special:Contributions/{{REVISIONUSER}}|{{int:contribslink}}]]) · <translate><!--T:20--> Last edited on:</translate> {{#time: r | {{REVISIONTIMESTAMP}} }}</small>
}}
| #default=
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Delete|noshift=1|uselang={{int:lang}}}}
}}<includeonly>{{#if: {{{nocat|}}}||[[Category:Candidates for deletion]]}}</includeonly><noinclude>
{{Documentation|content=
 
<translate>
== Standard deletion template == <!--T:11-->
</translate>
'''<translate><!--T:12--> Usage:</translate>''' <nowiki>{{delete|reason --~~~~}}</nowiki>
 
<!--transclude TemplateData here-->
{{Template:Delete/doc}}
 
<translate><!--T:13--> This template puts a 'Bold Red Warning' at the top of the page and adds the page to the <tvar name=cat>{{ll|Category:Candidates for deletion}}</tvar>.</translate>
 
<translate><!--T:14--> It should be added as the very first line on pages that you believe should be deleted from the wiki.</translate>
<translate><!--T:15--> This includes pages that no longer serve a useful purpose, pages whose content may be inappropriate (but which you are not sure about) and any other deletion that is not obviously a candidate for speedy deletion.</translate>
 
<translate><!--T:16--> Use the template {{<tvar name=speedy>tlx|speedy</tvar>|reason}} to speedy delete pages whose deletion would be uncontentious, i.e., leading to no Controversies (vandalism, test pages, etc.)</translate>
 
<translate>
== Example == <!--T:19-->
</translate>
{{Delete|nocat=true}}
 
}}
[[Category:Admin templates{{#translation:}}|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 05:55, 2 May 2021

<languages/>

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
ViewEditHistory
The following documentation is transcluded from Template:Delete/doc:

Template to nominate a page for deletion. Should be placed at the very top of the page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Reason1 reason

Reason this page should be deleted

Example
Unused
Linerequired
No categorynocat

Any value will prevent this page from being put in Category:Candidates for deletion

Booleanoptional

[[Category:Admin templates{{#translation:}}|Delete]]