Template:Warning/doc: Difference between revisions
Appearance
Created page with "A more stern alternative to {{tl|notice}}. <includeonly> Category:Template messages </includeonly>" |
No edit summary |
||
| Line 1: | Line 1: | ||
A more stern alternative to {{tl|notice}}. | A more stern alternative to {{tl|notice}}. | ||
== Usage == | |||
{{tlx|warning|image_size|TEXT}} | |||
<code>image_size</code> changes the size of the stop hand icon. This is an optional parameter that can be excluded, and will then default to 30px. | |||
== Examples == | |||
{{tlx|warning|Look out for falling rocks}} | |||
''makes'' | |||
{{warning|Look out for falling rocks}} | |||
{{tlx|warning|image_size=50px|Look out for falling rocks}} | |||
''makes'' | |||
{{warning|image_size=50px|Look out for falling rocks}} | |||
{{tlx|warning|Look out for falling rocks|50px}} | |||
''makes'' | |||
{{warning|Look out for falling rocks|50px}} | |||
<includeonly> | <includeonly> | ||
[[Category:Template messages]] | [[Category:Template messages]] | ||
</includeonly> | </includeonly> | ||
Revision as of 21:26, 9 September 2015
A more stern alternative to {{notice}}.
Usage
{{warning|image_size|TEXT}}
image_size changes the size of the stop hand icon. This is an optional parameter that can be excluded, and will then default to 30px.
Examples
{{warning|Look out for falling rocks}}
makes
| Look out for falling rocks |
{{warning|Look out for falling rocks}}
makes
|
Look out for falling rocks |
{{warning|Look out for falling rocks|50px}}
makes
|
Look out for falling rocks |
