𐍆𐌰𐌿𐍂𐌰𐌼𐌴𐌻𐌴𐌹𐌽𐍃:Resize

𐍆𐍂𐌰𐌼 Wikipedia
Jump to navigation Jump to search

{{{1}}}

A template to aid switching the font-size used for a text string.

Syntax[𐌹𐌽𐌼𐌰𐌹𐌳𐌴𐌹]

{{ 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 Resize

Template to aid switching the font-size used for a text string. Two forms {{Resize|<size>|<text>}} and {{Resize|<text>}} are possible.

Template parameters

ParameterDescriptionTypeStatus
Size/Text1

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%'.

Stringrequired
Text when size is given2

The text to display in the two parameter version.

Stringoptional