Difference between revisions of "Template:AntiVandal"
blackwiki>Daedalus969 |
blackwiki>MC10 m (per discussion) |
||
| Line 39: | Line 39: | ||
<noinclude><!-- Template originally created by Falconus. --> | <noinclude><!-- Template originally created by Falconus. --> | ||
| − | </noinclude><!--Template:AntiVandal!-->== {{<includeonly> | + | </noinclude><!--Template:AntiVandal!-->== {{<includeonly>safesubst:</includeonly>CURRENTMONTHNAME}} {{<includeonly>safesubst:</includeonly>CURRENTYEAR}} == |
| − | === {{<includeonly> | + | === {{<includeonly>safesubst:</includeonly>CURRENTDAYNAME}}, {{<includeonly>safesubst:</includeonly>CURRENTMONTHNAME}} {{<includeonly>safesubst:</includeonly>CURRENTDAY}} === |
==== Re: [[:{{{1}}}]] ==== | ==== Re: [[:{{{1}}}]] ==== | ||
| − | {{<includeonly> | + | {{<includeonly>safe</includeonly>subst:{{{2}}}|{{{1}}}|{{{3}}}}}<noinclude> |
== See also: == | == See also: == | ||
Revision as of 17:22, 16 May 2010
Contents
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:
August 2007
Friday, August 24
Re: Article
Please stop. If you continue to vandalize Wikipedia, as you did to Article, you will be blocked from editing. Thank you. --YourSignature 05:10, 24 August 2007 (UTC)
- Here is an example of how the substituted code may read after you save your edit:
<!--Template:AntiVandal!-->== August 2007 ==
=== Friday, August 24 ===
==== Re: [[:Article]] ====
{{{icon|[[File:Nuvola apps important.svg|25px]] }}}Please stop. If you continue to [[Wikipedia:Vandalism|vandalize]] Wikipedia{{{{{subst|}}}#if:Article|, as you did to [[:Article]]}}, you ''will'' be [[Wikipedia:Blocking policy|blocked]] from editing. {{{{{subst|}}}#if:Thank you.|Thank you.|}}<!-- Template:uw-vandalism3 --> --'''YourSignature''' 05:10, 24 August 2007 (UTC)
That's it! The actual template is below, if you're interested.
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
January 2026
Sunday, January 4
Re: [[:{{{1}}}]]
{{subst:{{{2}}}|{{{1}}}|{{{3}}}}}