Template:AfDM: Difference between revisions
Appearance
wikademia>Ilmari Karonen the pg parameter to {{afd2}} should always be the actual page title; also, the preload trick isn't going to work at all if the target page exists, and not too well if the titles don't match |
wikademia>Kimchi.sg m get rid of underscores in fullurl calls |
||
| 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]]: {{subst:afd}} • {{#ifeq:{{{page|{{{1|{{PAGENAME}}}}}}}}|{{PAGENAME}}|{{#ifexist:Wikipedia: | <small>''[[Template:AfD footer|Steps to list an article for deletion]]: {{subst:afd}} • {{#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''}}}} {{subst:afd2|pg={{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}}[[Category:Articles for deletion using wrong syntax]]<!-- 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> | ||