Difference between revisions of "Template:Tablebox"

From StarMade Wiki
m
m
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|}}}|[[File:{{DbParser|{{{4}}}|link}}.png|20px|link={{DbParser|{{{4}}}|link}}]][[{{DbParser|{{{4}}}|link}}|{{DbParser|{{{4}}}|link}}]] <!-- new line for clarity ---- first data parameter
+
{{#if:{{{4|}}}|{{iblink|{{{4}}}}} <!-- new line for clarity ---- first data parameter
-->{{#if:{{{5|}}}|, [[File:{{DbParser|{{{5}}}|link}}.png|20px|link={{DbParser|{{{5}}}|link}}]][[{{DbParser|{{{5}}}|link}}|{{DbParser|{{{5}}}|link}}]] <!-- new line for clarity ---- check 5 only if 4
+
-->{{#if:{{{5|}}}|, {{iblink|{{{5}}}}} <!-- new line for clarity ---- check 5 only if 4
-->{{#if:{{{6|}}}|, [[File:{{DbParser|{{{6}}}|link}}.png|20px|link={{DbParser|{{{6}}}|link}}]][[{{DbParser|{{{6}}}|link}}|{{DbParser|{{{6}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{6|}}}|, {{iblink|{{{6}}}}} <!-- new line for clarity
-->{{#if:{{{7|}}}|, [[File:{{DbParser|{{{7}}}|link}}.png|20px|link={{DbParser|{{{7}}}|link}}]][[{{DbParser|{{{7}}}|link}}|{{DbParser|{{{7}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{7|}}}|, {{iblink|{{{7}}}}} <!-- new line for clarity
-->{{#if:{{{8|}}}|, [[File:{{DbParser|{{{8}}}|link}}.png|20px|link={{DbParser|{{{8}}}|link}}]][[{{DbParser|{{{8}}}|link}}|{{DbParser|{{{8}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{8|}}}|, {{iblink|{{{8}}}}} <!-- new line for clarity
-->{{#if:{{{9|}}}|, [[File:{{DbParser|{{{9}}}|link}}.png|20px|link={{DbParser|{{{9}}}|link}}]][[{{DbParser|{{{9}}}|link}}|{{DbParser|{{{9}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{9|}}}|, {{iblink|{{{9}}}}} <!-- new line for clarity
-->{{#if:{{{10|}}}|, [[File:{{DbParser|{{{10}}}|link}}.png|20px|link={{DbParser|{{{10}}}|link}}]][[{{DbParser|{{{10}}}|link}}|{{DbParser|{{{10}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{10|}}}|, {{iblink|{{{10}}}}} <!-- new line for clarity
-->{{#if:{{{11|}}}|, [[File:{{DbParser|{{{11}}}|link}}.png|20px|link={{DbParser|{{{11}}}|link}}]][[{{DbParser|{{{11}}}|link}}|{{DbParser|{{{11}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{11|}}}|, {{iblink|{{{11}}}}} <!-- new line for clarity
-->{{#if:{{{12|}}}|, [[File:{{DbParser|{{{12}}}|link}}.png|20px|link={{DbParser|{{{12}}}|link}}]][[{{DbParser|{{{12}}}|link}}|{{DbParser|{{{12}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{12|}}}|, {{iblink|{{{12}}}}} <!-- new line for clarity
-->{{#if:{{{13|}}}|, [[File:{{DbParser|{{{13}}}|link}}.png|20px|link={{DbParser|{{{13}}}|link}}]][[{{DbParser|{{{13}}}|link}}|{{DbParser|{{{13}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{13|}}}|, {{iblink|{{{13}}}}} <!-- new line for clarity
-->{{#if:{{{14|}}}|, [[File:{{DbParser|{{{14}}}|link}}.png|20px|link={{DbParser|{{{14}}}|link}}]][[{{DbParser|{{{14}}}|link}}|{{DbParser|{{{14}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{14|}}}|, {{iblink|{{{14}}}}} <!-- new line for clarity
-->{{#if:{{{15|}}}|, [[File:{{DbParser|{{{15}}}|link}}.png|20px|link={{DbParser|{{{15}}}|link}}]][[{{DbParser|{{{15}}}|link}}|{{DbParser|{{{15}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{15|}}}|, {{iblink|{{{15}}}}} <!-- new line for clarity
-->{{#if:{{{16|}}}|, [[File:{{DbParser|{{{16}}}|link}}.png|20px|link={{DbParser|{{{16}}}|link}}]][[{{DbParser|{{{16}}}|link}}|{{DbParser|{{{16}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{16|}}}|, {{iblink|{{{16}}}}} <!-- new line for clarity
-->{{#if:{{{17|}}}|, [[File:{{DbParser|{{{17}}}|link}}.png|20px|link={{DbParser|{{{17}}}|link}}]][[{{DbParser|{{{17}}}|link}}|{{DbParser|{{{17}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{17|}}}|, {{iblink|{{{17}}}}} <!-- new line for clarity
-->{{#if:{{{18|}}}|, [[File:{{DbParser|{{{18}}}|link}}.png|20px|link={{DbParser|{{{18}}}|link}}]][[{{DbParser|{{{18}}}|link}}|{{DbParser|{{{18}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{18|}}}|, {{iblink|{{{18}}}}} <!-- new line for clarity
-->{{#if:{{{19|}}}|, [[File:{{DbParser|{{{19}}}|link}}.png|20px|link={{DbParser|{{{19}}}|link}}]][[{{DbParser|{{{19}}}|link}}|{{DbParser|{{{19}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{19|}}}|, {{iblink|{{{19}}}}} <!-- new line for clarity
-->{{#if:{{{20|}}}|, [[File:{{DbParser|{{{20}}}|link}}.png|20px|link={{DbParser|{{{20}}}|link}}]][[{{DbParser|{{{20}}}|link}}|{{DbParser|{{{20}}}|link}}]]}}<!-- new line for clarity
+
-->{{#if:{{{20|}}}|, {{iblink|{{{20}}}}}}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
Line 35: Line 35:
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}
 
-->}}
|{{#if:{{{4|}}}|{{{4}}}x [[File:{{DbParser|{{{5}}}|link}}.png|20px|link={{DbParser|{{{5}}}|link}}]][[{{DbParser|{{{5}}}|link}}|{{DbParser|{{{5}}}|link}}]]<!-- new line for clarity  
+
|{{#if:{{{4|}}}|{{{4}}}x {{iblink|{{{5}}}}}<!-- new line for clarity  
-->{{#if:{{{6|}}}|, {{{6}}}x [[File:{{DbParser|{{{7}}}|link}}.png|20px|link={{DbParser|{{{7}}}|link}}]][[{{DbParser|{{{7}}}|link}}|{{DbParser|{{{7}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{6|}}}|, {{{6}}}x {{iblink|{{{7}}}}}  <!-- new line for clarity
-->{{#if:{{{8|}}}|, {{{8}}}x [[File:{{DbParser|{{{9}}}|link}}.png|20px|link={{DbParser|{{{9}}}|link}}]][[{{DbParser|{{{9}}}|link}}|{{DbParser|{{{9}}}|link}}]] <!-- new line for clarity
+
-->{{#if:{{{8|}}}|, {{{8}}}x {{iblink|{{{9}}}}} <!-- new line for clarity
-->{{#if:{{{10|}}}|, {{{10}}}x  [[File:{{DbParser|{{{11}}}|link}}.png|20px|link={{DbParser|{{{11}}}|link}}]][[{{DbParser|{{{11}}}|link}}|{{DbParser|{{{10}}}|link}}]]<!-- new line for clarity
+
-->{{#if:{{{10|}}}|, {{{10}}}x  {{iblink|{{{11}}}}}<!-- new line for clarity
-->{{#if:{{{12|}}}|, {{{12}}}xx [[File:{{DbParser|{{{13}}}|link}}.png|20px|link={{DbParser|{{{13}}}|link}}]][[{{DbParser|{{{13}}}|link}}|{{DbParser|{{{13}}}|link}}]] }} }} }} }} }}
+
-->{{#if:{{{12|}}}|, {{{12}}}xx {{iblink|{{{13}}}}} }} }} }} }} }}
 
}} <!-- ============== 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 141: Line 141:
 
{{!}}} <!-- ========== 2: vertical small list (Ctrling+CtrlBy)=============== -->
 
{{!}}} <!-- ========== 2: vertical small list (Ctrling+CtrlBy)=============== -->
 
|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|}}}|[[File:{{Db|{{{4}}}|link}}.png|20px|link={{Db|{{{4}}}|link}}]][[{{Db|{{{4}}}|link}}|{{Db|{{{4}}}|link}}]]{{#if:{{{5|}}}|<br/>
+
}}{{#if:{{{4|}}}|{{iblink|{{{4}}}}}{{#if:{{{5|}}}|<br/>
[[File:{{Db|{{{5}}}|link}}.png|20px|link={{Db|{{{5}}}|link}}]][[{{Db|{{{5}}}|link}}|{{Db|{{{5}}}|link}}]]{{#if:{{{6|}}}|<br/>
+
{{iblink|{{{5}}}}}{{#if:{{{6|}}}|<br/>
[[File:{{Db|{{{6}}}|link}}.png|20px|link={{Db|{{{6}}}|link}}]][[{{Db|{{{6}}}|link}}|{{Db|{{{6}}}|link}}]]{{#if:{{{7|}}}|<br/>
+
{{iblink|{{{6}}}}}{{#if:{{{7|}}}|<br/>
[[File:{{Db|{{{7}}}|link}}.png|20px|link={{Db|{{{7}}}|link}}]][[{{Db|{{{7}}}|link}}|{{Db|{{{7}}}|link}}]]{{#if:{{{8|}}}|<br/>
+
{{iblink|{{{7}}}}}{{#if:{{{8|}}}|<br/>
[[File:{{Db|{{{8}}}|link}}.png|20px|link={{Db|{{{8}}}|link}}]][[{{Db|{{{8}}}|link}}|{{Db|{{{8}}}|link}}]]{{#if:{{{9|}}}|<br/>
+
{{iblink|{{{8}}}}}{{#if:{{{9|}}}|<br/>
[[File:{{Db|{{{9}}}|link}}.png|20px|link={{Db|{{{9}}}|link}}]][[{{Db|{{{9}}}|link}}|{{Db|{{{9}}}|link}}]]{{#if:{{{10|}}}|<br/>
+
{{iblink|{{{9}}}}}{{#if:{{{10|}}}|<br/>
[[File:{{Db|{{{10}}}|link}}.png|20px|link={{Db|{{{10}}}|link}}]][[{{Db|{{{10}}}|link}}|{{Db|{{{10}}}|link}}]]{{#if:{{{11|}}}|<br/>
+
{{iblink|{{{10}}}}}{{#if:{{{11|}}}|<br/>
[[File:{{Db|{{{11}}}|link}}.png|20px|link={{Db|{{{11}}}|link}}]][[{{Db|{{{11}}}|link}}|{{Db|{{{11}}}|link}}]]{{#if:{{{12|}}}|<br/>
+
{{iblink|{{{11}}}}}{{#if:{{{12|}}}|<br/>
[[File:{{Db|{{{12}}}|link}}.png|20px|link={{Db|{{{12}}}|link}}]][[{{Db|{{{12}}}|link}}|{{Db|{{{12}}}|link}}]]{{#if:{{{13|}}}|<br/>
+
{{iblink|{{{12}}}}}{{#if:{{{13|}}}|<br/>
[[File:{{Db|{{{13}}}|link}}.png|20px|link={{Db|{{{13}}}|link}}]][[{{Db|{{{13}}}|link}}|{{Db|{{{13}}}|link}}]]{{#if:{{{14|}}}|<br/>
+
{{iblink|{{{13}}}}}{{#if:{{{14|}}}|<br/>
[[File:{{Db|{{{14}}}|link}}.png|20px|link={{Db|{{{14}}}|link}}]][[{{Db|{{{14}}}|link}}|{{Db|{{{14}}}|link}}]]}}}}}}}}}}}}}}}}}}}}}}{{#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>

Revision as of 23:23, 15 May 2018

Bad format request

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

handle requests of tables in database/Sub