Difference between revisions of "Template:HLine"
Jump to navigation
Jump to search
(fixed spelling of opening <noinclude>) |
(added forgotten {{ and }} around #expr) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#ifexpr:{{#var:_nm_lineHeight}} | {{#ifexpr:{{#var:_nm_lineHeight}}>0 | ||
|{{#vardefine:_nm_lineHeight|#expr:{{#var:_nm_lineHeight}}+1}}</span> | |{{#vardefine:_nm_lineHeight|{{#expr:{{#var:_nm_lineHeight}}+1}}}}</span> | ||
|{{#vardefine:_nm_lineHeight|#expr:{{#var:_nm_lineHeight}}-1}}<span style="line-height:{{{1|1.4em}}}"> | |{{#vardefine:_nm_lineHeight|{{#expr:{{#var:_nm_lineHeight}}-1}}}}<span style="line-height:{{{1|1.4em}}}"> | ||
}} | }} | ||
</includeonly><noinclude>Used to start/end a line height adjust.</noinclude> | </includeonly><noinclude>Used to start/end a line height adjust.</noinclude> |
Revision as of 18:15, 4 October 2008
Used to start/end a line height adjust.