Template:DoubleHeightRow
Appearance
This template is used on approximately 174,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template uses block elements, e.g. See H:DIVSPAN for details. |
Usage
[edit]Use anywhere to substitute two or more text rows between paragraphs, or increase space above and below a graphical object like {{rule}} which has no line height. The default height is 100% (equivalent to 1.4em in the default Vector theme) and this can be changed optionally, indicated in the table below.
Paragraph end {{Dhr}} {{rule|4em}} {{Dhr}} Paragraph begin
Lorem ipsum dolor sit amet, . . .
Curabitur pretium tincidunt lacus. . . .
|
Markup | Result |
---|---|
None | Lorem ipsum dolor sit amet, . . .
Curabitur pretium tincidunt lacus. . . . |
{{Dhr}} | Lorem ipsum dolor sit amet, . . . Curabitur pretium tincidunt lacus. . . . |
{{Dhr|110%}} | Lorem ipsum dolor sit amet, . . . Curabitur pretium tincidunt lacus. . . . |
{{Dhr|height=200%}} | Lorem ipsum dolor sit amet, . . . Curabitur pretium tincidunt lacus. . . . |
{{Dhr|3em}} | Lorem ipsum dolor sit amet, . . . Curabitur pretium tincidunt lacus. . . . |
Template data
[edit]Add vertical space to a page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
height | height 1 | line height
| String | optional |