Difference between revisions of "Template:Afd2/doc"
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=Article|text=Sample text}} | | {{tlsp|afd2|pg=Article|text=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
| 40px | This is a documentation subpage for Template:Afd2. It contains usage information, categories and other content that is not part of the original template page. |
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
Sample text |