A template to aid switching the font-size used for a text string.
- REDIRECT Template:Template link code
| This page is a redirect. The following categories are used to track and monitor this redirect:
- From a shortcut: This is a redirect from a shortcut in any namespace to a page in any namespace except template namespace.
- Shortcuts are wikilinked on community pages, talk pages, and edit summaries, but not in mainspace articles.
Template:R from high-use template
- From a page move: This is a redirect from a page that has been moved (renamed) or is the result of a page move. One reason this page was kept as a redirect is to avoid breaking links, both internal and external, that may have been made to the old page name. Any redirect with a page move logged on its history page should be tagged with this rcat template.
When appropriate, protection levels are automatically sensed, described and categorized. |
{{resize|text}}
N specifies a size, such as "95%", "1.2em", etc. If N is omitted, as in the second line above, a default 90% size is applied.
If text
happens to contain an equality sign ("="), specify {{resize|N|2=text}} or {{resize|1=text}}.
Examples[edit]
{{resize|1.2em|This text is 0.2em larger than normal.}} |
This text is 0.2em larger than normal.
|
{{resize|80%|This text is 80% normal size.}} |
This text is 80% normal size.
|
{{resize|This text defaults to 90% normal size.}} |
This text defaults to 90% normal size.
|
Tailored shortcuts[edit]
Named alternatives
{{smaller|…}} |
= |
{{resize|90%|…}}
|
{{larger|…}} {{bigger|…}} |
= |
{{resize|110%|…}}
|
{{large|…}} |
= |
{{resize|large|…}}
|
See also[edit]
Font size templates
Template |
Size |
Semantics |
Sample
|
{{small}} |
85% |
<small> |
HHHHH
|
{{smaller}} |
90% |
none |
HHHHH
|
{{resize}} |
90% |
none |
HHHHH
|
{{midsize}} |
92% |
none |
HHHHH
|
none |
100% |
none |
HHHHH
|
{{larger}} |
110% |
none |
HHHHH
|
{{big}} |
120% |
none |
HHHHH
|
{{large}} |
large |
none |
HHHHH
|
{{huge}} |
180% |
none |
HHHHH
|
{{resize|x%}} |
custom |
none |
|
{{font|size=x%}} |
custom |
none |
|
External Link[edit]