Template:Small/doc: Difference between revisions
(resize) |
(shortcut) |
||
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 is shortcut for <code><nowiki><small>...</small></nowiki></code> and 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}} | ||
Revision as of 08:05, 18 March 2012
{{#invoke:Message box|mbox}}
Usage
This template is shortcut for <small>...</small>
and 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