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