Difference between revisions of "Template:Border\radius"

From SI410
Jump to: navigation, search
Line 1: Line 1:
{{onSwitchDo|on-1={{{1|}}}|on-2={{{2|}}}|on-3={{{3|}}}|on-4={{{4|}}}|on-5={{{5|}}}|on-6={{{6|}}}
+
{{ifExists|test={{{5|}}}
|do-1=border-radius:{{{1}}}px;
+
<!------->|then=
|do-3=border-{{{1}}}-{{{2}}}-radius:{{{3}}}px;
+
<!------->|else={{ifExists|test={{{4|}}}
|do-4=border-radius:{{{1}}}px {{{2}}}px {{{3}}}px {{{4}}}px;
+
<!----------------------->|then=border-radius:{{{1}}}px {{{2}}}px {{{3}}}px {{{4}}}px;
}}
+
<!----------------------->|else={{ifExists|test={{{3|}}}
 +
<!--------------------------------------->|then=border-{{{1}}}-{{{2}}}-radius:{{{3}}}px;
 +
<!--------------------------------------->|else={{ifExists|test={{{2|}}}
 +
<!------------------------------------------------------->|then=
 +
<!------------------------------------------------------->|else={{ifExists|test={{{1|}}}
 +
<!----------------------------------------------------------------------->|then=border-radius:{{{1}}}px;
 +
<!----------------------------------------------------------------------->|else=}}}}}}}}}}

Revision as of 20:33, 5 November 2012