Difference between revisions of "Template:AntiVandal/doc"

From blackwiki
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 [[WP:UTM|user warning]] template (uw-vand2, uw-ad1, uw-delete1, uw-spam4, etc.)
+
*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

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

Warning icon 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:

  1. Title of article
  2. Template to be called
  3. Extra text to be added to the end.

Link for testing: Template:X1

See also: