Difference between revisions of "Template:Sp"

From Team Fortress Wiki
Jump to: navigation, search
m (This is why I needed to delete all of that.)
m
Line 2: Line 2:
 
== Show Preview ==
 
== Show Preview ==
 
[[File:{{#switch: {{{1|0}}}
 
[[File:{{#switch: {{{1|0}}}
| 0 = #default = Information
+
| 0 | #default = Information
 
| 1 = Warning yellow
 
| 1 = Warning yellow
 
| 2 = Warning red
 
| 2 = Warning red
Line 15: Line 15:
 
<br>
 
<br>
 
== Result ==
 
== Result ==
{{sp}}
+
 
 +
== 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]]) 18:59, 25 October 2012 (PDT)
 +
 
 
[[Category:Help templates|Sp]]</noinclude>
 
[[Category:Help templates|Sp]]</noinclude>

Revision as of 01:59, 26 October 2012

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 will result in Information.png
    • 1 will result in Warning yellow.png
    • 2 will result in Warning red.png.


Result

Show Preview

[[File:

  1. default = Information.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. -- Darkid (talk|contribs) 18:59, 25 October 2012 (PDT)