Difference between revisions of "Template:Itemlink-li"

From Space Engineers Wiki
Jump to: navigation, search
m (bottom margin)
m (Fixed box height not changing with icon size)
Line 1: Line 1:
<includeonly><li style="display:flex; align-items: center; min-height: 64px; margin-bottom: 1em;">[[File:{{#show:{{{1}}}|?Icon}}|{{{2|64px}}}|link={{#show:{{{1}}}|?Main article#-|default={{#show:{{{1}}}|?Translation#-}}}}{{lang}}]]<div style="margin-left:0.5em">[[{{#show:{{{1}}}|?Main article#-|default={{#show:{{{1}}}|?Translation#-}}}}{{lang}}|{{#if: {{lang}}|{{{{{1}}}{{lang}}}}|{{#show:{{{1}}}|?Translation#-}}}}]]</div></li></includeonly><noinclude>
+
<includeonly><li style="display:flex; align-items: center; min-height: {{{2|64px}}}; margin-bottom: 1em;">[[File:{{#show:{{{1}}}|?Icon}}|{{{2|64px}}}|link={{#show:{{{1}}}|?Main article#-|default={{#show:{{{1}}}|?Translation#-}}}}{{lang}}]]<div style="margin-left:0.5em">[[{{#show:{{{1}}}|?Main article#-|default={{#show:{{{1}}}|?Translation#-}}}}{{lang}}|{{#if: {{lang}}|{{{{{1}}}{{lang}}}}|{{#show:{{{1}}}|?Translation#-}}}}]]</div></li></includeonly><noinclude>
  
 
<code><nowiki>{{Itemlink-li|Page|image size (optional)}}</nowiki></code>
 
<code><nowiki>{{Itemlink-li|Page|image size (optional)}}</nowiki></code>

Revision as of 16:52, 14 April 2020


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

<ul style="list-style: none; columns: 12em auto">
{{Itemlink-li|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall}}
{{Itemlink-li|Mod:Vanilla/CubeBlock/ConveyorTube}}
{{Itemlink-li|Mod:Vanilla/CubeBlock/LargeAssembler}}
</ul>