Template:AfDM: Difference between revisions
Appearance
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]]: {{subst:afd}} • [{{fullurl:Wikipedia:Articles_for_deletion/{{{page|{{{1|{{PAGENAME}}}}}}}}|action=edit&preload=Template:Afd2+starter&editintro=Template:Afd3+starter}} Preloaded debate] ''OR'' {{subst:afd2|pg={{{page|{{{1|{{PAGENAME}}}}}}}}|cat=|text=}} ~~~~ ([[:category:AfD debates|categories]]) • {{subst:afd3|pg={{{page|{{{1|{{PAGENAME}}}}}}}}}} [{{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]]: {{subst:afd}} • [{{fullurl:Wikipedia:Articles_for_deletion/{{{page|{{{1|{{PAGENAME}}}}}}}}|action=edit&preload=Template:Afd2+starter&editintro=Template:Afd3+starter}} Preloaded debate] ''OR'' {{subst:afd2|pg={{{page|{{{1|{{PAGENAME}}}}}}}}|cat=|text=}} ~~~~ ([[:category:AfD debates|categories]]) • {{subst:afd3|pg={{{page|{{{1|{{PAGENAME}}}}}}}}}} [{{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> | ||