ഫലകം:Smaller block

വിക്കിഗ്രന്ഥശാല സംരംഭത്തിൽ നിന്ന്
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[തിരുത്തുക]

General form[തിരുത്തുക]

This template renders one or more blocks of text in the respective smaller or larger font.

e.g. {{Smaller block|{{lorem ipsum}}}} yields

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.

To modify the size of a few words within a block of text, use the appropriate inline template (<span>)—this will modify the span without breaking up the text, and without interfering in block-level properties like line spacing.

As open and close tags[തിരുത്തുക]

This template is also available in an open and close format where the <div> needs to span a page break in the Page namespace.

Example

{{Smaller block/s}}{{lorem ipsum}}{{lorem ipsum}}{{Smaller block/e}} yields

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.

See also[തിരുത്തുക]

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=ഫലകം:Smaller_block&oldid=73196" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്