Difference between revisions of "Template:Itemlink"
From Space Engineers Wiki
Vox Serico (talk | contribs) (Added special case for Mod:Vanilla links) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{#ifeq: {{#var:first}}|0|• |{{#vardefine:first|0}}}}{{icon|{{{1|Grinder}}}|tiny}} [[{{{1|Grinder}}}|{{translate|{{{1|Grinder}}}}}]] <noinclude>[[Category:Templates]]</noinclude> | + | <!-- |
+ | -->{{#ifeq: {{#var:first}}|0|• |{{#vardefine:first|0}}}}<!-- | ||
+ | --><div style="display:inline-block;"><!-- | ||
+ | -->{{icon|{{{1|Grinder}}}|{{#var:iconsize|tiny}}}} <!-- | ||
+ | -->{{#ifeq: {{#sub:{{{1|}}}|0|{{#len:Mod:Vanilla}}}}|Mod:Vanilla<!-- | ||
+ | -->|[[{{#show:{{{1}}}|?Main article#-}}{{lang}}|{{translate|{{{1}}}}}]]<!-- | ||
+ | -->|[[{{{1|Grinder}}}|{{translate|{{{1|Grinder}}}}}]]<!-- | ||
+ | -->}}<!-- | ||
+ | --> <!-- | ||
+ | --></div><!-- | ||
+ | --><noinclude>[[Category:Templates]]</noinclude> |