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
 
(13 intermediate revisions by 2 users not shown)
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:void|<span style="font-size: large; color: red">[[Category:Pages with incorrectly transcluded templates]]'''This template should always be substituted. Please change <nowiki>{{sp}} to {{subst:sp}}</nowiki>'''</span>}}</includeonly>
== Show Preview ==
+
[[File:{{<includeonly>subst:</includeonly>#switch: {{{1|0}}}
[[File:{{#switch: {{{1|0}}}
+
| 0 | #default = Pictogram info
| 0 = #default = Information
 
 
| 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. You can edit the whole article by clicking the edit button at the top of the page, which is preferable to editing multiple sections consecutively.<noinclude>
<noinclude>
+
{{Doc begin}}
 
== 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: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>
+
[[Category:Help templates|Sp]]
== Result ==
+
[[Category:Talk page warning templates|Sp]]</noinclude>
{{sp}}
 
[[Category:Help templates|Sp]]</noinclude>
 

Latest revision as of 16:17, 27 June 2023

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. You can edit the whole article by clicking the edit button at the top of the page, which is preferable to editing multiple sections consecutively.

Documentation for Sp

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