Difference between revisions of "Template:Ctrlingbox"

From StarMade Wiki
m
m
Line 1: Line 1:
{{#switch:{{{1}}}
+
{{#switch:{{{1}}} <!-- $1=format $2=type $3=align -->
 
|0 = <!-- Use parameter send in Ctrl table to know requested format  
 
|0 = <!-- Use parameter send in Ctrl table to know requested format  
-->{{#if:{{{2|}}}|{{{2}}}{{ib|{{{2}}}}} <!-- new line for clarity
+
-->{{#if:{{{4|}}}|{{ib|{{{4}}}}} <!-- new line for clarity ---- first data parameter
-->{{#if:{{{3|}}}|, {{ib|{{{3}}}}} <!-- new line for clarity ---- check 3 only if 2 if true
+
-->{{#if:{{{5|}}}|, {{ib|{{{5}}}}} <!-- new line for clarity ---- check 5 only if 4
-->{{#if:{{{4|}}}|, {{ib|{{{4}}}}} <!-- new line for clarity ---- check 4 only if 3 if true
 
-->{{#if:{{{5|}}}|, {{ib|{{{5}}}}} <!-- new line for clarity ---- ....
 
 
-->{{#if:{{{6|}}}|, {{ib|{{{6}}}}} <!-- new line for clarity
 
-->{{#if:{{{6|}}}|, {{ib|{{{6}}}}} <!-- new line for clarity
 
-->{{#if:{{{7|}}}|, {{ib|{{{7}}}}} <!-- new line for clarity
 
-->{{#if:{{{7|}}}|, {{ib|{{{7}}}}} <!-- new line for clarity
Line 35: Line 33:
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
-->}}<!-- new line for clarity
+
-->}}
-->}}}}
 
 
|1={{{!}} class="wikitable"
 
|1={{{!}} class="wikitable"
!colspan="{{#if:{{{20|}}}|19|{{#if:{{{19|}}}|18|{{#if:{{{18|}}}|17|{{#if:{{{17|}}}|16|{{#if:{{{16|}}}|15|{{#if:{{{15|}}}|14|{{#if:{{{14|}}}|13|{{#if:{{{13|}}}||12|{{#if:{{{12|}}}|11|{{#if:{{{11|}}}|10|{{#if:{{{10|}}}|9|{{#if:{{{9|}}}|8|{{#if:{{{8|}}}|7|{{#if:{{{7|}}}|6|{{#if:{{{6|}}}|5|{{#if:{{{5|}}}|4|{{#if:{{{4|}}}|3|{{#if:{{{3|}}}|2|{{#if:{{{2|}}}|1|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}" height="30px"{{!}}<big>Connection to</big>  
+
!colspan="{{#if:{{{20|}}}|19|{{#if:{{{19|}}}|18|{{#if:{{{18|}}}|17|{{#if:{{{17|}}}|16|{{#if:{{{16|}}}|15|{{#if:{{{15|}}}|14|{{#if:{{{14|}}}|13|{{#if:{{{13|}}}||12|{{#if:{{{12|}}}|11|{{#if:{{{11|}}}|10|{{#if:{{{10|}}}|9|{{#if:{{{9|}}}|8|{{#if:{{{8|}}}|7|{{#if:{{{7|}}}|6|{{#if:{{{6|}}}|5|{{#if:{{{5|}}}|4|{{#if:{{{4|}}}|3|{{#if:{{{3|}}}|2|{{#if:{{{2|}}}|1|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}" height="30px"{{!}}<big>{{#switch:{{{2}}}
 +
|Ctrling=Connection to
 +
|CtrlBy=Connected by
 +
|Item=Production info}}</big>  
 
{{!}}-
 
{{!}}-
! {{#if:{{{2|}}}|style="width: 100px;"{{!}}[[{{Db|{{{2}}}|link}}]]  <!-- new line for clarity
+
! {{#if:{{{4|}}}|style="width: 100px;"{{!}}[[{{Db|{{{4}}}|link}}]]  <!-- new line for clarity ---- check 4 only if 3 if true
-->{{#if:{{{3|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{3}}}|link}}]]  <!-- new line for clarity ---- check 3 only if 2 if true
 
-->{{#if:{{{4|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{4}}}|link}}]]  <!-- new line for clarity ---- check 4 only if 3 if true
 
 
-->{{#if:{{{5|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{5}}}|link}}]]  <!-- new line for clarity ---- ....
 
-->{{#if:{{{5|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{5}}}|link}}]]  <!-- new line for clarity ---- ....
 
-->{{#if:{{{6|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{6}}}|link}}]]  <!-- new line for clarity
 
-->{{#if:{{{6|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{6}}}|link}}]]  <!-- new line for clarity
Line 74: Line 72:
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
-->}}<!-- new line for clarity
+
-->}}
-->}}}}
 
 
{{!}}-
 
{{!}}-
{{!}}{{#if:{{{2|}}}|{{ib|{{{2}}}|image|100}}  <!-- new line for clarity
+
{{!}}{{#if:{{{4|}}}|{{ib|{{{4}}}|image|100}}  <!-- new line for clarity ---- check 4 only if 3 if true
-->{{#if:{{{3|}}}|{{!}}{{!}}{{ib|{{{3}}}|image|100}}  <!-- new line for clarity ---- check 3 only if 2 if true
 
-->{{#if:{{{4|}}}|{{!}}{{!}}{{ib|{{{4}}}|image|100}}  <!-- new line for clarity ---- check 4 only if 3 if true
 
 
-->{{#if:{{{5|}}}|{{!}}{{!}}{{ib|{{{5}}}|image|100}}  <!-- new line for clarity ---- ....
 
-->{{#if:{{{5|}}}|{{!}}{{!}}{{ib|{{{5}}}|image|100}}  <!-- new line for clarity ---- ....
 
-->{{#if:{{{6|}}}|{{!}}{{!}}{{ib|{{{6}}}|image|100}}  <!-- new line for clarity
 
-->{{#if:{{{6|}}}|{{!}}{{!}}{{ib|{{{6}}}|image|100}}  <!-- new line for clarity
Line 111: Line 106:
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
-->}}<!-- new line for clarity
+
-->}}
-->}}}}
 
 
{{!}}}
 
{{!}}}
 
|Bad format request}}
 
|Bad format request}}

Revision as of 19:32, 13 May 2018

Bad format request