Difference between revisions of "Template:Itemlink-li"
From Space Engineers Wiki
Vox Serico (talk | contribs) (list items has seemingly random rendering issues. Switching to flexbox.) |
Vox Serico (talk | contribs) m (Add trim to fix whitespace issue with translation) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#vardefine: | + | -->{{#vardefine:TRANSLATION|{{#show:{{trim|{{{1}}}}}{{lang}}|?Translation}}}}<!-- |
− | + | -->{{#vardefine:ARTICLE|{{#show:{{{1}}}|?Main article#-|default={{#var:TRANSLATION}}}}}}<!-- | |
− | -->{{#vardefine:ARTICLE|{{#show:{{ | ||
--><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:{{ | + | -->[[File:{{#show:{{{1}}}|?Icon}}|{{{2|{{{userparam|64px}}}}}}|link={{#var:ARTICLE}}{{lang}}]]<!-- |
--><div style="margin-left:0.5em"><!-- | --><div style="margin-left:0.5em"><!-- | ||
− | -->[[{{#var:ARTICLE}}{{lang | + | -->[[{{#var:ARTICLE}}{{lang}}|{{#var:TRANSLATION}}]]<!-- |
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
− | --></includeonly><noinclude> | + | --></includeonly><noinclude><code><nowiki>{{Itemlink-li|Page|image size (optional)}}</nowiki></code> |
− | |||
− | <code><nowiki>{{Itemlink-li|Page|image size (optional)}}</nowiki></code> | ||
<pre><div style="display: flex; flex-wrap: wrap;"> | <pre><div style="display: flex; flex-wrap: wrap;"> |
Latest revision as of 14:03, 17 May 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>