Template:Float: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(Update from sandbox (implements {{float|left|...}}))
(more compressed code)
Line 1: Line 1:
<includeonly><!--
<includeonly><div style="position:relative;text-align:left;"><!--
--><div style="position:relative;text-align:left;"><!--
--><div style="width:{{{width|}}};position:absolute;
top:{{{top|0}}};right:{{{right|0}}};bottom:{{{bottom|}}};left:{{{left|}}};
--><div style="width:{{{width|}}};
position:absolute;
{{#if:{{{2|}}} |{{#ifeq:{{{1}}}|left |left:0;}}}}"><!--
-->{{#if:{{{2|}}} |{{{2}}} |{{{1|{{color|red|'''Error: Parameter missing''' {{smaller|([[Template:Float]])}}}}}}} }}<!--
top:{{{top|0}}};right:{{{right|0}}}; <!---(i.e. the default {{float|item}} floats item on righthand side)--->
--></div></div><!--
bottom:{{{bottom|}}}; left:{{{left|}}};
{{#if:{{{2|}}} |{{#ifeq:{{{1}}}|left |left:0;}} }} <!---(i.e. {{float|left|item}} floats item on lefthand side)---><!--
-->"><!--
-->{{#if:{{{2|}}} |{{{2}}} |{{{1|{{color|red|'''Error: Parameter missing''' {{90%|([[Template:Float]])}}}}}}} }}<!--
--></div><!--
--></div><!--
--></includeonly><noinclude>{{Documentation}}</noinclude>
--></includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 10:07, 23 November 2014