Template:Small/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Documentation subpage per edit protected request to associated template)
 
(tlx was not working and this is more informative I think)
Line 3: Line 3:


==Usage==
==Usage==
This template makes the font smaller. It takes one parameter: The text to shrink. The parameter may contain templates, images, etc., if a block needs to be wrapped in this template and contains such elements.  Note that if the <code>=</code> character appears in the text, the parameter must be explicitly specified as {{para|1}}:
This template makes the font smaller. It takes one parameter: The text to shrink. The parameter may contain templates, images, etc., if a block needs to be wrapped in this template and contains such elements.  Note that if the <code>=</code> character appears in the text, the parameter must be explicitly specified as {{para|1}}.
:{{tlx|small|1=3 + 2 = 5}}<includeonly>
:Thus <nowiki>{{small|1=3 + 2 = 5}}</nowiki> produces {{small|1=3 + 2 = 5}}<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]

Revision as of 04:41, 19 February 2009


Usage

This template makes the font smaller. It takes one parameter: The text to shrink. The parameter may contain templates, images, etc., if a block needs to be wrapped in this template and contains such elements. Note that if the = character appears in the text, the parameter must be explicitly specified as |1=.

Thus {{small|1=3 + 2 = 5}} produces 3 + 2 = 5