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:{{Db/Version/0.200.335/Main | + | -->{{#switch:{{{2|}}}|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 | -->|{{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 | ||
Line 36: | Line 36: | ||
-->}}<!-- new line for clarity | -->}}<!-- new line for clarity | ||
-->}}<!-- new line for clarity -- else ( if no {{{2|}}} )then give default : name | -->}}<!-- new line for clarity -- else ( if no {{{2|}}} )then give default : name | ||
− | -->}}}}|{{Db/Version/0.200.335/Main | + | -->}}}}|{{Db/Version/0.200.335/Main|{{{1}}}|link}}}} |