Difference between revisions of "Template:Afdls/doc"
Jump to navigation
Jump to search
blackwiki>KAP03 (Updated documentation) |
blackwiki>KAP03 (Added more to examples) |
||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
| − | This is to create a link to an AfD discussion | + | This is to create a link to an AfD discussion, the log the AfD is in and to see AFD stats. |
==Examples== | ==Examples== | ||
<pre>{{Afdls|name=24 Hours a Day (song)|_name=24_Hours_a_Day_(song)|date = 2016 December 25}}</pre> | <pre>{{Afdls|name=24 Hours a Day (song)|_name=24_Hours_a_Day_(song)|date = 2016 December 25}}</pre> | ||
The above text appears as {{Afdls|name=24 Hours a Day (song)|_name=24_Hours_a_Day_(song)|date = 2016 December 25}} | The above text appears as {{Afdls|name=24 Hours a Day (song)|_name=24_Hours_a_Day_(song)|date = 2016 December 25}} | ||
| − | Clicking on View AfD takes you to [[Wikipedia:Articles for deletion/24 Hours a Day (song)]]. | + | 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. |
| + | ==Problems and How to Fix Them== | ||
| + | <pre>{{Afdls|name=Insecticons|_name=Insecticons|date = December 23 2016}}</pre> | ||
| + | This renders as {{Afdls|name=Insecticons|_name=Insecticons|date = December 23 2016}}. 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. | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 04:54, 26 December 2016
| 40px | 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 AFD stats.
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.
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.