Difference between revisions of "Template:Margin"

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

Latest revision as of 21:48, 5 November 2012