Template:Warning/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "A more stern alternative to {{tl|notice}}. <includeonly> Category:Template messages </includeonly>") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
A more stern alternative to {{tl|notice}}. | A more stern alternative to {{tl|notice}}. | ||
== Usage == | |||
{{tlx|warning|TEXT}} | |||
or if you want to change the size of the stop hand icon: | |||
{{tlx|warning|TEXT|##px}} or {{tlx|warning|image_size=##px|TEXT}} | |||
The stop hand icon defaults to 30px. | |||
== Examples == | |||
{{tlx|warning|Look out for falling rocks}} | |||
''makes'' | |||
{{warning|Look out for falling rocks}} | |||
{{tlx|warning|Look out for falling rocks|50px}} | |||
''makes'' | |||
{{warning|Look out for falling rocks|50px}} | |||
{{tlx|warning|image_size=50px|Look out for falling rocks}} | |||
''makes'' | |||
{{warning|image_size=50px|Look out for falling rocks}} | |||
<includeonly> | <includeonly> | ||
[[Category:Template messages]] | [[Category:Template messages]] | ||
</includeonly> | </includeonly> |
Latest revision as of 21:34, 9 September 2015
A more stern alternative to {{notice}}.
Usage
{{warning|TEXT}}
or if you want to change the size of the stop hand icon:
{{warning|TEXT|##px}} or {{warning|image_size=##px|TEXT}}
The stop hand icon defaults to 30px.
Examples
{{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 |
{{warning|image_size=50px|Look out for falling rocks}}
makes
Look out for falling rocks |