Template:Resize

From Timelines
Revision as of 18:58, 4 November 2006 by David Kernow (talk) (rephrasing following move, +Examples)
Jump to: navigation, search

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


Syntax

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


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