Difference between revisions of "Template:Itemlink"

From Space Engineers Wiki
Jump to: navigation, search
(Added special case for Mod:Vanilla links)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq: {{#var:first}}|0|•|{{#vardefine:first|0}}}} {{icon|{{{1|Grinder}}}|tiny}} [[{{{1|Grinder}}}|{{translate|{{{1|Grinder}}}}}]]&nbsp;<noinclude>[[Category:Templates]]</noinclude>
+
<!--
 +
-->{{#ifeq: {{#var:first}}|0|•&nbsp;|{{#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}}}}}]]<!--
 +
  -->}}<!--
 +
  -->&nbsp;<!--
 +
--></div><!--
 +
--><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 20:39, 24 April 2020

Grinder (Tool) Icon.png Grinder