Template:Resize/TemplateData

From The Kodiak Republic Wiki

Revision as of 03:02, 20 May 2023 by Silmjlc (talk | contribs) (Created page with "== TemplateData == {{TemplateData header}} <templatedata>{ "description": "It is to change the font size of a text string. Two forms {{resize|<size>|<text>}} and {{resize|<text>}} are possible.", "params": { "1": { "label": "Size/Text", "description": "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%'.", "type": "string", "required": t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Resize

It is to change the font size of a text string. Two forms {{resize|<size>|<text>}} and {{resize|<text>}} are possible.

Template parameters[Edit template data]

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
Use div tagdiv

Set to yes to use a div instead of a span tag.

Stringoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.