Difference between revisions of "Template:Resize"
From Timelines
(corrections) |
(+description) |
||
Line 3: | Line 3: | ||
| <span style="font-size:90%;">{{{1|}}}</span> | | <span style="font-size:90%;">{{{1|}}}</span> | ||
}}<noinclude> | }}<noinclude> | ||
+ | Template to aid switching font-size for a string of text. | ||
− | + | Syntax: <code><nowiki>{{resize</nowiki>|''N''|''text''}}</code> or <code><nowiki>{{resize</nowiki>|''text''}}</code> | |
− | |||
''N'' specifies a size, such as "90%", "1.2em", etc. For the default case (the second above), ''N'' is set to "90%". | ''N'' specifies a size, such as "90%", "1.2em", etc. For the default case (the second above), ''N'' is set to "90%". | ||
</noinclude> | </noinclude> |
Revision as of 20:26, 1 November 2006
Template to aid switching font-size for a string of text.
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%".