Template:Small/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(+cat Wikipedia XHTML tag replacing templates)
(see also)
Line 5: Line 5:
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}}.  
:Thus <nowiki>{{small|1=3 + 2 = 5}}</nowiki> produces {{small|1=3 + 2 = 5}}
:Thus <nowiki>{{small|1=3 + 2 = 5}}</nowiki> produces {{small|1=3 + 2 = 5}}
== See also ==
*{{tl|big}} - Same idea, but larger instead of smaller. A shortcut for <code><nowiki><big>...</big></nowiki></code>
*{{tl|huge}} - for diacritic marks only; similar to {{tl|big}} but considerably larger, and compensates for vertical alignment.
*{{tl|smaller}} - Even smaller than {{tl|small}}
*{{tl|larger}} - Even larger than {{tl|big}}
*{{tl|large}} - Simply large


<includeonly>
<includeonly>

Revision as of 15:22, 18 March 2012


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

See also

  • {{big}} - Same idea, but larger instead of smaller. A shortcut for <big>...</big>
  • {{huge}} - for diacritic marks only; similar to {{big}} but considerably larger, and compensates for vertical alignment.
  • {{smaller}} - Even smaller than {{small}}
  • {{larger}} - Even larger than {{big}}
  • {{large}} - Simply large