Template:Afdls/doc
![]() | This is a documentation subpage for Template:Afdls. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This is to create a link to an AfD discussion, the log the AfD is in and to see the AFD stats. This template is intended to be used with the Template la.
Examples
{{Afdls|name=24 Hours a Day (song)|_name=24_Hours_a_Day_(song)|date = 2016 December 25}}
The above text appears as (View AfD ⧼dot-separator⧽ Edit AfD ⧼dot-separator⧽ View log ⧼dot-separator⧽ Stats)
Clicking on "View AfD" takes you to Wikipedia:Articles for deletion/24 Hours a Day (song). Clicking on "View log" takes you to the log of Articles for deletion on December 25, 2016. Clicking on "Stats" allows you to see the stats of an AfD debate.
Combined Use With la template
{{la|Oakland Marriott City Center}} - {{Afdls|name = Oakland Marriott City Center|_name = Oakland_Marriott_City_Center|date = 2016 December 23}}
renders as Oakland Marriott City Center (edit | talk | history | protect | delete | links | watch | logs | views) - (View AfD ⧼dot-separator⧽ Edit AfD ⧼dot-separator⧽ View log ⧼dot-separator⧽ Stats)
Problems and How to Fix Them
{{Afdls|name=Insecticons|_name=Insecticons|date = December 23 2016}}
This renders as (View AfD ⧼dot-separator⧽ Edit AfD ⧼dot-separator⧽ View log ⧼dot-separator⧽ Stats) . However the "View log" link is a redlink. To fix this make sure the date given to the date parameter is in the form year month day.