Difference between revisions of "Template:Item"

From Space Engineers Wiki
Jump to: navigation, search
m (transclusion fix)
m (Removed <nowiki>{{!!}}</nowiki> to make the template compatible with tables.)
Line 5: Line 5:
 
   -->[[File:<!--
 
   -->[[File:<!--
 
     -->{{#switch: {{#show:{{{1}}}|?TypeId#-}}<!--
 
     -->{{#switch: {{#show:{{{1}}}|?TypeId#-}}<!--
       -->| Component = Component Icon.png {{!!}} {{Componentbox/Component{{lang}}}}<!--
+
       -->| Component = Component Icon.png<!--
       -->| Ingot = Material Icon.png {{!!}} {{Componentbox/Material{{lang}}}}<!--
+
       -->| Ingot = Material Icon.png<!--
       -->| Ore = Raw Icon.png {{!!}} {{Componentbox/Raw Material{{lang}}}}<!--
+
       -->| Ore = Raw Icon.png<!--
 
       -->| MyObjectBuilder_AngleGrinder<!--
 
       -->| MyObjectBuilder_AngleGrinder<!--
 
       -->| MyObjectBuilder_HandDrill<!--
 
       -->| MyObjectBuilder_HandDrill<!--
 
       -->| MyObjectBuilder_Welder<!--
 
       -->| MyObjectBuilder_Welder<!--
       -->| MyObjectBuilder_AutomaticRifle = Tool Icon.png {{!!}} {{Componentbox/Tool{{lang}}}}<!--
+
       -->| MyObjectBuilder_AutomaticRifle = Tool Icon.png<!--
 
       -->| #default =<!--
 
       -->| #default =<!--
 
         -->{{#switch: {{#show:{{{1}}}|?CubeSize#-}}<!--
 
         -->{{#switch: {{#show:{{{1}}}|?CubeSize#-}}<!--
           -->| Large = Large Ship Icon.png {{!!}} {{Componentbox/Large Ship / Station{{lang}}}}<!--
+
           -->| Large = Large Ship Icon.png<!--
           -->| Small = Small Ship Icon.png {{!!}} {{Componentbox/Small Ship{{lang}}}}<!--
+
           -->| Small = Small Ship Icon.png<!--
           -->| #default = Icon Template.png {{!!}} {{Componentbox/Item{{lang}}}}<!--
+
           -->| #default = Icon Template.png<!--
 
         -->}}<!--
 
         -->}}<!--
       -->}}|{{{2|32px}}}|link={{#var:PAGE}}]]&nbsp;<!--
+
       -->}}|{{{2|32px}}}|link={{#var:PAGE}}|<!--
 +
      -->{{Componentbox/{{#switch: {{#show:{{{1}}}|?TypeId#-}}
 +
            | Component = Component
 +
            | MyObjectBuilder_AngleGrinder
 +
            | MyObjectBuilder_HandDrill
 +
            | MyObjectBuilder_Welder
 +
            | MyObjectBuilder_AutomaticRifle = Tool
 +
            | Ore = Raw Material
 +
            | Ingot = Material
 +
            | PhysicalObject = Item
 +
            | #default = {{#switch: {{#show:{{{1}}}|?CubeSize#-}}
 +
              | Large=Large Ship / Station
 +
              | Small=Small Ship
 +
              | #default=Item
 +
            }}}}{{lang}}}}]]&nbsp;<!--
 
-->}}<!--
 
-->}}<!--
 
-->[[File:{{#show:{{{1}}}|?Icon}}|{{{2|32px}}}|link={{#var:PAGE}}]]&nbsp;<!--
 
-->[[File:{{#show:{{{1}}}|?Icon}}|{{{2|32px}}}|link={{#var:PAGE}}]]&nbsp;<!--

Revision as of 00:30, 27 June 2021


Item MR-20 Magazine Icon.png MR-20 Rifle Magazine {{Item|Mod:Vanilla/Ammo/AutomaticRifleGun_Mag_20rd}}

Component Canvas Icon.png Canvas {{Item|Mod:Vanilla/Component/Canvas}}

Large Ship / Station Hydrogen Tank Icon.png Hydrogen Tank {{Item|Mod:Vanilla/CubeBlock/LargeHydrogenTank}}

Large Ship / Station Hydrogen Tank Icon.png Hydrogen Tank {{Item|Mod:Vanilla/CubeBlock/LargeHydrogenTank|64px}}

Hydrogen Tank Icon.png Hydrogen Tank {{Item|Mod:Vanilla/CubeBlock/LargeHydrogenTank|notype=true}}