Changes

copied from en.wiki to make Horizontal templates possible. English wiki has a bunch of tool templates. we shall not have just a few of them.
{{#ifeq:{{{hide|no}}}|no|{{#ifeq:{{lc:{{{width}}}}}|{{{width}}}|<!--If they're NOT equal, we've probably got an expression error
-->{{#ifeq:{{{width|0}}}|0||<!--Catches unspecified parameters and zero-length bars.

Spacer -->{{{spacer|<div style="float:left; height:100%; width:0.1%; background-color:black; border-top:{{{top}}}; border-bottom:{{{bottom}}}; padding-top:{{#expr:({{{height}}}-1)/2}}em;">&ensp;</div>}}}<!--

Colour --><div style="float:left; height:100%; text-align:center; background-color:{{{col}}}; width:{{#expr:{{{width}}}-0{{{spacer-width|{{{spacer|.2}}}}}}}}%; border-top:{{{top}}}; border-bottom:{{{bottom}}}; padding-top:{{#expr:({{{height}}}-1)/2}}em;">{{{text|}}}</div>{{{spacer|<!--

Spacer --><div style="float:left; height:100%; width:0.1%; background-color:black; border-top:{{{top}}}; border-bottom:{{{bottom}}}; padding-top:{{#expr:({{{height}}}-1)/2}}em;">&ensp;</div>}}}}}}}}}<noinclude>{{documentation}}</noinclude>
Anonymous user