Difference between revisions of "Template:Sp"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>{{subst:</includeonly><includeonly>void|<span style="font-size: large; color: red">'''This template should always be substituted. Please change <nowiki>{{welcome}}</nowiki> to <nowiki>{{subst:welcome}}</nowiki>'''</span>}}
+
<includeonly>{{subst:</includeonly><includeonly>void|<span style="font-size: large; color: red">'''This template should always be substituted. Please change <nowiki>{{sp}}</nowiki> to <nowiki>{{subst:sp}}</nowiki>'''</span>}}</includeonly>
 
== Show Preview ==
 
== Show Preview ==
 
[[File:{{#switch: {{{1|0}}}
 
[[File:{{#switch: {{{1|0}}}
Line 5: Line 5:
 
| 1 = Warning yellow
 
| 1 = Warning yellow
 
| 2 = Warning red
 
| 2 = Warning red
}}.png|25px|link=]] </includeonly>Please make use of the '''Show preview''' button. It gives you a preview of the edit you are making, allowing you to perfect your changes before you save the page. -- <includeonly>~~</includeonly>~~<noinclude><nowiki>~~</nowiki></noinclude>
+
}}.png|25px|link=]] Please make use of the '''Show preview''' button. It gives you a preview of the edit you are making, allowing you to perfect your changes before you save the page. -- <includeonly>~~</includeonly>~~<noinclude><nowiki>~~</nowiki></noinclude>
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==
 
<nowiki>{{subst:sp}}</nowiki><br>
 
<nowiki>{{subst:sp}}</nowiki><br>
 
* Takes 1 parameter, which represents the severity of the issue.
 
* Takes 1 parameter, which represents the severity of the issue.
**0 will result in [[File:Information.png|25px]]
+
**0 (or no parameter) will result in [[File:Information.png|25px]]
 
**1 will result in [[File:Warning yellow.png|25px]]
 
**1 will result in [[File:Warning yellow.png|25px]]
 
**2 will result in [[File:Warning red.png|25px]].
 
**2 will result in [[File:Warning red.png|25px]].
 
<br>
 
<br>
== Result ==
 
<br><br>
 
 
== Show Preview ==
 
[[File:{{#switch: 0
 
| 0 | #default = Information
 
| 1 = Warning yellow
 
| 2 = Warning red
 
}}.png|25px|link=]] Please make use of the '''Show preview''' button. It gives you a preview of the edit you are making, allowing you to perfect your changes before you save the page. -- [[User:Darkid|<span style="color:red">Darkid</span>]] ([[Image:Item icon Tin-1000.png|21px|link=User_talk:Darkid|alt=talk]]|[[Image:Item icon Couvre Corner.png|21px|link=Special:Contributions/Darkid|alt=contribs]]) 19:00, 25 October 2012 (PDT)
 
 
 
 
[[Category:Help templates|Sp]]</noinclude>
 
[[Category:Help templates|Sp]]</noinclude>

Revision as of 02:04, 26 October 2012

Show Preview

Information.png Please make use of the Show preview button. It gives you a preview of the edit you are making, allowing you to perfect your changes before you save the page. -- ~~~~

Usage

{{subst:sp}}

  • Takes 1 parameter, which represents the severity of the issue.
    • 0 (or no parameter) will result in Information.png
    • 1 will result in Warning yellow.png
    • 2 will result in Warning red.png.