Difference between revisions of "Template:Border\width"

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

Latest revision as of 22:05, 5 November 2012