Difference between revisions of "Template:AntiVandal/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Mdann52
(moving to subpage)
 
blackwiki>Mdann52
(subst: template)
Line 7: Line 7:
 
*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 '''<nowiki>{{subst:AntiVandal|Article|uw-vand3|Thank you.}} -- ~~~~</nowiki>'''
+
Here is a sample of the template's output, using '''<nowiki>{{subst:AntiVandal|Article|uw-vand3|Thank you.}} < /nowiki>'''
  
 
Result:
 
Result:
{{AntiVandal|Article|uw-vand3|Thank you.}}
+
{{subst:AntiVandal|Article|uw-vand3|Thank you.}}
  
  

Revision as of 11:08, 3 December 2013

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 <nowiki>{{subst:AntiVandal|Article|uw-vand3|Thank you.}} < /nowiki>

Result: {{subst:AntiVandal|Article|uw-vand3|Thank you.}}


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: