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|}}}|150}}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|link={{infoblockdb/{{{1}}}|link}}]] <!-- 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

Revision as of 00:21, 6 May 2018

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