Template:Float: Difference between revisions

390 bytes added ,  9 years ago
Update from sandbox (implements {{float|left|...}})
(Undid revision 528227136 by Ahnoneemoos (talk))
(Update from sandbox (implements {{float|left|...}}))
Line 1:
<includeonly><!--
<includeonly><div style="text-align:left; position:relative;"><div style="position:absolute; top:{{{top|0}}}; right:{{{right|0}}}; bottom:{{{bottom|}}}; left:{{{left|}}};{{#if: {{{width|}}} | width:{{{width}}}; |}}">{{{1|''Error: Parameter missing (Template:Float)''}}}</div></div></includeonly><noinclude>
--><div style="position:relative;text-align:left;"><!--
{{documentation}}
--><div style="width:{{{width|}}};
</noinclude>
position:absolute;
top:{{{top|0}}};right:{{{right|0}}}; <!---(i.e. the default {{float|item}} floats item on righthand side)--->
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>