Template:Larger

From wiki.filipefonseca.pt
Jump to navigation Jump to search

{{{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}} 90%|text}} text
{{larger|text}} 110%|text}} text
{{large|text}} large|text}} 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% none text
{{large|text}} large 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; see the monthly parameter usage report for this template.

TemplateData for Larger

<templatedata>{

 "description": "It is to change the font size of a text string. Two forms <span style="font-size:<size>;"><text> and <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": true
   },
   "2": {
     "label": "Text when size is given",
     "description": "The text to display in the two parameter version.",
     "type": "string",
     "required": false
   }
 }

} </templatedata>

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Larger

<templatedata> {

 "description": "Resizes text by 110%",
 "params": {
   "1": {
     "label": "Text",
     "description": "The text to display",
     "type": "string",
     "required": true
   }
 }

} </templatedata>