Difference between revisions of "Template:AntiVandal/doc"
Jump to navigation
Jump to search
blackwiki>Bsherr (Implementing sandbox other, decategorizing doc subpage, correcting use pattern since already includes signature) |
blackwiki>Goveganplease |
||
| Line 5: | Line 5: | ||
*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 <code><nowiki>{{subst:AntiVandal|Article|uw-vand3|Thank you.}}</nowiki></code> | Here is a sample of the template's output, using <code><nowiki>{{subst:AntiVandal|Article|uw-vand3|Thank you.}}</nowiki></code> | ||
Revision as of 12:49, 9 March 2019
| 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