Difference between revisions of "Template:Padding"

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

Revision as of 14:40, 5 November 2012