Difference between revisions of "Template:Margin"

From SI410
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{if|test={{{1|}}}
+
{{onSwitchDo|on-1={{{1|}}}|on-2={{{2|}}}|on-3={{{3|}}}|on-4={{{4|}}}|on-5={{{5|}}}
<!---->|then={{if|test={{{2|}}}
+
|do-1=margin:{{{1}}}px;
<!----><!---->|then={{if|test={{{4|}}}
+
|do-2=margin-{{{1}}}:{{{2}}}px;
<!----><!----><!---->|then=margin:{{{1}}}px {{{2}}}px {{{3}}}px {{{4}}}px;
+
|do-4=margin:{{{1}}}px {{{2}}}px {{{3}}}px {{{4}}}px;
<!----><!----><!---->|else=margin-{{{1}}}:{{{2}}}px; }}
+
}}
<!----><!---->|else=margin:{{{1}}}px; }}
+
<!---->|else=}}
+

Latest revision as of 21:48, 5 November 2012