Difference between revisions of "Template:LatestAfD"

From blackwiki
Jump to navigation Jump to search
imported>Swpb
imported>Swpb
 
Line 1: Line 1:
<includeonly>{{#if: {{{2|}}} | {{{{{|safesubst:}}}{{#invoke:LatestAfD|latestafd|{{{1}}}|{{{2}}}}}}} | {{{{{|safesubst:}}}{{#invoke:LatestAfD|latestafd|{{{1}}}}}}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
+
<includeonly>{{#if: {{{2|}}} | {{#invoke:LatestAfD|latestafd|{{{1}}}|{{{2}}}}} | {{#invoke:LatestAfD|latestafd|{{{1}}}}} }}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 19:40, 30 May 2017

Template documentation[view] [edit] [history] [purge]

This template links to the most recent AfD discussion for a given article. Optional display text may be specified. For pages without an AfD, a warning message is displayed.

Usage

{{latestAfD|<article>|<optional display text>}}

Examples

Article with no AfDs: {{latestAfD|Cheese}}Warning: No AfD discussion exists for the linked article.

Article with one AfD: {{latestAfD|Horseplay (band)}}Warning: No AfD discussion exists for the linked article.

Article with several AfDs: {{latestAfD|Angela Beesley}}Warning: No AfD discussion exists for the linked article.


Note: This template relies on AfDs following the standard naming convention. AfDs not adhering to the convention will not be detected.