Template:Resizediv
{{{1}}}
Use this template instead of {{resize}} to wrap multiple lines of text, or to wrap a template that contains <div>...</div>
tags.
Usage[edit]
{{resizediv|N|text}}
— N specifies a size, such as "95%", "1.2em", etc.{{resizediv|text}}
— If N is omitted, as in the second line above, a default 90% size is applied.
Beware[edit]
Beware that if text
happens to contain an equality sign (=
), it will fail to render properly. Here are the workarounds:
- Replace all instances of
=
with{{}}
, or - Specify
{{resizediv|N|2=text}}
or{{resizediv|1=text}}
.
See also[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 |