Difference between revisions of "Template:Itemlink"

From Space Engineers Wiki
Jump to: navigation, search
(expanding template, to make it possible to set iconsize)
(Added special case for Mod:Vanilla links)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#ifeq: {{#var:first}}|0|•&nbsp;|{{#vardefine:first|0}}}}{{icon|{{{1|Grinder}}}|{{#var:iconsize|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