Template:Float: Difference between revisions

280 bytes removed ,  15 years ago
re-simplifying; for values other than 0, 'top' and 'bottom' need specifying
m (Undid revision 218398602 by Sardanaphalus (talk))
(re-simplifying; for values other than 0, 'top' and 'bottom' need specifying)
Line 1:
<includeonly><div --style="position:relative;"><div style="position:absolute; top:{{{top|0}}}; right:{{{right|0}}}; bottom:{{{bottom|}}}; left:{{{left|}}};">{{{1|''Error: Parameter missing (Template:Float)''}}}<!--/div></div></includeonly><noinclude>
<includeonly><div style="position:relative;"><!--
-->{{#if:{{{2}}}
|<!--More than one parameter, so non-default positioning:
--><div style="position:absolute; top:{{{top|}}}; right:{{{right|}}}; bottom:{{{bottom|}}}; left:{{{left|}}};"><!--
-->|<!--Only one parameter, so use default positioning (top:0; right:0;):
--><div style="position:absolute; top:0; right:0;"><!--
-->}}{{{1|''Error: Parameter missing (Template:Float)''}}}<!--
--></div><!--
--></div></includeonly><noinclude>
{{documentation}}
</noinclude>