Template:Resize

Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:Resize/doc.

Template to aid switching the font-size used for a text string.

Syntax

{{resize|N|text}}  or  {{resize|text}}
N specifies a size, such as "90%", "1.2em", etc. For the default case (the second above), N is set to "90%".

Examples
{{resize|1.2em|This text is 0.2em larger than normal}}    This text is 0.2em larger than normal
{{resize|80%|This text is 80% normal size}} This text is 80% normal size
{{resize|This text defaults to 90% normal size}} This text defaults to 90% normal size

Alternate

See also

Text formatting templates
Code exampleRenders asNotes Code exampleRenders asNotes
X{{Exp|superscript text}}Xsuperscript textWarning sign Don't use {{Sup}} which links to {{Support}} X{{Smallsup|small superscript text}}Xsmall superscript textwith smaller text
X{{Sub|subscript text}}Xsubscript text X{{Smallsub|small subscript text}}Xsmall subscript textwith smaller text
X{{Sup sub|superscript|subscript}}Xsuperscriptsubscriptwith smaller text
X{{Big|big text}}Xbig text X{{Small|small text}}Xsmall textFont size 85%
X{{Font-size|120%|font-size 120%}}Xfont-size 120%← could maybe be merged → X{{Resize|120%|font-size 120%}}Xfont-size 120%
X{{Overline|overlined}}Xoverlined
X{{Explain|term|explanation}}Xterm
X{{Mark|marked text}}Xmarked textSame color as used in diffs. X{{Highlight|highlighted text|#FF0|green}}Xhighlighted textMultiple format parameters possible
X{{Small-caps|Small capitals}}XSmall capitals
X<kbd>­teletype</kbd>XteletypeTags, not a template yet(en) (but used in e.g. {{Tld}}) X<code>­code</code>XcodeTags, not a template yet(en) (but used in e.g. {{Tlc}})
Note: The capital X in front of each template is used to compare the results to plain text. Category:Text formatting templates#Resize
Category:Text formatting templates