More actions
Template documentation
Usage
- This template simplifies formatting text that is Larger.
- Simply copy/type the following code
{{larger|text here}}
for smaller text that 120% normal size. - Note that the template doesn't seem to handle the equals character "=", use {{=}} for equals instead.
See also
These size templates are relative to the default size. There are two kinds of sizing template: inline and block templates. Inline templates are suitable for use within a paragraph, but can't handle paragraph breaks, and do not adjust line spacing. Block templates can handle paragraph breaks, and adjust line spacing, but are not suitable for use within a paragraph, as they will cause a paragraph break.
Please note: None of these fonts have proportional line height to the font size. Line height is only relevant with fonts smaller than 100%.
Inline template | Size | Sample |
---|---|---|
{{xxx-smaller}} | 58% | Lorem ipsum dolor sit amet |
{{xx-smaller}} | 69% | Lorem ipsum dolor sit amet |
{{x-smaller}} | 83% | Lorem ipsum dolor sit amet |
{{smaller}} | 92% | Lorem ipsum dolor sit amet |
— | 100% | Lorem ipsum dolor sit amet |
{{larger}} | 120% | Lorem ipsum dolor sit amet |
{{x-larger}} | 144% | Lorem ipsum dolor sit amet |
{{xx-larger}} | 182% | Lorem ipsum dolor sit amet |
{{xxx-larger}} | 207% | Lorem ipsum dolor sit amet |
{{xxxx-larger}} | 249% | Lorem ipsum dolor sit amet |
The above documentation is transcluded from Template:Larger/doc.