Difference between revisions of "Template:LatestAfD/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sam Sailor
(Cr)
imported>Swpb
Line 9: Line 9:
 
*No AfDs: <code><nowiki>{{latestAfD|Cheese}}</nowiki></code> → {{latestAfD|Cheese}}
 
*No AfDs: <code><nowiki>{{latestAfD|Cheese}}</nowiki></code> → {{latestAfD|Cheese}}
 
*One AfD: <code><nowiki>{{latestAfD|Horseplay (band)}}</nowiki></code> → {{latestAfD|Horseplay (band)}}
 
*One AfD: <code><nowiki>{{latestAfD|Horseplay (band)}}</nowiki></code> → {{latestAfD|Horseplay (band)}}
*Two to five AfDs: <code><nowiki>{{latestAfD|Ashley Golebiewski}}</nowiki></code> → {{latestAfD|Ashley Golebiewski}}
+
*Several AfDs: <code><nowiki>{{latestAfD|Angela Beesley}}</nowiki></code> → {{latestAfD|Angela Beesley}}
*More than five AfDs: <code><nowiki>{{latestAfD|Daniel Brandt}}</nowiki></code> → {{latestAfD|Daniel Brandt}}
 
  
 +
'''Note:''' This template relies on AfDs following the standard naming convention. AfDs not adhering to the convention will not be detected.
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 18:52, 30 May 2017

This template links to the most recent AfD discussion for the specified article, for pages with up to five AfD discussions. Optional display text may be specified. For pages without an AfD or with more than five AfDs, a warning message is displayed.

Usage

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

Examples:

  • No AfDs: {{latestAfD|Cheese}}Warning: No AfD discussion exists for the linked article.
  • One AfD: {{latestAfD|Horseplay (band)}}Warning: No AfD discussion exists for the linked article.
  • 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.