This template simplifies formatting text that has a specified font-size.

{{font-size|150%|font-size}}
  • sizes expressed as a percentage or in 'em' will give the best results
  • if the text being resized contains an equal sign it needs to be written as {{=}}

All Wikisource 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.

Inline template Block template വലിപ്പം ഉദാഹരണം
{{xx-smaller}} {{xx-smaller block}} 58% ഹരിശ്രീ ഗണപതയേ നമഃ
{{x-smaller}} {{x-smaller block}} 69% ഹരിശ്രീ ഗണപതയേ നമഃ
{{smaller}} {{smaller block}} 83% ഹരിശ്രീ ഗണപതയേ നമഃ
{{fine block}} 92%

ഹരിശ്രീ ഗണപതയേ നമഃ

100% ഹരിശ്രീ ഗണപതയേ നമഃ
{{larger}} {{larger block}} 120% ഹരിശ്രീ ഗണപതയേ നമഃ
{{x-larger}} {{x-larger block}} 144% ഹരിശ്രീ ഗണപതയേ നമഃ
{{xx-larger}} {{xx-larger block}} 182% ഹരിശ്രീ ഗണപതയേ നമഃ
{{xxx-larger}} {{xxx-larger block}} 207% ഹരിശ്രീ ഗണപതയേ നമഃ
{{xxxx-larger}} {{xxxx-larger block}} 249% ഹരിശ്രീ ഗണപതയേ നമഃ
Size elements
{{font-size}} manual text scaling
{{font-size-x}} also scales line height



"https://ml.wikisource.org/w/index.php?title=ഫലകം:Font-size/doc&oldid=202174" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്