ðð°ð¿ðð°ðŒðŽð»ðŽð¹ðœð:Resize
{{{1}}}
A template to aid switching the font-size used for a text string.
{{âresizeâ|âsizeâ|âtextâ}}{{âresizeâ|âtextâ}}
size specifies a size, such as "95%", "1.2em", etc. If size is omitted, as in the second line above, a default 90% size is applied.
If text happens to contain an equality sign ("="), specify {{resize|size|2=text}} or {{resize|1=text}}.
Examples
[ð¹ðœðŒð°ð¹ð³ðŸð°ðœ]{{âresizeâ|â1.2emâ|âThis text is 0.2em larger than normal.â}} | This text is 0.2em larger than normal. |
{{âResizeâ|â80%â|âThis text is 80% normal size.â}} | This text is 80% normal size. |
{{âResizeâ|âThis text defaults to 90% normal size.â}} | This text defaults to 90% normal size. |
Tailored shortcuts
[ð¹ðœðŒð°ð¹ð³ðŸð°ðœ]ðð°ð¿ðð°ðŒðŽð»ðŽð¹ðœð:Resize shortcuts
See also
[ð¹ðœðŒð°ð¹ð³ðŸð°ðœ]ðð°ð¿ðð°ðŒðŽð»ðŽð¹ðœð:Font size templates
External Link
[ð¹ðœðŒð°ð¹ð³ðŸð°ðœ]TemplateData
[ð¹ðœðŒð°ð¹ð³ðŸð°ðœ]This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for ResizeTemplate to aid switching the font-size used for a text string. Two forms {{Resize|<size>|<text>}} and {{Resize|<text>}} are possible.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Size/Text | 1 | Specifies a css font size e.g. '80%', '1.2em', 'x-large', 'larger'. In the one parameter version the first parameter is the text and the font size is '90%'. | String | required |
| Text when size is given | 2 | The text to display in the two parameter version. | String | optional |