Jump to content

Template:AfDM: Difference between revisions

From IdeaWazaWiki
wikademia>Kimchi.sg
add logic to catch non-substitution of {{afd}}
wikademia>Kimchi.sg
add category for pages with wrong usage of {{afd}}
Line 6: Line 6:
<small>''[[Template:AfD footer|Steps to list an article for deletion]]: &#123;&#123;subst:afd&#125;&#125; • [{{fullurl:Wikipedia:Articles_for_deletion/{{{page|{{{1|{{PAGENAME}}}}}}}}|action=edit&preload=Template:Afd2+starter&editintro=Template:Afd3+starter}} Preloaded debate] ''OR'' &#123;&#123;subst:afd2&#124;pg={{{page|{{{1|{{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; • [{{fullurl:Wikipedia:Articles_for_deletion/{{{page|{{{1|{{PAGENAME}}}}}}}}|action=edit&preload=Template:Afd2+starter&editintro=Template:Afd3+starter}} Preloaded debate] ''OR'' &#123;&#123;subst:afd2&#124;pg={{{page|{{{1|{{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>
</div>
</div>
{{#switch: {{FULLPAGENAME}} | Template:Afd= | <includeonly>{{{category|[[Category:Articles for deletion]]}}}</includeonly> }}<!-- end {{afd}} subst'ed text -->|<!-- start {{afd}} template not subst'ed text -->{{error:not substituted|afd}}<!-- end {{afd}} not subst'ed text -->}}<noinclude>[[Category:Deletion templates]]</noinclude>
{{#switch: {{FULLPAGENAME}} | Template:Afd= | <includeonly>{{{category|[[Category:Articles for deletion]]}}}</includeonly> }}<!-- end {{afd}} subst'ed text -->|<!-- start {{afd}} template not subst'ed text -->{{error:not substituted|afd}}[[Category:Articles for deletion using wrong syntax]]<!-- end {{afd}} not subst'ed text -->}}<noinclude>[[Category:Deletion templates]]</noinclude>

Revision as of 16:42, 4 June 2007