Template:Warning/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Ned Scott (talk | contribs)
Ned Scott (talk | contribs)
No edit summary
Line 2: Line 2:


== Usage ==
== Usage ==
{{tlx|warning|image_size|TEXT}}
{{tlx|warning|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.
or if you want to change the size of the stop hand icon:
 
{{tlx|warning|image_size&#61;##px|TEXT}} or {{tlx|warning|TEXT|##px}}
 
The stop hand icon defaults to 30px.


== Examples ==
== Examples ==

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|image_size=##px|TEXT}} or {{warning|TEXT|##px}}

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