Difference between revisions of "Template:Ctrlingbox"

From StarMade Wiki
m
m
Line 1: Line 1:
f{{{format}}}1{{{1}}}2{{{2}}}
+
{{#switch:{{{1}}}
{{#switch:{{{format}}}
 
 
|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:{{{2|}}}|{{{2}}}{{ib|{{{2}}}}} <!-- new line for clarity  
Line 42: Line 41:
 
{{!}}-
 
{{!}}-
 
{{#if:{{{2|}}}|{{Blockbox|1|{{{2}}}}} <!-- new line for clarity  
 
{{#if:{{{2|}}}|{{Blockbox|1|{{{2}}}}} <!-- new line for clarity  
-->{{#if:{{{3|}}}|, {{Blockbox|1|{{{3}}}}} <!-- new line for clarity ---- check 3 only if 2 if true
+
-->{{#if:{{{3|}}}|{{Blockbox|1|{{{3}}}}} <!-- new line for clarity ---- check 3 only if 2 if true
-->{{#if:{{{4|}}}|, {{Blockbox|1|{{{4}}}}} <!-- new line for clarity ---- check 4 only if 3 if true
+
-->{{#if:{{{4|}}}|{{Blockbox|1|{{{4}}}}} <!-- new line for clarity ---- check 4 only if 3 if true
-->{{#if:{{{5|}}}|, {{Blockbox|1|{{{5}}}}} <!-- new line for clarity ---- ....
+
-->{{#if:{{{5|}}}|{{Blockbox|1|{{{5}}}}} <!-- new line for clarity ---- ....
-->{{#if:{{{6|}}}|, {{Blockbox|1|{{{6}}}}} <!-- new line for clarity
+
-->{{#if:{{{6|}}}|{{Blockbox|1|{{{6}}}}} <!-- new line for clarity
-->{{#if:{{{7|}}}|, {{Blockbox|1|{{{7}}}}} <!-- new line for clarity
+
-->{{#if:{{{7|}}}|{{Blockbox|1|{{{7}}}}} <!-- new line for clarity
-->{{#if:{{{8|}}}|, {{Blockbox|1|{{{8}}}}} <!-- new line for clarity
+
-->{{#if:{{{8|}}}|{{Blockbox|1|{{{8}}}}} <!-- new line for clarity
-->{{#if:{{{9|}}}|, {{Blockbox|1|{{{9}}}}} <!-- new line for clarity
+
-->{{#if:{{{9|}}}|{{Blockbox|1|{{{9}}}}} <!-- new line for clarity
-->{{#if:{{{10|}}}|, {{Blockbox|1|{{{10}}}}} <!-- new line for clarity
+
-->{{#if:{{{10|}}}|{{Blockbox|1|{{{10}}}}} <!-- new line for clarity
-->{{#if:{{{11|}}}|, {{Blockbox|1|{{{11}}}}} <!-- new line for clarity
+
-->{{#if:{{{11|}}}|{{Blockbox|1|{{{11}}}}} <!-- new line for clarity
-->{{#if:{{{12|}}}|, {{Blockbox|1|{{{12}}}}} <!-- new line for clarity
+
-->{{#if:{{{12|}}}|{{Blockbox|1|{{{12}}}}} <!-- new line for clarity
-->{{#if:{{{13|}}}|, {{Blockbox|1|{{{13}}}}} <!-- new line for clarity
+
-->{{#if:{{{13|}}}|{{Blockbox|1|{{{13}}}}} <!-- new line for clarity
-->{{#if:{{{14|}}}|, {{Blockbox|1|{{{14}}}}} <!-- new line for clarity
+
-->{{#if:{{{14|}}}|{{Blockbox|1|{{{14}}}}} <!-- new line for clarity
-->{{#if:{{{15|}}}|, {{Blockbox|1|{{{15}}}}} <!-- new line for clarity
+
-->{{#if:{{{15|}}}|{{Blockbox|1|{{{15}}}}} <!-- new line for clarity
-->{{#if:{{{16|}}}|, {{Blockbox|1|{{{16}}}}} <!-- new line for clarity
+
-->{{#if:{{{16|}}}|{{Blockbox|1|{{{16}}}}} <!-- new line for clarity
-->{{#if:{{{17|}}}|, {{Blockbox|1|{{{17}}}}} <!-- new line for clarity
+
-->{{#if:{{{17|}}}|{{Blockbox|1|{{{17}}}}} <!-- new line for clarity
-->{{#if:{{{18|}}}|, {{Blockbox|1|{{{18}}}}} <!-- new line for clarity
+
-->{{#if:{{{18|}}}|{{Blockbox|1|{{{18}}}}} <!-- new line for clarity
-->{{#if:{{{19|}}}|, {{Blockbox|1|{{{19}}}}} <!-- new line for clarity
+
-->{{#if:{{{19|}}}|{{Blockbox|1|{{{19}}}}} <!-- new line for clarity
-->{{#if:{{{20|}}}|, {{Blockbox|1|{{{20}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{20|}}}|{{Blockbox|1|{{{20}}}}}}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity

Revision as of 17:17, 13 May 2018

Bad format request