Difference between revisions of "Template:LatestAfD"
Jump to navigation
Jump to search
imported>Swpb |
imported>Swpb |
||
Line 1: | Line 1: | ||
− | <includeonly>{{{{{|safesubst:}}}#invoke:LatestAfD | + | <includeonly>{{#if: {{{2|}}} | {{{{{|safesubst:}}}{{#invoke:LatestAfD{{!}}latestafd{{!}}{{{1}}}{{!}}{{{2}}}}}}} | {{{{{|safesubst:}}}{{#invoke:LatestAfD{{!}}latestafd{{!}}{{{1}}}}}}} }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 19:39, 30 May 2017
![]() | This template uses Lua: |
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}}
→ {{safesubst:Script error: You must specify a function to call.}}
Article with one AfD: {{latestAfD|Horseplay (band)}}
→ {{safesubst:Script error: You must specify a function to call.}}
Article with several AfDs: {{latestAfD|Angela Beesley}}
→ {{safesubst:Script error: You must specify a function to call.}}
Note: This template relies on AfDs following the standard naming convention. AfDs not adhering to the convention will not be detected.
The above documentation is transcluded from Template:LatestAfD/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |