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|}}}|name={{Db/Version/0.200.335/Main|{{{1}}}|link}}|image=[[File:{{Db/Version/0.200.335/Main|{{{1}}}|link}}.png|{{#if:{{{3|}}}|{{{3|}}}|150}}px|link={{Db/Version/0.200.335/Main|{{{1}}}|link}}]] <!-- new line for clarity --- make a fake answer for image and
 
-->|{{Db/Version/0.200.335/Main|{{{1}}}|{{{2}}}}} <!-- new line for clarity                                                                                                                                in this case set size with $3
 
 
-->{{#if:{{{3|}}}|{{Db/Version/0.200.335/Main|{{{1}}}|{{{3}}}}} <!-- new line for clarity ---- check 3 only if 2 if true
 
-->{{#if:{{{3|}}}|{{Db/Version/0.200.335/Main|{{{1}}}|{{{3}}}}} <!-- new line for clarity ---- check 3 only if 2 if true
 
-->{{#if:{{{4|}}}|{{Db/Version/0.200.335/Main|{{{1}}}|{{{4}}}}} <!-- new line for clarity ---- check 4 only if 3 if true
 
-->{{#if:{{{4|}}}|{{Db/Version/0.200.335/Main|{{{1}}}|{{{4}}}}} <!-- new line for clarity ---- check 4 only if 3 if true
Line 35: Line 33:
 
-->}}<!-- 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 give default : link
+
-->}}<!-- new line for clarity -- else ( if no {{{2|}}} )then give default : link (name)
 
-->}}}}|{{Db/Version/0.200.335/Main|{{{1}}}|link}}}}
 
-->}}}}|{{Db/Version/0.200.335/Main|{{{1}}}|link}}}}

Revision as of 03:31, 11 May 2018

|}}