Template:Large/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

This template renders the text in the first parameter, |1=, at 120% of the size at which it would otherwise display.

Comparison

Font size templates
Code for inline content Code for block content Size Result
{{small|text}}
{{smaller|text}}
{{smalldiv|text}} 85% text
{{resize|text}} {{resizediv|text}} 90% text
{{midsize|text}} 92% text
none none 100% text
{{large|text}}
{{larger|text}}
{{big|text}}
{{largediv|text}} 120% text
{{huge|text}} 180% text
{{resize|x%|text}} {{resizediv|x%|text}} custom varies
{{font|size=x%}} custom varies

See also

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Large in articles based on its TemplateData.

TemplateData for Large

<templatedata> {

 "description": "Resizes text so it is in the css-'large' size.",
 "params": {
   "1": {
     "label": "Text",
     "description": "The text to display",
     "type": "string",
     "required": true
   }
 }

} </templatedata>