Template:Large

From Safer nicotine wiki

{{{1}}}

Template documentation[view] [edit] [history] [purge]
This template is a tailored shortcut to {{resize}}.

Comparison

List of Resize Shortcuts
Code Equivalent Result
{{smaller|text}} Lua error in Module:Template_link_general at line 144: attempt to concatenate local 'titlePart' (a nil value). text
{{larger|text}} Lua error in Module:Template_link_general at line 144: attempt to concatenate local 'titlePart' (a nil value). text
{{large|text}} Lua error in Module:Template_link_general at line 144: attempt to concatenate local 'titlePart' (a nil value). text
Font size templates
Code Size Semantics Result
{{small|text}} 85% ‎<small> text
{{smaller|text}} 90% none text
{{resize|text}} 90% none text
{{midsize|text}} 92% none text
none 100% none text
{{larger|text}} 110% none text
{{big|text}} 120% ‎<big> text
{{large|text}} 125% none text
{{huge|text}} 180% none text
{{resize|x%}} custom none varies
{{font|size=x%}} custom none varies

See also

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Large

It is to change the font size of 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
Use div tagdiv

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

Stringoptional

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Large

Resizes text so it is in the css-'large' size.

Template parameters

ParameterDescriptionTypeStatus
Text1

The text to display

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