Difference between revisions of "Template:SimpleItembox/doc"

From Space Engineers Wiki
Jump to: navigation, search
(Added more examples. Stopping for the night.)
m
Line 1: Line 1:
{{SimpleItembox|CubeBlock/SmallHydrogenTankSmall}}
 
{{SimpleItembox|Component/SteelPlate}}
 
{{SimpleItembox|Ingot/Iron}}
 
 
{{Under Construction}}
 
{{Under Construction}}
 
Display the info box "Itembox" of an item from a different page.
 
Display the info box "Itembox" of an item from a different page.
  
<pre>Usage: {{SimpleItembox|ItemStatPage}}
+
<pre>Usage:  
 +
{{SimpleItembox|ItemStatPage|Label|Prop1|Unit1|Prop2|Unit2|...}}
  
ItemStatPage - The (Mod:Vanilla) page holding the object's stats.</pre>
+
ItemStatPage - The page holding the object's stats.
Example usage:
+
Label - The localized text to display as the object's name.
 
+
Prop1 - The first property to display.
<code><nowiki>{{SimpleItembox|CubeBlock/SmallHydrogenTankSmall}}</nowiki></code>
+
Unit1 - The unit to display the first property in.
<code><nowiki>{{SimpleItembox|Component/SteelPlate}}</nowiki></code>
+
Prop2 - The second property to display.
<code><nowiki>{{SimpleItembox|Ingot/Iron}}</nowiki></code>
+
Unit2 - The unit to display the second property in.
 +
etc...</pre>

Revision as of 16:40, 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...