Template:Large/doc
| This is a documentation subpage for Template:Large. It may contain usage information, categories and other content that is not part of the original template page. |
| This template, module and/or subpages are based on or ported over completely to BattleTechWiki, using the Creative Commons Licensed content from this page on Wikipedia (The original authors of this page are shown on here). |
This template renders the text in the first parameter, |1=, at 120% of the size at which it would otherwise display.
Comparison[edit]
| 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}} |
{{midsizediv|text}} |
92% | text |
| — | — | 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[edit]
- Category:Resizing templates
- {{smalldiv}}, for wrapping multiple lines of text that cause syntax errors when wrapped by {{resize}} or {{small}}
- font-size - CSS: Cascading Style Sheets | Mozilla Developer Network
TemplateData[edit]
TemplateData for Large
Resizes text so it is in the css-'large' size.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The text to display | String | required |

