Difference between revisions of "Template:Ib"

From StarMade Wiki
m
m
Line 1: Line 1:
 
{{#if:{{{2|}}}| <!-- new line for clarity
 
{{#if:{{{2|}}}| <!-- new line for clarity
-->{{#switch:{{{2|}}}|image=[[File:{{infoblockdb/{{{1}}}|link}}.png|{{#if:{{{3|}}}|{{{3|}}}px}}]] <!-- new line for clarity --- make a fake answer for image and
+
-->{{#switch:{{{2|}}}|image=[[File:{{infoblockdb/{{{1}}}|link}}.png|{{#if:{{{3|}}}|{{{3|}}}|150}}px]] <!-- new line for clarity --- make a fake answer for image and
-->|{{infoblockdb/{{{1}}}|{{{2}}}}} <!-- new line for clarity                                                                                                                   in this case set size with $3
+
-->|{{infoblockdb/{{{1}}}|{{{2}}}}} <!-- new line for clarity                                                                                                                               in this case set size with $3
 
-->{{#if:{{{3|}}}|{{infoblockdb/{{{1}}}|{{{3}}}}} <!-- new line for clarity ---- check 3 only if 2 if true
 
-->{{#if:{{{3|}}}|{{infoblockdb/{{{1}}}|{{{3}}}}} <!-- new line for clarity ---- check 3 only if 2 if true
 
-->{{#if:{{{4|}}}|{{infoblockdb/{{{1}}}|{{{4}}}}} <!-- new line for clarity ---- check 4 only if 3 if true
 
-->{{#if:{{{4|}}}|{{infoblockdb/{{{1}}}|{{{4}}}}} <!-- new line for clarity ---- check 4 only if 3 if true

Revision as of 23:14, 5 May 2018

{{infoblockdb/{{{1}}}|name}}