Jump to content

Template:AfDM: Difference between revisions

From IdeaWazaWiki
wikademia>Sandstein
adding code for pregeneration of {{Oldafdfull}} template; the previous method of hiding it in the comments of {{AfD}} broke because of the new preprocessor; see Template talk:Afd
wikademia>Sandstein
Undo myself: does not work like that, see e.g. Brandon Locher
Line 8: Line 8:
{{#ifexist:Wikipedia:Articles for deletion/{{{page|{{PAGENAME}}}}}||----
{{#ifexist:Wikipedia:Articles for deletion/{{{page|{{PAGENAME}}}}}||----
Unregistered users placing this tag on an article cannot complete the deletion nomination and should leave detailed reasons for deletion on [[{{TALKPAGENAME}}]]. If the nomination is not completed and no message is left on the talkpage, this tag '''may be removed'''.}}
Unregistered users placing this tag on an article cannot complete the deletion nomination and should leave detailed reasons for deletion on [[{{TALKPAGENAME}}]]. If the nomination is not completed and no message is left on the talkpage, this tag '''may be removed'''.}}
----
<div style="font-size: xx-small;">The following code is provided for use by the closing administrator: <nowiki>{{</nowiki>Oldafdfull<nowiki>|</nowiki>page={{<includeonly>subst:</includeonly>PAGENAME}}<nowiki>|</nowiki>date= {{<includeonly>subst:</includeonly>CURRENTDAY}} {{<includeonly>subst:</includeonly>CURRENTMONTHNAMEGEN}} {{<includeonly>subst:</includeonly>CURRENTYEAR}}<nowiki>|</nowiki>result=<nowiki>'''keep'''}}</nowiki></div>
</div>}}
</div>}}
{{#switch: {{FULLPAGENAME}} | Template:Afd= | Template:Afdx= | <includeonly>{{{category|[[Category:Articles for deletion]]}}}</includeonly> }}<!-- end {{afd}} subst'ed text -->|<!-- start {{afd}} template not subst'ed text -->{{error:not substituted|{{{origtag|afd}}}}}[[Category:Articles for deletion using wrong syntax]]<!-- end {{afd}} not subst'ed text -->}}<noinclude>{{pp-template|small=yes}}
{{#switch: {{FULLPAGENAME}} | Template:Afd= | Template:Afdx= | <includeonly>{{{category|[[Category:Articles for deletion]]}}}</includeonly> }}<!-- end {{afd}} subst'ed text -->|<!-- start {{afd}} template not subst'ed text -->{{error:not substituted|{{{origtag|afd}}}}}[[Category:Articles for deletion using wrong syntax]]<!-- end {{afd}} not subst'ed text -->}}<noinclude>{{pp-template|small=yes}}
[[Category:Deletion templates]]</noinclude>
[[Category:Deletion templates]]</noinclude>

Revision as of 13:36, 4 February 2008

This message box is using an invalid "type=serious" parameter and needs fixing.