Difference between revisions of "Template:Itemlink"

From Space Engineers Wiki
Jump to: navigation, search
(+keeping the icon and text together)
(Added special case for Mod:Vanilla links)
 
Line 1: Line 1:
{{#ifeq: {{#var:first}}|0|•&nbsp;|{{#vardefine:first|0}}}}<div style="display:inline-block;">{{icon|{{{1|Grinder}}}|{{#var:iconsize|tiny}}}} [[{{{1|Grinder}}}|{{translate|{{{1|Grinder}}}}}]]&nbsp;</div><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