Difference between revisions of "Template:Ctrlingbox"

From StarMade Wiki
m
m
Line 1: Line 1:
 
{{#switch:{{{2}}} <!-- $1=type (ctrl or name for item)  $2=format $3=align -->  
 
{{#switch:{{{2}}} <!-- $1=type (ctrl or name for item)  $2=format $3=align -->  
 
|0 = {{#switch:{{{1}}}
 
|0 = {{#switch:{{{1}}}
|Ctrling|CtrlBy=1 {{{1|}}}
+
|Ctrling|CtrlBy=
2 {{{2|}}}
 
3 {{{3|}}}
 
 
{{#if:{{{4|}}}|{{ib|{{{4}}}}} <!-- new line for clarity ---- first data parameter
 
{{#if:{{{4|}}}|{{ib|{{{4}}}}} <!-- new line for clarity ---- first data parameter
 
-->{{#if:{{{5|}}}|, {{ib|{{{5}}}}} <!-- new line for clarity ---- check 5 only if 4
 
-->{{#if:{{{5|}}}|, {{ib|{{{5}}}}} <!-- new line for clarity ---- check 5 only if 4
Line 42: Line 40:
 
-->{{#if:{{{10|}}}|, {{{11}}}x  {{ib|{{{10}}}}}<!-- new line for clarity
 
-->{{#if:{{{10|}}}|, {{{11}}}x  {{ib|{{{10}}}}}<!-- new line for clarity
 
-->{{#if:{{{12|}}}|, {{{13}}}xx {{ib|{{{12}}}}} }} }} }} }} }}
 
-->{{#if:{{{12|}}}|, {{{13}}}xx {{ib|{{{12}}}}} }} }} }} }} }}
blabla 1 {{{1}}}
 
2 {{{2}}}
 
3 {{{3}}}
 
 
}}
 
}}
 
|1={{{!}} class="wikitable" {{#ifeq:{{{3}}}|right|style="float:right; margin-left: 4px;"|{{#ifeq:{{{3}}}|left|style="float:left; margin-right: 4px;"}}}}
 
|1={{{!}} class="wikitable" {{#ifeq:{{{3}}}|right|style="float:right; margin-left: 4px;"|{{#ifeq:{{{3}}}|left|style="float:left; margin-right: 4px;"}}}}

Revision as of 21:54, 13 May 2018

Bad format request