ഫലകം:Fine block
ഘടകം:Documentation/styles.css താളിൽ ഉള്ളടക്കം ഒന്നുമില്ല.
Usage
തിരുത്തുകGeneral form
തിരുത്തുകThis template renders one or more blocks of text in the respective smaller or larger font.
e.g. {{Fine 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.
- {{Fine block/s}} to open
- {{Fine block/e}} to close
- Example
{{Fine block/s}}{{lorem ipsum}}{{lorem ipsum}}{{Fine block/e}}
yields
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 |