Difference between revisions of "Template:Itemlink-li"

From Space Engineers Wiki
Jump to: navigation, search
m (Cleaned up whitespace)
(Added Icon Template as a background for the icons)
Line 3: Line 3:
 
-->{{#vardefine:ARTICLE|{{#show:{{{1}}}|?Main article#-|default={{#var:TRANSLATION}}}}}}<!--
 
-->{{#vardefine:ARTICLE|{{#show:{{{1}}}|?Main article#-|default={{#var:TRANSLATION}}}}}}<!--
 
--><div style="display:flex; align-items: center;  flex: 0 0 13em; margin: 0.5em;"><!--
 
--><div style="display:flex; align-items: center;  flex: 0 0 13em; margin: 0.5em;"><!--
   -->[[File:{{#show:{{{1}}}|?Icon}}|{{{2|64px}}}|link={{#var:ARTICLE}}{{lang}}]]<!--
+
   -->[[File:Icon_Template.png|{{{2|64px}}}|link=none]]<!--
 +
  --><div style="z-index:1; position:absolute;">[[File:{{#show:{{{1}}}|?Icon}}|{{{2|64px}}}|link={{#var:ARTICLE}}{{lang}}]]</div><!--
 
   --><div style="margin-left:0.5em"><!--
 
   --><div style="margin-left:0.5em"><!--
 
     -->[[{{#var:ARTICLE}}{{lang}}|{{#if: {{lang}}|{{{{{1}}}{{lang}}}}|{{#var:TRANSLATION}}}}]]<!--
 
     -->[[{{#var:ARTICLE}}{{lang}}|{{#if: {{lang}}|{{{{{1}}}{{lang}}}}|{{#var:TRANSLATION}}}}]]<!--

Revision as of 04:08, 21 April 2020

{{Itemlink-li|Page|image size (optional)}}

<div style="display: flex; flex-wrap: wrap;">
{{Itemlink-li|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall}}
{{Itemlink-li|Mod:Vanilla/CubeBlock/ConveyorTube}}
{{Itemlink-li|Mod:Vanilla/CubeBlock/LargeAssembler}}
</div>
Small Hydrogen Tank Icon.png
Conveyor Tube Icon.png
Assembler Icon.png