Difference between revisions of "Template:Itemlink-li"

From Space Engineers Wiki
Jump to: navigation, search
m (Fixed example usage)
(Display Template Icon.png instead of broken image link)
Line 1: Line 1:
<includeonly><li style="display:flex; align-items: center;">[[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;">[[File:{{#ifexist: File:{{#show:{{{1}}}|?Icon}}|{{#show:{{{1}}}|?Icon}}|Icon Template.png}}|{{{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 19:33, 13 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>