Difference between revisions of "Template:SimpleItembox"
From Space Engineers Wiki
Vox Serico (talk | contribs) (New Itembox that can (eventually) be used to display block/item by referencing a different page.) |
Vox Serico (talk | contribs) m (Typo) |
||
Line 3: | Line 3: | ||
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: {{ | + | <pre>Usage: {{SimpleItembox|ItemStatPage|Label|Language code}} |
ItemStatPage - The page holding the block/item's stats. | ItemStatPage - The page holding the block/item's stats. | ||
Line 10: | Line 10: | ||
Example usage: | Example usage: | ||
− | <code><nowiki>{{ | + | <code><nowiki>{{SimpleItembox|SmallHydrogenTankSmall|Small Hydrogen Tank}}</nowiki></code> for the Small small-block hydrogen tank in english. |
− | {{ | + | {{SimpleItembox|SmallHydrogenTankSmall|Small Hydrogen Tank}} |
− | <code><nowiki>{{ | + | <code><nowiki>{{SimpleItembox|SmallHydrogenTankSmall|Liten Vätgastank|sv}}</nowiki></code> for the same block in Swedish. |
− | {{ | + | {{SimpleItembox|SmallHydrogenTankSmall|Liten Vätgastank|sv}} |
---- | ---- | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
− | --><div style="position:relative; width:350px; float:right; border:1px solid black;"><!-- The Main box | + | --><div style="position:relative; width:350px; float:right; border:1px solid black; break-after: always;"><!-- The Main box |
--><div style="background:#486d82; background:#486d82; padding:0.25em; display: flex; flex-direction: row;"><!-- Header Start | --><div style="background:#486d82; background:#486d82; padding:0.25em; display: flex; flex-direction: row;"><!-- Header Start | ||
--><div style="flex-grow: 0;"><!-- | --><div style="flex-grow: 0;"><!-- |
Revision as of 15:13, 31 March 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|Language code}} ItemStatPage - The page holding the block/item's stats. Label - The (translated) header text. Language code - Optional. Language to use in the itembox.
Example usage:
{{SimpleItembox|SmallHydrogenTankSmall|Small Hydrogen Tank}}
for the Small small-block hydrogen tank in english.
Property:Small Hydrogen Tank
BrowseLast edit: 2020-04-02
{{SimpleItembox|SmallHydrogenTankSmall|Liten Vätgastank|sv}}
for the same block in Swedish.
Property:Liten Vätgastank
Property:sv
BrowseLast edit: 2020-04-02