Difference between revisions of "Template:Ctrlingbox"

From StarMade Wiki
m
m
Line 1: Line 1:
 
{{#switch:{{{2}}} <!-- $1=type $2=format $3=align -->  
 
{{#switch:{{{2}}} <!-- $1=type $2=format $3=align -->  
|0 = {{#switch:{{{1}}}
+
|0 = {{#switch:{{{1}}} <!-- ===== 0 : ib request : just icon+name all on a line ======== -->
 
|Ctrling|CtrlBy=
 
|Ctrling|CtrlBy=
 
{{#if:{{{4|}}}|{{ib|{{{4}}}}} <!-- new line for clarity ---- first data parameter
 
{{#if:{{{4|}}}|{{ib|{{{4}}}}} <!-- new line for clarity ---- first data parameter
Line 40: 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}}}}} }} }} }} }} }}
}}
+
}} <!-- ============== 1 : block box request : table formatted============== -->
 
|1={{{!}} class="wikitable" {{#ifeq:{{{3}}}|right|style="float:right; margin-left: 4px; margin-bottom: 2px;"|{{#ifeq:{{{3}}}|left|style="float:left; margin-right: 4px; margin-bottom: 2px;"}}}}
 
|1={{{!}} class="wikitable" {{#ifeq:{{{3}}}|right|style="float:right; margin-left: 4px; margin-bottom: 2px;"|{{#ifeq:{{{3}}}|left|style="float:left; margin-right: 4px; margin-bottom: 2px;"}}}}
 
!colspan="{{#switch:{{{1}}}
 
!colspan="{{#switch:{{{1}}}
Line 139: Line 139:
 
! colspan="3"  {{!}}<big>{{DbParser|{{{1}}}|link}}</big>{{DbParser|{{{1}}}|image|40}}
 
! colspan="3"  {{!}}<big>{{DbParser|{{{1}}}|link}}</big>{{DbParser|{{{1}}}|image|40}}
 
}}}}
 
}}}}
{{!}}}  
+
{{!}}} <!-- ========== 2: small connection box (Ctrling+CtrlBy) part of a wikitable=============== -->
 +
|2= {{!}}{{#ifeq:{{{2}}}|Ctrling|<font style="color:DarkOrange;"><B>&#8595;</b><font>
 +
}}{{#if:{{{4|}}}|{{ib|{{{4}}}}}{{#if:{{{5|}}}|
 +
{{ib|{{{5}}}}}{{#if:{{{6|}}}|
 +
{{ib|{{{6}}}}}{{#if:{{{7|}}}|
 +
{{ib|{{{7}}}}}{{#if:{{{8|}}}|
 +
{{ib|{{{8}}}}}{{#if:{{{9|}}}|
 +
{{ib|{{{9}}}}}{{#if:{{{10|}}}|
 +
{{ib|{{{10}}}}}{{#if:{{{11|}}}|
 +
{{ib|{{{11}}}}}{{#if:{{{12|}}}|
 +
{{ib|{{{12}}}}}{{#if:{{{13|}}}|
 +
{{ib|{{{13}}}}}{{#if:{{{14|}}}|
 +
{{ib|{{{14}}}}}}}}}}}}}}}}}}}}}}}}}}}{{#ifeq:{{{2}}}|CtrlBy|<font style="color:Purple;"><B>&#8593;</b><font>
 +
}}
 +
|3= <!-- ========== 3: Same as last but without table for full blockbox integration =============== -->
 
|Bad format request}}
 
|Bad format request}}

Revision as of 03:07, 14 May 2018

Bad format request