Template:Small/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(correct sizing documentation)
(resize)
Line 7: Line 7:


== See also ==
== See also ==
*{{tl|big}} - Same idea, but larger instead of smaller. A shortcut for <code><nowiki><big>...</big></nowiki></code>
*{{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|huge}} - for diacritic marks only; similar to {{tl|big}} but considerably larger, and compensates for vertical alignment.
*{{tl|smaller}} - Not quite as small as {{tl|small}}
*{{tl|resize}} - generic resizing
*{{tl|larger}} - Not quite as large as {{tl|big}}
*{{tl|smaller}} - not quite as small as {{tl|small}}
*{{tl|large}} - Simply large
*{{tl|larger}} - not quite as large as {{tl|big}}
*{{tl|large}} - simply large


<includeonly>
<includeonly>

Revision as of 15:57, 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.
  • {{resize}} - generic resizing
  • {{smaller}} - not quite as small as {{small}}
  • {{larger}} - not quite as large as {{big}}
  • {{large}} - simply large