Difference between revisions of "Template:Itemlink-li"
From Space Engineers Wiki
Vox Serico (talk | contribs) m (Fixed box height not changing with icon size) |
Vox Serico (talk | contribs) (list items has seemingly random rendering issues. Switching to flexbox.) |
||
Line 1: | Line 1: | ||
− | <includeonly>< | + | <includeonly><!-- |
+ | -->{{#vardefine:BLOCK|{{{1|Mod:Vanilla/CubeBlock/LargeHeavyBlockArmorCorner2Base}}}}}<!-- | ||
+ | -->{{#vardefine:TRANSLATION|{{#show:{{#var:BLOCK}}|?Translation#-}}}}<!-- | ||
+ | -->{{#vardefine:ARTICLE|{{#show:{{#var:BLOCK}}|?Main article#-|default={{#var:TRANSLATION}}}}}}<!-- | ||
+ | --><div style="display:flex; align-items: center; flex: 0 0 13em; margin: 0.5em;"><!-- | ||
+ | -->[[File:{{#show:{{#var:BLOCK}}|?Icon}}|{{{2|64px}}}|link={{#var:ARTICLE}}{{lang}}]]<!-- | ||
+ | --><div style="margin-left:0.5em"><!-- | ||
+ | -->[[{{#var:ARTICLE}}{{lang}}|{{#if: {{lang}}|{{{{#var:BLOCK}}{{lang}}}}|{{#var:TRANSLATION}}}}]]<!-- | ||
+ | --></div><!-- | ||
+ | --></div><!-- | ||
+ | --></includeonly><noinclude> | ||
<code><nowiki>{{Itemlink-li|Page|image size (optional)}}</nowiki></code> | <code><nowiki>{{Itemlink-li|Page|image size (optional)}}</nowiki></code> | ||
− | <pre>< | + | <pre><div style="display: flex; flex-wrap: wrap;"> |
{{Itemlink-li|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall}} | {{Itemlink-li|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall}} | ||
{{Itemlink-li|Mod:Vanilla/CubeBlock/ConveyorTube}} | {{Itemlink-li|Mod:Vanilla/CubeBlock/ConveyorTube}} | ||
{{Itemlink-li|Mod:Vanilla/CubeBlock/LargeAssembler}} | {{Itemlink-li|Mod:Vanilla/CubeBlock/LargeAssembler}} | ||
− | </ | + | </div></pre> |
− | < | + | <div style="display: flex; flex-wrap: wrap;"> |
{{Itemlink-li|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall}} | {{Itemlink-li|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall}} | ||
{{Itemlink-li|Mod:Vanilla/CubeBlock/ConveyorTube}} | {{Itemlink-li|Mod:Vanilla/CubeBlock/ConveyorTube}} | ||
{{Itemlink-li|Mod:Vanilla/CubeBlock/LargeAssembler}} | {{Itemlink-li|Mod:Vanilla/CubeBlock/LargeAssembler}} | ||
− | </ | + | </div> |
</noinclude> | </noinclude> |
Revision as of 18:41, 14 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>