Jump to content

Template:AfDM: Difference between revisions

From IdeaWazaWiki
wikademia>Ilmari Karonen
m this is now used via Template:Afdx too, add optional "origtag" parameter to make error message correct; also hopefully fix namespace check
wikademia>MZMcBride
made change per talk request
Line 4: Line 4:
Feel free to edit the article, but the article must not be blanked, and this notice must not be removed, until the discussion is closed. For more information, particularly on merging or moving the article during the discussion, read the [[Wikipedia:Guide to deletion|guide to deletion]].<br/>
Feel free to edit the article, but the article must not be blanked, and this notice must not be removed, until the discussion is closed. For more information, particularly on merging or moving the article during the discussion, read the [[Wikipedia:Guide to deletion|guide to deletion]].<br/>
----
----
<small>''[[Template:AfD footer|Steps to list an article for deletion]]: &#123;&#123;subst:afd&#125;&#125; • {{#ifeq:{{{page|{{{1|{{PAGENAME}}}}}}}}|{{PAGENAME}}|{{#ifexist:Wikipedia:Articles for deletion/{{PAGENAME}}||[{{fullurl:Wikipedia:Articles for deletion/{{PAGENAME}}|action=edit&preload=Template:Afd2+starter&editintro=Template:Afd3+starter}} Preloaded debate] ''OR''}}}} &#123;&#123;subst:afd2&#124;pg={{PAGENAME}}&#124;cat=&#124;text=&#125;&#125; &#126;&#126;&#126;&#126; ([[:category:AfD debates|categories]]) • &#123;&#123;subst:afd3&#124;pg={{{page|{{{1|{{PAGENAME}}}}}}}}&#125;&#125; [{{fullurl:Wikipedia:Articles for deletion/Log/{{{date|{{{4|{{CURRENTYEAR}}}}} {{{5|{{CURRENTMONTHNAMEGEN}}}}} {{{6|{{CURRENTDAY}}}}}}}}|action=edit}} log]''</small>
<small>''[[Template:AfD footer|Steps to list an article for deletion]]: &#123;&#123;subst:afd&#125;&#125; • {{#ifeq:{{{page|{{{1|{{PAGENAME}}}}}}}}|{{PAGENAME}}|{{#ifexist:Wikipedia:Articles for deletion/{{PAGENAME}}||[{{fullurl:Wikipedia:Articles for deletion/{{PAGENAME}}|action=edit&preload=Template:Afd2+starter&editintro=Template:Afd3+starter}} Preloaded debate] ''OR''}}}} &#123;&#123;subst:afd2&#124;pg={{PAGENAME}}&#124;cat=&#124;text=&#125;&#125; &#126;&#126;&#126;&#126; ([[:category:AfD debates|categories]]) • &#123;&#123;subst:afd3&#124;pg={{{page|{{{1|{{PAGENAME}}}}}}}}&#125;&#125; [{{fullurl:Wikipedia:Articles for deletion/Log/{{{date|{{{4|{{CURRENTYEAR}}}}} {{{5|{{CURRENTMONTHNAMEGEN}}}}} {{{6|{{CURRENTDAY}}}}}}}}|action=edit}} log] (add to '''top''' of list)''</small>
</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 --><div>{{error:not substituted|{{{origtag|afd}}}}}[[Category:Articles for deletion using wrong syntax]]</div><!-- end {{afd}} not subst'ed text -->}}<noinclude>[[Category:Deletion templates]]</noinclude>
{{#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 --><div>{{error:not substituted|{{{origtag|afd}}}}}[[Category:Articles for deletion using wrong syntax]]</div><!-- end {{afd}} not subst'ed text -->}}<noinclude>[[Category:Deletion templates]]</noinclude>

Revision as of 19:26, 6 August 2007