Difference between revisions of "Template:Itemlink-li"
From Space Engineers Wiki
Vox Serico (talk | contribs) (Enabled the use of userparam for sizing) |
Vox Serico (talk | contribs) m (Tentative translation fix to use translation parameter instead of direct transclusion) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#vardefine:TRANSLATION|{{ | + | -->{{#vardefine:TRANSLATION|{{translate|{{{1}}}}}<!-- |
-->{{#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|{{{userparam|64px}}}}}}|link={{#var:ARTICLE}}{{lang}}]]<!-- | -->[[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><!-- |
Revision as of 13:29, 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>