Difference between revisions of "Template:Afd2/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Ultraexactzz
(→‎Usage: caveat)
blackwiki>MrKIA11
(updating to reflect actual template output)
Line 22: Line 22:
  
 
===[[Article]]===
 
===[[Article]]===
:{{la|Article}} – ([[Template:Afd2/doc|View AfD]] {{•}} {{plainlink|1=http://toolserver.org/~betacommand/cgi-bin/afdparser?afd={{urlencode:{{<includeonly>subst:</includeonly>FULLPAGENAME}}}}|2=AfD statistics}})
+
:{{la|Article}} – ([[Template:Afd2/doc|View AfD]])
 
:({{findsources|Article}})
 
:({{findsources|Article}})
 
Sample text
 
Sample text

Revision as of 12:31, 27 April 2011

Usage

{{subst:afd2
  |pg=article nominated for deletion
  |cat=category nomination falls in
  |text=reason for nomination
}}

For the template to work properly, don't forget to substitute using subst:.

Example

Code Result
{{subst:afd2|pg=Article|text=Sample text}}

Article

Article (edit | talk | history | protect | delete | links | watch | logs | views) – (View AfD)
(Find sources: Google (books⧼Dot-separator⧽news⧼Dot-separator⧽newspapers⧼Dot-separator⧽scholar⧼Dot-separator⧽free images⧼Dot-separator⧽WP refs)⧼Dot-separator⧽FENS⧼Dot-separator⧽JSTOR⧼Dot-separator⧽NYT⧼Dot-separator⧽TWL)

Sample text