Difference between revisions of "Template:Afd2/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>MrKIA11
m (cleaning)
blackwiki>Ultraexactzz
(→‎Usage: caveat)
Line 10: Line 10:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
For the template to work properly, don't forget to [[WP:SUBST|substitute]] using subst:.
  
 
==== Example ====
 
==== Example ====
Line 18: Line 20:
 
| {{tlsp|afd2|pg&#61;Article&#124;text&#61;Sample text}}
 
| {{tlsp|afd2|pg&#61;Article&#124;text&#61;Sample text}}
 
|
 
|
 +
 
===[[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]] {{•}} {{plainlink|1=http://toolserver.org/~betacommand/cgi-bin/afdparser?afd={{urlencode:{{<includeonly>subst:</includeonly>FULLPAGENAME}}}}|2=AfD statistics}})

Revision as of 12:16, 16 September 2010

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 Template:• Template:Plainlink)
(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