Template:Resize: Difference between revisions
(created template) |
(corrections) |
||
Line 1: | Line 1: | ||
{{#if:{{{2}}}| | {{#if:{{{2|}}} | ||
| <span style="font-size:{{{1|}}};">{{{2|}}}</span> | |||
| <span style="font-size:90%;">{{{1|}}}</span> | |||
}}<noinclude> | |||
; Syntax : <code>{{resize|''N''|''text''}}</code> or <code>{{resize|''text''}}</code> | ; 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 04:24, 2 November 2006
- 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%".