Difference between revisions of "Template:Resize"

From Timelines
Jump to: navigation, search
(rephrasing following move, +Examples)
m (moved Template:Size to Template:Resize: Revert previous move; the effect of the template is to -re-size text.)
(No difference)

Revision as of 20:02, 4 November 2006

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