Template:Resize: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
imported>David Kernow m (moved Template:Resize to Template:Size: More succinct.) |
m (2 revisions imported from wikipedia:Template:Resize) |
||
(26 intermediate revisions by 18 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{2|}}} |
{{safesubst<noinclude />:#if:{{{2|}}} |
||
| |
|<span style="font-size:{{{1|}}};">{{{2|}}}</span> |
||
| |
|<span style="font-size:90%;">{{{1}}}</span> |
||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation}} |
|||
Template to aid switching font-size for a string of text. |
|||
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> |
|||
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%". |
|||
</noinclude> |
</noinclude> |