Difference between revisions of "Template:SimpleItembox/doc"

From Space Engineers Wiki
Jump to: navigation, search
m (corrected example code to match display)
m (More examples)
Line 14: Line 14:
  
 
Example:
 
Example:
<pre>
+
<pre>{{SimpleItembox
{{SimpleItembox
 
 
|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall
 
|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall
 
|Liten Vätgastank
 
|Liten Vätgastank
|Size||Volume|{{m3}}|Mass|g|Integrity||BuildTimeSeconds||OperationalPowerConsumption||StandbyPowerConsumption||Capacity||IsAirTight||InventoryVolume|L|ResourceSinkGroup||PCU}}</pre>
+
|Size||Volume|{{m3}}|Mass|g|Integrity||BuildTimeSeconds||OperationalPowerConsumption||StandbyPowerConsumption||Capacity||IsAirTight||InventoryVolume|L|ResourceSinkGroup||PCU
 +
}}</pre>
 
{{SimpleItembox
 
{{SimpleItembox
 
|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall
 
|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall
 
|Liten Vätgastank
 
|Liten Vätgastank
|Size||Volume|{{m3}}|Mass|g|Integrity||BuildTimeSeconds||OperationalPowerConsumption||StandbyPowerConsumption||Capacity||IsAirTight||InventoryVolume|L|ResourceSinkGroup||PCU}}
+
|Size||Volume|{{m3}}|Mass|g|Integrity||BuildTimeSeconds||OperationalPowerConsumption||StandbyPowerConsumption||Capacity||IsAirTight||InventoryVolume|L|ResourceSinkGroup||PCU
 +
}}
 +
 
 +
<pre>{{SimpleItembox
 +
|Mod:Vanilla/Component/SteelPlate
 +
|Stålplatta
 +
|Mass||Health||MaxIntegrity||Volume||BaseProductionTimeInSeconds
 +
}}</pre>
 +
{{SimpleItembox
 +
|Mod:Vanilla/Component/SteelPlate
 +
|Stålplatta
 +
|Mass||Health||MaxIntegrity||Volume|L|BaseProductionTimeInSeconds
 +
}}
 +
 
 +
<pre>{{SimpleItembox
 +
|Mod:Vanilla/Ingot/Iron
 +
|Järntacka
 +
|Mass|kg|Volume||BaseProductionTimeInSeconds
 +
}}</pre>
 +
{{SimpleItembox
 +
|Mod:Vanilla/Ingot/Iron
 +
|Järntacka
 +
|Mass|kg|Volume||BaseProductionTimeInSeconds
 +
}}
 +
 
 +
<pre>
 +
{{SimpleItembox
 +
|Mod:Vanilla/Ore/Uranium
 +
|Uranmalm
 +
|Mass||Volume||RefineTime||RefineAmount||MinimalPricePerUnit
 +
}}</pre>
 +
{{SimpleItembox
 +
|Mod:Vanilla/Ore/Uranium
 +
|Uranmalm
 +
|Mass||Volume||RefineTime||RefineAmount||MinimalPricePerUnit
 +
}}

Revision as of 19:55, 3 April 2020

🚧🚧🚧 Under Construction 🚧🚧🚧
Attention - This page is currently being actively worked on, and may contain incomplete information

Display the info box "Itembox" of an item from a different page.

Usage: 
{{SimpleItembox|ItemStatPage|Label|Prop1|Unit1|Prop2|Unit2|...}}

ItemStatPage - The page holding the object's stats.
Label - The localized text to display as the object's name.
Prop1 - The first property to display.
Unit1 - The unit to display the first property in.
Prop2 - The second property to display.
Unit2 - The unit to display the second property in.
etc...

Example:

{{SimpleItembox
|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall
|Liten Vätgastank
|Size||Volume|{{m3}}|Mass|g|Integrity||BuildTimeSeconds||OperationalPowerConsumption||StandbyPowerConsumption||Capacity||IsAirTight||InventoryVolume|L|ResourceSinkGroup||PCU
}}
Small Hydrogen Tank Icon.png
Small Ship
Small Hydrogen Tank
Small Ship Icon.png

ComponentsRequired

 Functional 

 Hack 

Property:Liten Vätgastank
Dimensions (W,H,L)2,2,1
Volume0.5 m³
500 L
0.032 Large-Blocks
4 Small-Blocks
50 hL
500,000 mL
  • Some part "<nowiki>...</nowiki>" of the query was not understood.
  • Some subquery has no valid condition.
Mass109.8 kg
109,800 g
109,800,000 mg
0.11 t
Property:g
Integrity454
Build time12 s
Power Consumption200 W
0.2 kW
2.0e-4 MW
Idle Power Consumption0.2 W
2.0e-4 kW
2.0e-7 MW
Capacity
Is AirtightYes
BrowseLast edit: 2020-11-25
{{SimpleItembox
|Mod:Vanilla/Component/SteelPlate
|Stålplatta
|Mass||Health||MaxIntegrity||Volume||BaseProductionTimeInSeconds
}}
Steel Plate Icon.png
Component
Steel Plate
Component Icon.png

ComponentsRequired

Property:Stålplatta
Mass20 kg
20,000 g
20,000,000 mg
0.02 t
Health53
Integrity100
Volume0.003 m³
3 L
1.92e-4 Large-Blocks
0.024 Small-Blocks
0.3 hL
3,000 mL
Property:L
Base Production Time1 s
BrowseLast edit: 2021-02-04
{{SimpleItembox
|Mod:Vanilla/Ingot/Iron
|Järntacka
|Mass|kg|Volume||BaseProductionTimeInSeconds
}}
Iron Ingot Icon.png
Material
Iron Ingot
Material Icon.png

ComponentsRequired

Property:Järntacka
Mass1 kg
1,000 g
1,000,000 mg
1.0e-3 t
Property:kg
Volume1.27e-4 m³
0.127 L
8.128e-6 Large-Blocks
0.00102 Small-Blocks
0.0127 hL
127 mL
Base Production Time0.05 s
BrowseLast edit: 2020-05-18
{{SimpleItembox
|Mod:Vanilla/Ore/Uranium
|Uranmalm
|Mass||Volume||RefineTime||RefineAmount||MinimalPricePerUnit
}}
Uranium Ore Icon.png
Raw Material
Uranium Ore
Raw Icon.png
Property:Uranmalm
Mass1 kg
1,000 g
1,000,000 mg
1.0e-3 t
Volume3.7e-4 m³
0.37 L
2.368e-5 Large-Blocks
0.00296 Small-Blocks
0.037 hL
370 mL
Refine Time4 s
Refined Mass0.01 kg
10 g
10,000 mg
Minimum Price500 SC
BrowseLast edit: 2020-04-24