Difference between revisions of "Template:Ib"

From StarMade Wiki
m
m
Line 1: Line 1:
{{#if:{{{2|}}}|{{infoblockdb/{{{1}}}|{{{2}}}}} <!-- new line for clarity
+
{{#if:{{{2|}}}| <!-- new line for clarity
-->{{#if:{{{3|}}}|{{infoblockdb/{{{1}}}|{{{3}}}}} <!-- new line for clarity
+
-->{{#switch:{{{2|}}}|image=[[File:{{infoblockdb/{{{1}}}|link}}.png]]|{{infoblockdb/{{{1}}}|{{{2}}}}} <!-- new line for clarity --- make a fake answer for image.
-->{{#if:{{{4|}}}|{{infoblockdb/{{{1}}}|{{{4}}}}} <!-- new line for clarity
+
-->{{#if:{{{3|}}}|{{infoblockdb/{{{1}}}|{{{3}}}}} <!-- new line for clarity ---- check 3 only if 2 if true
-->{{#if:{{{5|}}}|{{infoblockdb/{{{1}}}|{{{5}}}}} <!-- new line for clarity
+
-->{{#if:{{{4|}}}|{{infoblockdb/{{{1}}}|{{{4}}}}} <!-- new line for clarity ---- check 4 only if 3 if true
 +
-->{{#if:{{{5|}}}|{{infoblockdb/{{{1}}}|{{{5}}}}} <!-- new line for clarity ---- ....
 
-->{{#if:{{{6|}}}|{{infoblockdb/{{{1}}}|{{{6}}}}} <!-- new line for clarity
 
-->{{#if:{{{6|}}}|{{infoblockdb/{{{1}}}|{{{6}}}}} <!-- new line for clarity
 
-->{{#if:{{{7|}}}|{{infoblockdb/{{{1}}}|{{{7}}}}} <!-- new line for clarity
 
-->{{#if:{{{7|}}}|{{infoblockdb/{{{1}}}|{{{7}}}}} <!-- new line for clarity
Line 33: Line 34:
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
 
-->}}<!-- new line for clarity
-->}}<!-- new line for clarity --else ( if no {{{2|}}} )then
+
-->}}<!-- new line for clarity -- else ( if no {{{2|}}} )then give default : name
 
-->}}|{{infoblockdb/{{{1}}}|name}}}}
 
-->}}|{{infoblockdb/{{{1}}}|name}}}}

Revision as of 23:07, 5 May 2018

{{#if:| {{infoblockdb/{{{1}}}|name}}