Template:Resizediv/doc
Kaonekelo
This is a documentation subpage for Template:Resizediv. It may contain usage information, categories and other content that is not part of the original template page. |
Use this template instead of {{resize}} to wrap multiple lines of text, or to wrap a template that contains <div>...</div>
tags.
Usage
[kulemba source]{{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
[kulemba source]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
[kulemba source]