Template:Resize: Difference between revisions

corrections
imported>David Kernow
(created template)
 
imported>David Kernow
(corrections)
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><nowiki>{{resize</nowiki>|''N''|''text''}}</code>&nbsp; or &nbsp;<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%".
Anonymous user