Difference between revisions of "Template:Bar gap"

From blackwiki
Jump to navigation Jump to search
imported>Alexiscoutinho
(Allowed for units to be passed in 'height')
imported>Alexiscoutinho
(Added conditions to allow the omission of the 'height' unit)
Line 1: Line 1:
 
<includeonly><tr>
 
<includeonly><tr>
<td colspan="5" style="height:{{{height|10px}}}">{{{1|}}}</td>
+
<td colspan="5" style="height:{{#iferror:{{#expr:{{{height|}}}}}|{{{height}}}|{{#if:{{{height|}}}|{{{height}}}px|10px}}}}">{{{1|}}}</td>
 
</tr></includeonly><noinclude>
 
</tr></includeonly><noinclude>
Use with {{tl|bar box}}
+
Use with {{tl|Bar box}}
 
[[Category:Bar chart templates]]
 
[[Category:Bar chart templates]]
 
</noinclude>
 
</noinclude>

Revision as of 01:20, 13 March 2020

Use with {{Bar box}}