Difference between revisions of "Template:AntiVandal/doc"
Jump to navigation
Jump to search
(→December 2013: I changed the word "may" to "will" because that's usually what happens) |
m (8 revisions imported) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| + | {{documentation subpage}} | ||
==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. | ||
| − | *For '''Template''' you may include any [[ | + | *For '''Template''' you may include any [[Wikipedia:Template messages/User talk namespace|user warning]] template (uw-vand2, uw-ad1, uw-delete1, uw-spam4, etc.) |
*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 13: | Line 15: | ||
== December 2013 == | == December 2013 == | ||
| − | [[File:Nuvola apps important.svg|25px|alt=Warning icon]] Please stop your [[Wikipedia:Disruptive editing|disruptive editing]]. If you continue to [[Wikipedia:Vandalism|vandalize]] Wikipedia, you | + | [[File:Nuvola apps important.svg|25px|alt=Warning icon]] Please stop your [[Wikipedia:Disruptive editing|disruptive editing]]. If you continue to [[Wikipedia:Vandalism|vandalize]] Wikipedia, you may be [[Wikipedia:Blocking policy|blocked from editing]]. <!-- Template:uw-vandalism3 --> --[[User:Mdann52|<span style="color:Green">'''Mdann'''</span>]][[Special:Contributions/Mdann52|<span style="color:Red">'''52'''</span>]]<small>[[User talk:Mdann52|<span style="color:Maroon">''talk to me!''</span>]]</small> 11:09, 3 December 2013 (UTC) |
| Line 33: | Line 35: | ||
*[[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> | ||
Latest revision as of 14:14, 22 October 2020
| 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