Difference between revisions of "Template:SimpleItembox/doc"

From Space Engineers Wiki
Jump to: navigation, search
(Documentation page for Template:SimpleItembox)
 
m (Removed lang parameter)
Line 2: Line 2:
 
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|Label|lang=Language code}}
+
<pre>Usage: {{SimpleItembox|ItemStatPage|Label}}
  
 
ItemStatPage - The page holding the block/item's stats.
 
ItemStatPage - The page holding the block/item's stats.
Label - The (translated) header text.
+
Label - The (translated) header text.</pre>
Language code - Optional. Language to use in the itembox.</pre>
 
 
Example usage:
 
Example usage:
  
<code><nowiki>{{SimpleItembox|SmallHydrogenTankSmall|Small Hydrogen Tank}}</nowiki></code> for the Small small-block hydrogen tank in english.
+
<code><nowiki>{{SimpleItembox|SmallHydrogenTankSmall|Liten Vätgastank}}</nowiki></code> for the Small small-block hydrogen tank.
{{SimpleItembox|SmallHydrogenTankSmall|Small Hydrogen Tank}}
+
{{SimpleItembox|SmallHydrogenTankSmall|Liten Vätgastank}}
 
 
<code><nowiki>{{SimpleItembox|SmallHydrogenTankSmall|Kleine waterstoftank|lang=de}}</nowiki></code> for the same block in Dutch.
 
{{SimpleItembox|SmallHydrogenTankSmall|Liten Vätgastank|sv}}
 

Revision as of 19:06, 31 March 2020

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

Usage: {{SimpleItembox|ItemStatPage|Label}}

ItemStatPage - The page holding the block/item's stats.
Label - The (translated) header text.

Example usage:

{{SimpleItembox|SmallHydrogenTankSmall|Liten Vätgastank}} for the Small small-block hydrogen tank.

Icon Template.png
Item
SmallHydrogenTankSmall has an empty or missing Translation parameter!
Icon Template.png
Property:Liten Vätgastank
BrowseLast edit: 2020-04-02