Fyrimynd:Resize
Appearance
{{{1}}}
Henda fyrimynd eigur ikki at verða nýtt í sitat-fyrimyndum sum t.d. Citation Style 1 og Citation Style 2, av tí at tað inniheldur merking ið oyðileggur COinS metadata, ið tey framleiða; sí COinS in Wikipedia. |
This template is a tailored shortcut to {{resize}}.
Tailored shortcuts
[rætta wikitekst]{{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.
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 |