Template:Resize: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(created template) |
(corrections) |
||
Line 1: | Line 1: | ||
{{#if:{{{2|}}} |
|||
{{#if:{{{2}}}|<!--then:--><span style="font-size:{{{1}}};">{{{2}}}</span>|<!--else:--><span style="font-size:90%;">{{{1}}}</span>}}<noinclude> |
|||
| <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%". |