Difference between revisions of "Template:Afd2/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sandstein
(→‎Article: update example)
blackwiki>MrKIA11
m (cleaning)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
<!-- Abstract usage of the template, one variable per row. -->
 
 
<pre>
 
<pre>
 
{{subst:afd2
 
{{subst:afd2
 
   |pg=article nominated for deletion
 
   |pg=article nominated for deletion
 +
  |cat=category nomination falls in
 
   |text=reason for nomination
 
   |text=reason for nomination
 
}}
 
}}
 
</pre>
 
</pre>
 
<!-- explain what this template's parameters do -- if no params, delete the definition -->
 
  
 
==== Example ====
 
==== Example ====
Line 18: Line 16:
 
! Result
 
! Result
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| {{tlsp|afd2|pg&#61;Article&#124;text&#61;ugly}}
+
| {{tlsp|afd2|pg&#61;Article&#124;text&#61;Sample text}}
 
|
 
|
====[[Article]]====
+
===[[Article]]===
:{{la|Article}} ([[{{FULLPAGENAME}}|View AfD]] · [http://toolserver.org/~betacommand/cgi-bin/afdparser?afd=Wikipedia%3AArticles+for+deletion%2FArticle 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}})
ugly
+
:({{findsources|Article}})
 +
Sample text
 
|}
 
|}
 
<!-- customize if needed to illustrate parameter use -->
 
<!-- customize if needed to illustrate parameter use -->
 
=== See also ===
 
  
 
<includeonly>
 
<includeonly>

Revision as of 16:34, 29 December 2009

Usage

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

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