Difference between revisions of "Template:Item"
From Space Engineers Wiki
Vox Serico (talk | contribs) (Inline link to a block/item with icon and optional type icon) |
Vox Serico (talk | contribs) m (Might have fixed the table issue. Revert if Hydrogen Engine#Overview's table breaks.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><!-- | + | <includeonly><onlyinclude><!-- |
--><span><!-- | --><span><!-- | ||
-->{{#vardefine:PAGE|{{#show:{{{1}}}|?Main article#-}}}}<!-- | -->{{#vardefine:PAGE|{{#show:{{{1}}}|?Main article#-}}}}<!-- | ||
Line 5: | Line 5: | ||
-->[[File:<!-- | -->[[File:<!-- | ||
-->{{#switch: {{#show:{{{1}}}|?TypeId#-}}<!-- | -->{{#switch: {{#show:{{{1}}}|?TypeId#-}}<!-- | ||
− | -->| Component = Component Icon.png {{ | + | -->| Component = Component Icon.png {{!}} {{Componentbox/Component{{lang}}}}<!-- |
− | -->| Ingot = Material Icon.png {{ | + | -->| Ingot = Material Icon.png {{!}} {{Componentbox/Material{{lang}}}}<!-- |
− | -->| Ore = Raw Icon.png {{ | + | -->| Ore = Raw Icon.png {{!}} {{Componentbox/Raw Material{{lang}}}}<!-- |
-->| MyObjectBuilder_AngleGrinder<!-- | -->| MyObjectBuilder_AngleGrinder<!-- | ||
-->| MyObjectBuilder_HandDrill<!-- | -->| MyObjectBuilder_HandDrill<!-- | ||
-->| MyObjectBuilder_Welder<!-- | -->| MyObjectBuilder_Welder<!-- | ||
− | -->| MyObjectBuilder_AutomaticRifle = Tool Icon.png {{ | + | -->| MyObjectBuilder_AutomaticRifle = Tool Icon.png {{!}} {{Componentbox/Tool{{lang}}}}<!-- |
-->| #default =<!-- | -->| #default =<!-- | ||
-->{{#switch: {{#show:{{{1}}}|?CubeSize#-}}<!-- | -->{{#switch: {{#show:{{{1}}}|?CubeSize#-}}<!-- | ||
− | -->| Large = Large Ship Icon.png {{ | + | -->| Large = Large Ship Icon.png {{!}} {{Componentbox/Large Ship / Station{{lang}}}}<!-- |
− | -->| Small = Small Ship Icon.png {{ | + | -->| Small = Small Ship Icon.png {{!}} {{Componentbox/Small Ship{{lang}}}}<!-- |
− | -->| #default = Icon Template.png {{ | + | -->| #default = Icon Template.png {{!}} {{Componentbox/Item{{lang}}}}<!-- |
-->}}<!-- | -->}}<!-- | ||
-->}}|{{{2|32px}}}|link={{#var:PAGE}}]] <!-- | -->}}|{{{2|32px}}}|link={{#var:PAGE}}]] <!-- | ||
Line 22: | Line 22: | ||
-->[[File:{{#show:{{{1}}}|?Icon}}|{{{2|32px}}}|link={{#var:PAGE}}]] <!-- | -->[[File:{{#show:{{{1}}}|?Icon}}|{{{2|32px}}}|link={{#var:PAGE}}]] <!-- | ||
-->[[{{#var:PAGE}}|{{translate|{{{1}}}}}]]<!-- | -->[[{{#var:PAGE}}|{{translate|{{{1}}}}}]]<!-- | ||
− | --></span></includeonly> | + | --></span></onlyinclude></includeonly><!-- |
− | + | --> | |
{{Item|Mod:Vanilla/Ammo/AutomaticRifleGun_Mag_20rd}} | {{Item|Mod:Vanilla/Ammo/AutomaticRifleGun_Mag_20rd}} | ||
<code><nowiki>{{Item|Mod:Vanilla/Ammo/AutomaticRifleGun_Mag_20rd}}</nowiki></code> | <code><nowiki>{{Item|Mod:Vanilla/Ammo/AutomaticRifleGun_Mag_20rd}}</nowiki></code> | ||
Line 38: | Line 38: | ||
{{Item|Mod:Vanilla/CubeBlock/LargeHydrogenTank|notype=true}} | {{Item|Mod:Vanilla/CubeBlock/LargeHydrogenTank|notype=true}} | ||
<code><nowiki>{{Item|Mod:Vanilla/CubeBlock/LargeHydrogenTank|notype=true}}</nowiki></code> | <code><nowiki>{{Item|Mod:Vanilla/CubeBlock/LargeHydrogenTank|notype=true}}</nowiki></code> | ||
+ | </noinclude> |
Latest revision as of 01:08, 27 June 2021
MR-20 Rifle Magazine
{{Item|Mod:Vanilla/Ammo/AutomaticRifleGun_Mag_20rd}}
Canvas
{{Item|Mod:Vanilla/Component/Canvas}}
Hydrogen Tank
{{Item|Mod:Vanilla/CubeBlock/LargeHydrogenTank}}
Hydrogen Tank
{{Item|Mod:Vanilla/CubeBlock/LargeHydrogenTank|64px}}
Hydrogen Tank
{{Item|Mod:Vanilla/CubeBlock/LargeHydrogenTank|notype=true}}