Difference between revisions of "Template:Ib"

From StarMade Wiki
m
m
Line 1: Line 1:
{{#if:{{{2|}}}|{{DbParser|{{{1}}}|{{{2}}}<!-- new line for clarity  
+
{{#if:{{{2|}}}|{{DbParser|{{{1}}}|{{{2}}}|{{{3}}}}}<!-- new line for clarity  
-->{{#if:{{{3|}}}|{{!}}{{{3}}}}}}}<!-- new line for clarity ---- check 3 only if 2 if true
+
--><!-- new line for clarity ----  
 
-->|[[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 21:44, 11 May 2018

20px[[|]]