வார்ப்புரு:Line-height2/s
Appearance
This template uses block elements, e.g. See H:DIVSPAN for details. |
Notes
[தொகு]- Template to set the user defined line height of a block of text, spanning one or more paragraphs, and padding the top and the bottom of the block by .50em.
- The standard line height of text on this Wiki is 140% and not 100%!
- Text must be enclosed terminated with the {{line-height2/e}} or {{lh2/e}} template.
- This template is based on <div> tag.
- The {{line-height}} template is based on the <span> tag, which does not span multiple paragraphs, and the template does not function with parameters that are less than the standard line height.
- Usage
{{Line-height2/s|125%}}{{lorem ipsum}}{{Line-height2/e}} OR matching shortcut: {{lh2/s|125%}}{{lorem ipsum}}{{lh2/e}}
{{line-height2/s|125%}} | OR | {{lh2/s|125%}} |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
- See also
{{line-height}}