Template:Small/doc: Difference between revisions
(Undid revision 366972233 by Rich Farmbrough (talk)) |
(+cat Wikipedia XHTML tag replacing templates) |
||
Line 4: | Line 4: | ||
==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}}. | ||
:Thus <nowiki>{{small|1=3 + 2 = 5}}</nowiki> produces {{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}}]] | ||
[[Category:Wikipedia XHTML tag replacing templates]] | |||
[[ar:قالب:صغير]] | [[ar:قالب:صغير]] |
Revision as of 19:08, 17 March 2012
{{#invoke:Message box|mbox}}
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