Difference between revisions of "Template:Margin"
From SI410
Line 1: | Line 1: | ||
{{if|test={{{1|}}} | {{if|test={{{1|}}} | ||
− | <!---->|then={{if|test={{{ | + | <!---->|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-{{{ | + | <!----><!----><!---->|then=margin-{{{1}}}:{{{2}}}px |
<!----><!----><!---->|else=margin:{{{1}}}px | <!----><!----><!---->|else=margin:{{{1}}}px | ||
<!----><!----><!---->}}; | <!----><!----><!---->}}; |