Template:Warning/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 16: Line 16:




{{tlx|warning|image_size=50px|Look out for falling rocks}}
{{tlx|warning|Look out for falling rocks|50px}}


''makes''
''makes''


{{warning|image_size=50px|Look out for falling rocks}}
{{warning|Look out for falling rocks|50px}}








{{tlx|warning|Look out for falling rocks|50px}}
{{tlx|warning|image_size=50px|Look out for falling rocks}}


''makes''
''makes''


{{warning|Look out for falling rocks|50px}}
{{warning|image_size=50px|Look out for falling rocks}}
 


<includeonly>
<includeonly>
[[Category:Template messages]]
[[Category:Template messages]]
</includeonly>
</includeonly>

Revision as of 21:32, 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

Stop hand.png Look out for falling rocks



{{warning|Look out for falling rocks|50px}}

makes

Stop hand.png Look out for falling rocks



{{warning|image_size=50px|Look out for falling rocks}}

makes

Stop hand.png Look out for falling rocks