Difference between revisions of "Template:Afdls/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>KAP03
m (KAP03 moved page Draft:Afdls/doc to Template:Afdls/doc: Template:Afdls exists.)
m (6 revisions imported)
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
  
This is to create a link to an AfD discussion and on the afd page link to the log and to see AFD stats.
+
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 [[Template:la|la]].
 +
==Examples==
 +
<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}}
 +
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==
 +
<pre>{{la|Oakland Marriott City Center}} - {{Afdls|name = Oakland Marriott City Center|_name = Oakland_Marriott_City_Center|date = 2016 December 23}}</pre>
 +
renders as {{la|Oakland Marriott City Center}} - {{Afdls|name = Oakland Marriott City Center|_name = Oakland_Marriott_City_Center|date = 2016 December 23}}
  
 +
==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>

Latest revision as of 11:43, 18 October 2020

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.