Difference between revisions of "Template:AntiVandal/doc"
Jump to navigation
Jump to search
blackwiki>WOSlinker m (add {{documentation subpage}}) |
blackwiki>Bsherr (Implementing sandbox other, decategorizing doc subpage, correcting use pattern since already includes signature) |
||
| Line 2: | Line 2: | ||
==How to use:== | ==How to use:== | ||
| − | *Like this: | + | *Like this: <code><nowiki>{{subst:AntiVandal|Article|Template|Thank you.}}</nowiki></code> |
*You '''must''' use '''[[WP:SUBST|subst]]''' before you call this template. | *You '''must''' use '''[[WP:SUBST|subst]]''' before you call this template. | ||
*In place of '''Article''' insert the affected article title. | *In place of '''Article''' insert the affected article title. | ||
| Line 8: | Line 8: | ||
*You may substitute your own comment in place of '''Thank you.''' | *You may substitute your own comment in place of '''Thank you.''' | ||
== Sample == | == Sample == | ||
| − | Here is a sample of the template's output, using | + | Here is a sample of the template's output, using <code><nowiki>{{subst:AntiVandal|Article|uw-vand3|Thank you.}}</nowiki></code> |
Result: | Result: | ||
| Line 34: | Line 34: | ||
*[[WP:TT#Multi_level_templates|Multi-level templates]] | *[[WP:TT#Multi_level_templates|Multi-level templates]] | ||
*[[Wikipedia:Template messages/User talk namespace/Multi level details|Multi-level details]] | *[[Wikipedia:Template messages/User talk namespace/Multi level details|Multi-level details]] | ||
| + | <includeonly>{{sandbox other|| | ||
| + | <!-- Categories go below this line; interwikis go to Wikidata --> | ||
[[Category:User warning templates|{{PAGENAME}}]] | [[Category:User warning templates|{{PAGENAME}}]] | ||
| + | }}</includeonly> | ||
Revision as of 02:00, 16 November 2018
| This is a documentation subpage for Template:AntiVandal. It contains usage information, categories and other content that is not part of the original template page. |
How to use:
- Like this:
{{subst:AntiVandal|Article|Template|Thank you.}} - You must use subst before you call this template.
- In place of Article insert the affected article title.
- For Template you may include any user warning template (uw-vand2, uw-ad1, uw-delete1, uw-spam4, etc.)
- You may substitute your own comment in place of Thank you.
Sample
Here is a sample of the template's output, using {{subst:AntiVandal|Article|uw-vand3|Thank you.}}
Result:
December 2013
Please stop your disruptive editing. If you continue to vandalize Wikipedia, you may be blocked from editing. --Mdann52talk to me! 11:09, 3 December 2013 (UTC)
That's it!
Editing this template
PLEASE FEEL FREE TO IMPROVE THIS TEMPLATE!
Important: Whenever you change the output of the template, you should update the sample here!
Parameters:
- Title of article
- Template to be called
- Extra text to be added to the end.
Link for testing: Template:X1