Difference between revisions of "Template:Sp"

From Team Fortress Wiki
Jump to: navigation, search
m (Remove the section header ._.)
m
Line 1: Line 1:
 
<includeonly>{{subst:</includeonly><includeonly>void|<span style="font-size: large; color: red">[[Category:Pages with incorrectly transcluded templates]]'''This template should always be substituted. Please change <nowiki>{{sp}}</nowiki> to <nowiki>{{subst:sp}}</nowiki>'''</span>}}</includeonly>
 
<includeonly>{{subst:</includeonly><includeonly>void|<span style="font-size: large; color: red">[[Category:Pages with incorrectly transcluded templates]]'''This template should always be substituted. Please change <nowiki>{{sp}}</nowiki> to <nowiki>{{subst:sp}}</nowiki>'''</span>}}</includeonly>
 
[[File:{{<includeonly>subst:</includeonly>#switch: {{{1|0}}}
 
[[File:{{<includeonly>subst:</includeonly>#switch: {{{1|0}}}
| 0 | #default = Information
+
| 0 | #default = Pictogram info
 
| 1 = Warning yellow
 
| 1 = Warning yellow
 
| 2 = Warning red
 
| 2 = Warning red
Line 8: Line 8:
 
<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 (or no parameter) will result in [[File:Information.png|25px]]
+
**0 (or no parameter) will result in [[File:Pictogram info.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>
 
[[Category:Help templates|Sp]]</noinclude>
 
[[Category:Help templates|Sp]]</noinclude>

Revision as of 22:50, 23 August 2013

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