Difference between revisions of "Template:LatestAfD/doc"

From blackwiki
Jump to navigation Jump to search
imported>Swpb
imported>Swpb
Line 5: Line 5:
 
== Usage ==
 
== Usage ==
 
<code><nowiki>{{User:Swpb/latestAfD|<article>|<display text>}}</nowiki></code>
 
<code><nowiki>{{User:Swpb/latestAfD|<article>|<display text>}}</nowiki></code>
 +
 +
'''Examples''':
 +
*No AfDs: <code><nowiki>{{latestAfD|Cheese}}</nowiki></code> → {{latestAfD|Cheese}}
 +
*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}}
 +
*More than five AfDs: <code><nowiki>{{latestAfD|Daniel Brandt}}</nowiki></code> → {{latestAfD|Daniel Brandt}}
 +
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 20:04, 31 October 2016

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

{{User:Swpb/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.
  • Two to five AfDs: {{latestAfD|Ashley Golebiewski}}Warning: No AfD discussion exists for the linked article.
  • More than five AfDs: {{latestAfD|Daniel Brandt}}Warning: No AfD discussion exists for the linked article.