Difference between revisions of "Template:Tablebox"

From StarMade Wiki
m
m
 
(13 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|0 = {{#switch:{{{1}}} <!-- ===== 0 : ib request : just icon+name all on a line ======== -->
 
|0 = {{#switch:{{{1}}} <!-- ===== 0 : ib request : just icon+name all on a line ======== -->
 
|Ctrling|CtrlBy=
 
|Ctrling|CtrlBy=
{{#if:{{{4|}}}|{{iblink|{{{4}}}}}}}<!-- new line for clarity ---- first data parameter
+
{{#if:{{{4|}}}|[[File:{{Db|{{{4}}}|link}}.png|20px|link={{Db|{{{4}}}|link}}]][[{{Db|{{{4}}}|link}}|{{Db|{{{4}}}|link}}]]}}<!-- new line for clarity  
-->{{#if:{{{5|}}}|, {{iblink|{{{5}}}}}}}<!-- new line for clarity  
+
-->{{#if:{{{5|}}}|, [[File:{{Db|{{{5}}}|link}}.png|20px|link={{Db|{{{5}}}|link}}]][[{{Db|{{{5}}}|link}}|{{Db|{{{5}}}|link}}]]}}<!-- new line for clarity  
-->{{#if:{{{6|}}}|, {{iblink|{{{6}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{6|}}}|, [[File:{{Db|{{{6}}}|link}}.png|20px|link={{Db|{{{6}}}|link}}]][[{{Db|{{{6}}}|link}}|{{Db|{{{6}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{7|}}}|, {{iblink|{{{7}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{7|}}}|, [[File:{{Db|{{{7}}}|link}}.png|20px|link={{Db|{{{7}}}|link}}]][[{{Db|{{{7}}}|link}}|{{Db|{{{7}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{8|}}}|, {{iblink|{{{8}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{8|}}}|, [[File:{{Db|{{{8}}}|link}}.png|20px|link={{Db|{{{8}}}|link}}]][[{{Db|{{{8}}}|link}}|{{Db|{{{8}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{9|}}}|, {{iblink|{{{9}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{9|}}}|, [[File:{{Db|{{{9}}}|link}}.png|20px|link={{Db|{{{9}}}|link}}]][[{{Db|{{{9}}}|link}}|{{Db|{{{9}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{10|}}}|, {{iblink|{{{10}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{10|}}}|, [[File:{{Db|{{{10}}}|link}}.png|20px|link={{Db|{{{10}}}|link}}]][[{{Db|{{{10}}}|link}}|{{Db|{{{10}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{11|}}}|, {{iblink|{{{11}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{11|}}}|, [[File:{{Db|{{{11}}}|link}}.png|20px|link={{Db|{{{11}}}|link}}]][[{{Db|{{{11}}}|link}}|{{Db|{{{11}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{12|}}}|, {{iblink|{{{12}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{12|}}}|, [[File:{{Db|{{{12}}}|link}}.png|20px|link={{Db|{{{12}}}|link}}]][[{{Db|{{{12}}}|link}}|{{Db|{{{12}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{13|}}}|, {{iblink|{{{13}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{13|}}}|, [[File:{{Db|{{{13}}}|link}}.png|20px|link={{Db|{{{13}}}|link}}]][[{{Db|{{{13}}}|link}}|{{Db|{{{13}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{14|}}}|, {{iblink|{{{14}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{14|}}}|, [[File:{{Db|{{{14}}}|link}}.png|20px|link={{Db|{{{14}}}|link}}]][[{{Db|{{{14}}}|link}}|{{Db|{{{14}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{15|}}}|, {{iblink|{{{15}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{15|}}}|, [[File:{{Db|{{{15}}}|link}}.png|20px|link={{Db|{{{15}}}|link}}]][[{{Db|{{{15}}}|link}}|{{Db|{{{15}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{16|}}}|, {{iblink|{{{16}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{16|}}}|, [[File:{{Db|{{{16}}}|link}}.png|20px|link={{Db|{{{16}}}|link}}]][[{{Db|{{{16}}}|link}}|{{Db|{{{16}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{17|}}}|, {{iblink|{{{17}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{17|}}}|, [[File:{{Db|{{{17}}}|link}}.png|20px|link={{Db|{{{17}}}|link}}]][[{{Db|{{{17}}}|link}}|{{Db|{{{17}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{18|}}}|, {{iblink|{{{18}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{18|}}}|, [[File:{{Db|{{{18}}}|link}}.png|20px|link={{Db|{{{18}}}|link}}]][[{{Db|{{{18}}}|link}}|{{Db|{{{18}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{19|}}}|, {{iblink|{{{19}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{19|}}}|, [[File:{{Db|{{{19}}}|link}}.png|20px|link={{Db|{{{19}}}|link}}]][[{{Db|{{{19}}}|link}}|{{Db|{{{19}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{20|}}}|, {{iblink|{{{20}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{20|}}}|, [[File:{{Db|{{{20}}}|link}}.png|20px|link={{Db|{{{20}}}|link}}]][[{{Db|{{{20}}}|link}}|{{Db|{{{20}}}|link}}]]}}
|{{#if:{{{4|}}}|{{{4}}}x {{iblink|{{{5}}}}}}}<!-- new line for clarity  
+
|{{#if:{{{4|}}}|{{{4}}}x [[File:{{Db|{{{5}}}|link}}.png|20px|link={{Db|{{{5}}}|link}}]][[{{Db|{{{5}}}|link}}|{{Db|{{{5}}}|link}}]]}}<!-- new line for clarity  
-->{{#if:{{{6|}}}|, {{{6}}}x {{iblink|{{{7}}}}}}}  <!-- new line for clarity
+
-->{{#if:{{{6|}}}|, {{{6}}}x [[File:{{Db|{{{7}}}|link}}.png|20px|link={{Db|{{{7}}}|link}}]][[{{Db|{{{7}}}|link}}|{{Db|{{{7}}}|link}}]]}}  <!-- new line for clarity
-->{{#if:{{{8|}}}|, {{{8}}}x {{iblink|{{{9}}}}}}} <!-- new line for clarity
+
-->{{#if:{{{8|}}}|, {{{8}}}x [[File:{{Db|{{{9}}}|link}}.png|20px|link={{Db|{{{9}}}|link}}]][[{{Db|{{{9}}}|link}}|{{Db|{{{9}}}|link}}]]}} <!-- new line for clarity
-->{{#if:{{{10|}}}|, {{{10}}}x {{iblink|{{{11}}}}}}}<!-- new line for clarity
+
-->{{#if:{{{10|}}}|, {{{10}}}x [[File:{{Db|{{{11}}}|link}}.png|20px|link={{Db|{{{11}}}|link}}]][[{{Db|{{{11}}}|link}}|{{Db|{{{11}}}|link}}]]}}<!-- new line for clarity
-->{{#if:{{{12|}}}|, {{{12}}}x {{iblink|{{{13}}}}}}}
+
-->{{#if:{{{12|}}}|, {{{12}}}x [[File:{{Db|{{{13}}}|link}}.png|20px|link={{Db|{{{13}}}|link}}]][[{{Db|{{{13}}}|link}}|{{Db|{{{13}}}|link}}]]}}
 
}}<!-- ============== 1 : block box request : table formatted============== -->
 
}}<!-- ============== 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;"}}}}
Line 50: Line 50:
 
-->{{#if:{{{18|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{18}}}|link}}]] }}<!-- new line for clarity
 
-->{{#if:{{{18|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{18}}}|link}}]] }}<!-- new line for clarity
 
-->{{#if:{{{19|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{19}}}|link}}]] }}<!-- new line for clarity
 
-->{{#if:{{{19|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{19}}}|link}}]] }}<!-- new line for clarity
-->{{#if:{{{20|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{20}}}|link}}]] }}<!-- new line for clarity
+
-->{{#if:{{{20|}}}|{{!}}{{!}}style="width: 100px;"{{!}}[[{{Db|{{{20}}}|link}}]] }}
 
{{!}}-
 
{{!}}-
{{!}}{{#if:{{{4|}}}|[[File:{{DbParser|{{{4}}}|link}}.png|100px|link={{DbParser|{{{4}}}|link}}]]}}<!-- new line for clarity ---- check 4 only if 3 if true
+
{{!}}{{#if:{{{4|}}}|[[File:{{DbParser|{{{4}}}|link}}.png|100px|link={{DbParser|{{{4}}}|link}}]]}}<!-- new line for clarity  
-->{{#if:{{{5|}}}|{{!}}{{!}}[[File:{{DbParser|{{{5}}}|link}}.png|100px|link={{DbParser|{{{5}}}|link}}]]}}<!-- new line for clarity ---- ....
+
-->{{#if:{{{5|}}}|{{!}}{{!}}[[File:{{DbParser|{{{5}}}|link}}.png|100px|link={{DbParser|{{{5}}}|link}}]]}}<!-- new line for clarity
 
-->{{#if:{{{6|}}}|{{!}}{{!}}[[File:{{DbParser|{{{6}}}|link}}.png|100px|link={{DbParser|{{{6}}}|link}}]]}}<!-- new line for clarity
 
-->{{#if:{{{6|}}}|{{!}}{{!}}[[File:{{DbParser|{{{6}}}|link}}.png|100px|link={{DbParser|{{{6}}}|link}}]]}}<!-- new line for clarity
 
-->{{#if:{{{7|}}}|{{!}}{{!}}[[File:{{DbParser|{{{7}}}|link}}.png|100px|link={{DbParser|{{{7}}}|link}}]]}}<!-- new line for clarity
 
-->{{#if:{{{7|}}}|{{!}}{{!}}[[File:{{DbParser|{{{7}}}|link}}.png|100px|link={{DbParser|{{{7}}}|link}}]]}}<!-- new line for clarity
Line 68: Line 68:
 
-->{{#if:{{{18|}}}|{{!}}{{!}}[[File:{{DbParser|{{{18}}}|link}}.png|100px|link={{DbParser|{{{18}}}|link}}]]}} <!-- new line for clarity
 
-->{{#if:{{{18|}}}|{{!}}{{!}}[[File:{{DbParser|{{{18}}}|link}}.png|100px|link={{DbParser|{{{18}}}|link}}]]}} <!-- new line for clarity
 
-->{{#if:{{{19|}}}|{{!}}{{!}}[[File:{{DbParser|{{{19}}}|link}}.png|100px|link={{DbParser|{{{19}}}|link}}]]}} <!-- new line for clarity
 
-->{{#if:{{{19|}}}|{{!}}{{!}}[[File:{{DbParser|{{{19}}}|link}}.png|100px|link={{DbParser|{{{19}}}|link}}]]}} <!-- new line for clarity
-->{{#if:{{{20|}}}|{{!}}{{!}}[[File:{{DbParser|{{{20}}}|link}}.png|100px|link={{DbParser|{{{20}}}|link}}]]}}<!-- new line for clarity
+
-->{{#if:{{{20|}}}|{{!}}{{!}}[[File:{{DbParser|{{{20}}}|link}}.png|100px|link={{DbParser|{{{20}}}|link}}]]}}
|{{#if:{{{4|}}}|{{!}} colspan="4" style="text-align:center;" {{!}}<big>Produced in : &nbsp;[[{{DbParser|{{{1}}}|link}}|{{DbParser|{{{1}}}|link}}]]</big>{{ib|{{{1}}}|image|40}}
+
|{{#if:{{{4|}}}|{{!}} colspan="4" style="text-align:center;" {{!}}<big>Produced in : &nbsp;[[{{DbParser|{{{1}}}|Factory}}|{{DbParser|{{{1}}}|Factory}}]]</big> [[File:{{DbParser|{{{1}}}|Factory}}.png|40px|link={{DbParser|{{{1}}}|Factory}}]]<!--{{ib|{{DbParser|{{{1}}}|Factory}}|image|40}}-->
 
{{!}}-  
 
{{!}}-  
 
! colspan="4"{{!}}<big>Ressources Required :</big>
 
! colspan="4"{{!}}<big>Ressources Required :</big>
 
{{!}}-
 
{{!}}-
 
{{#if:{{{4|}}}|{{!}} colspan="3" scope="row" style="text-align:right;" {{!}}<big>[[{{DbParser|{{{5}}}|link}}|{{DbParser|{{{5}}}|link}}]]</big>{{ib|{{{5}}}|image|40}}
 
{{#if:{{{4|}}}|{{!}} colspan="3" scope="row" style="text-align:right;" {{!}}<big>[[{{DbParser|{{{5}}}|link}}|{{DbParser|{{{5}}}|link}}]]</big>{{ib|{{{5}}}|image|40}}
{{!}} style="width:60px" {{!}}<big>{{{4}}}x</big>}}
+
{{!}} style="vertical-align: middle; width:60px" {{!}}<big>{{{4}}}x</big>}}
 
{{#if:{{{6|}}}|{{!}}-
 
{{#if:{{{6|}}}|{{!}}-
 
{{!}} colspan="3" scope="row" style="text-align:right;" {{!}}<big>[[{{DbParser|{{{7}}}|link}}|{{DbParser|{{{7}}}|link}}]]</big>{{ib|{{{7}}}|image|40}}
 
{{!}} colspan="3" scope="row" style="text-align:right;" {{!}}<big>[[{{DbParser|{{{7}}}|link}}|{{DbParser|{{{7}}}|link}}]]</big>{{ib|{{{7}}}|image|40}}
{{!}} style="width:60px" {{!}}<big>{{{6}}}x</big>}}
+
{{!}} style="vertical-align: middle; width:60px" {{!}}<big>{{{6}}}x</big>}}
 
{{#if:{{{8|}}}|{{!}}-
 
{{#if:{{{8|}}}|{{!}}-
 
{{!}}  colspan="3" scope="row" style="text-align:right;" {{!}}<big>[[{{DbParser|{{{9}}}|link}}|{{DbParser|{{{9}}}|link}}]]</big>{{ib|{{{9}}}|image|40}}
 
{{!}}  colspan="3" scope="row" style="text-align:right;" {{!}}<big>[[{{DbParser|{{{9}}}|link}}|{{DbParser|{{{9}}}|link}}]]</big>{{ib|{{{9}}}|image|40}}
{{!}} style="width:60px"{{!}}<big>{{{8}}}x</big>}}
+
{{!}} style="vertical-align: middle; width:60px"{{!}}<big>{{{8}}}x</big>}}
 
{{#if:{{{10|}}}|{{!}}-
 
{{#if:{{{10|}}}|{{!}}-
 
{{!}}  colspan="3" scope="row" style="text-align:right;" {{!}}<big>[[{{DbParser|{{{11}}}|link}}|{{DbParser|{{{11}}}|link}}]]</big>{{ib|{{{11}}}|image|40}}
 
{{!}}  colspan="3" scope="row" style="text-align:right;" {{!}}<big>[[{{DbParser|{{{11}}}|link}}|{{DbParser|{{{11}}}|link}}]]</big>{{ib|{{{11}}}|image|40}}
{{!}} style="width:60px" {{!}}<big>{{{10}}}x</big>}}
+
{{!}} style="vertical-align: middle; width:60px" {{!}}<big>{{{10}}}x</big>}}
 
{{#if:{{{12|}}}|{{!}}-
 
{{#if:{{{12|}}}|{{!}}-
 
{{!}}  colspan="3" scope="row" style="text-align:right;" {{!}}<big>[[{{DbParser|{{{13}}}|link}}|{{DbParser|{{{13}}}|link}}]]</big>{{ib|{{{13}}}|image|40}}
 
{{!}}  colspan="3" scope="row" style="text-align:right;" {{!}}<big>[[{{DbParser|{{{13}}}|link}}|{{DbParser|{{{13}}}|link}}]]</big>{{ib|{{{13}}}|image|40}}
{{!}} style="width:60px" {{!}}<big>{{{12}}}x</big>}}
+
{{!}} style="vertical-align: middle; width:60px" {{!}}<big>{{{12}}}x</big>}}
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="1" style="width:100px; text-align:center;"{{!}}<big>In <font style="color:DodgerBlue">{{Db/{{Db/Version}}Main|{{{1}}}|FactoryBakeTime}}</font> sec :</big>
 
{{!}} colspan="1" style="width:100px; text-align:center;"{{!}}<big>In <font style="color:DodgerBlue">{{Db/{{Db/Version}}Main|{{{1}}}|FactoryBakeTime}}</font> sec :</big>
Line 94: Line 94:
 
|2= {{#ifeq:{{{1}}}|CtrlBy|<font style="color:DarkOrange;"><b>&#8595;&#8595;&#8595;</b></font><br/>
 
|2= {{#ifeq:{{{1}}}|CtrlBy|<font style="color:DarkOrange;"><b>&#8595;&#8595;&#8595;</b></font><br/>
 
}}{{#if:{{{4|}}}|{{iblink|{{{4}}} }} }}{{#if:{{{5|}}}|<br/>
 
}}{{#if:{{{4|}}}|{{iblink|{{{4}}} }} }}{{#if:{{{5|}}}|<br/>
{{iblink|{{{5}}} }} }}{{#if:{{{6|}}}|<br/>
+
{{iblink|{{{5}}}}}}}{{#if:{{{6|}}}|<br/>
{{iblink|{{{6}}} }} }}{{#if:{{{7|}}}|<br/>
+
{{iblink|{{{6}}}}}}}{{#if:{{{7|}}}|<br/>
{{iblink|{{{7}}} }} }}{{#if:{{{8|}}}|<br/>
+
{{iblink|{{{7}}}}}}}{{#if:{{{8|}}}|<br/>
{{iblink|{{{8}}} }} }}{{#if:{{{9|}}}|<br/>
+
{{iblink|{{{8}}}}}}}{{#if:{{{9|}}}|<br/>
{{iblink|{{{9}}} }} }}{{#if:{{{10|}}}|<br/>
+
{{iblink|{{{9}}}}}}}{{#if:{{{10|}}}|<br/>
{{iblink|{{{10}}} }} }}{{#if:{{{11|}}}|<br/>
+
{{iblink|{{{10}}}}}}}{{#if:{{{11|}}}|<br/>
{{iblink|{{{11}}} }} }}{{#if:{{{12|}}}|<br/>
+
{{iblink|{{{11}}}}}}}{{#if:{{{12|}}}|<br/>
{{iblink|{{{12}}} }} }}{{#if:{{{13|}}}|<br/>
+
{{iblink|{{{12}}}}}}}{{#if:{{{13|}}}|<br/>
{{iblink|{{{13}}} }} }}{{#if:{{{14|}}}|<br/>
+
{{iblink|{{{13}}}}}}}{{#if:{{{14|}}}|<br/>
{{iblink|{{{14}}} }} }}{{#ifeq:{{{1}}}|Ctrling|<br/><font style="color:Purple;"><b>&#8595;&#8595;&#8595;</b></font>
+
{{iblink|{{{14}}}}}}}{{#ifeq:{{{1}}}|Ctrling|<br/><font style="color:Purple;"><b>&#8595;&#8595;&#8595;</b></font>}}
}}
 
 
|Bad format request}}
 
|Bad format request}}
 
<!--
 
<!--
 
--><noinclude>{{Documentation}}</noinclude>
 
--><noinclude>{{Documentation}}</noinclude>

Latest revision as of 18:15, 27 July 2018

Bad format request

[view] [edit] [history] [[[:Template:Purge]]] 50px Template documentation

handle requests of tables in database/Sub