Template:Resize: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
imported>David Kernow (created template) |
m (2 revisions imported from wikipedia:Template:Resize) |
||
(29 intermediate revisions by 18 users not shown) | |||
Line 1: | Line 1: | ||
{{safesubst<noinclude />:#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> |
|||
{{Documentation}} |
|||
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> |
|||
''N'' specifies a size, such as "90%", "1.2em", etc. For the default case (the second above), ''N'' is set to "90%". |
|||
</noinclude> |
</noinclude> |