Difference between revisions of "Template:Ib"

From StarMade Wiki
m
m
Line 1: Line 1:
 
{{#if:{{{2|}}}|{{#switch: {{{2}}}
 
{{#if:{{{2|}}}|{{#switch: {{{2}}}
|Ctrling|CtrlBy|Item= {{DbSub|Advanced Factory|{{{2}}}|0}}
+
|Ctrling|CtrlBy|Item= {{DbSub|{{{1}}}|{{{2}}}|0}}
|{{DbParser|{{{1}}}|{{{2}}}|{{{3}}}}}<!-- new line for clarity ----
+
|{{DbParser|{{{1}}}|{{{2}}}|{{{3}}}}}
-->|[[File:{{DbParser|{{{1}}}|link}}.png|20px|link={{DbParser|{{{1}}}|link}}]]<!-- line for clarity  --- if no second parameter, display icon + link
+
}}|[[File:{{DbParser|{{{1}}}|link}}.png|20px|link={{DbParser|{{{1}}}|link}}]]<!-- line for clarity  --- if no second parameter, display icon + link
 
-->[[{{DbParser|{{{1}}}|link}}|{{DbParser|{{{1}}}|link}}]]}}
 
-->[[{{DbParser|{{{1}}}|link}}|{{DbParser|{{{1}}}|link}}]]}}

Revision as of 18:27, 14 May 2018

20px[[|]]