Ta‌̱mpi‌̱let:Resize/doc/main

Neet di̱ Wikipedia
It is to change the font size of a text string.

Usage[jhyuk a̱tyin ka]

Beware[jhyuk a̱tyin ka]

Ta‌̱mpi‌̱let:Red that if text happens to contain an equality sign (=), it will fail to render properly. Here are the workarounds:

  1. Replace all instances of = with {{=}}, or
  2. Specify {{resize|N|2=text}} or {{resize|1=text}}.

Also it will fail to wrap multiple blocks, such as multiple paragraphs or multiple bullet points. Here are the workarounds:

  1. Use, for example,
    <div style="font-size:90%;">
    ...multiple paragraphs...
    </div>, or
  2. Apply this template separately to each block of paragraph, bullet point etc.
  3. Use {{resize|div=yes}}.
  4. Use {{smalldiv}}.

Examples[jhyuk a̱tyin ka]

Code Result
Ta‌̱mpi‌̱let:Tc This text defaults to 90% normal size.
Ta‌̱mpi‌̱let:Tc This text is 80% normal size.
Ta‌̱mpi‌̱let:Tc This text is 0.2em larger than normal.
{{resize|We know 1+1=2 and 2+2=4. It will fail to render}} {{{1}}}
{{resize|We know 1+1{{=}}2 and 2+2{{=}}4.}} We know 1+1=2 and 2+2=4.
{{resize|1=We know 1+1=2 and 2+2=4.}} We know 1+1=2 and 2+2=4.
{{resize|120%|2=We know 1+1=2 and 2+2=4. This text is 120% normal size.}} We know 1+1=2 and 2+2=4. This text is 120% normal size.