Difference between revisions of "Template:Margin"

From SI410
Jump to: navigation, search
Line 1: Line 1:
 
{{if|test={{{1|}}}
 
{{if|test={{{1|}}}
<!---->|then={{if|test={{{3|}}}
+
<!---->|then={{if|test={{{4|}}}
 
<!----><!---->|then={{Box\margin|{{{1}}}{{{2}}}{{{3}}}{{{4}}}}}
 
<!----><!---->|then={{Box\margin|{{{1}}}{{{2}}}{{{3}}}{{{4}}}}}
 
<!----><!---->|else={{if|test={{{2|}}}
 
<!----><!---->|else={{if|test={{{2|}}}
<!----><!----><!---->|then=margin-{{{2}}}:{{{1}}}px
+
<!----><!----><!---->|then=margin-{{{1}}}:{{{2}}}px
 
<!----><!----><!---->|else=margin:{{{1}}}px
 
<!----><!----><!---->|else=margin:{{{1}}}px
 
<!----><!----><!---->}};
 
<!----><!----><!---->}};

Revision as of 15:27, 4 November 2012