Fyrimynd:Resize

Frá Wikipedia, hin frælsa alfrøðin
Far til: navigatión, leita

{{{1}}}

[view] [edit]Template-info.svg Template documentation
This template is a tailored shortcut to {{resize}}.

Tailored shortcuts[rætta wikitekst]

Named alternatives
{{small|…}} = {{resize|85%|…}}
{{smaller|…}} = {{resize|90%|…}}
{{larger|…}}
{{bigger|…}}
= {{resize|110%|…}}
{{big|…}} = {{resize|120%|…}}
{{large|…}} = {{resize|large|…}}

See also[rætta wikitekst]

  • {{huge}} for diacritic marks only; similar to {{big}} but considerably larger and also compensates for vertical alignment.
  • {{color}} to add a span of text with a given foreground color.
  • {{background color}} or {{background}} to add a span of text with a given background color.

TemplateData[rætta wikitekst]

Hetta er TemplateData dokumentatiónin fyri hesa fyrimynd, ið verður brúkt av VisualEditor og øðrum tólum.

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

Default
empty
Example
empty
Auto value
empty
Stringrequired
Text when size is given2

The text to display in the two parameter version.

Default
empty
Example
empty
Auto value
empty
Stringoptional