Difference between revisions of "Template:SimpleItembox"

From Space Engineers Wiki
Jump to: navigation, search
(New Itembox that can (eventually) be used to display block/item by referencing a different page.)
 
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: {{SimpleItemBox|ItemStatPage|Label|Language code}}
+
<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>{{SimpleItemBox|SmallHydrogenTankSmall|Small Hydrogen Tank}}</nowiki></code> for the Small small-block hydrogen tank in english.
+
<code><nowiki>{{SimpleItembox|SmallHydrogenTankSmall|Small Hydrogen Tank}}</nowiki></code> for the Small small-block hydrogen tank in english.
{{SimpleItemBox|SmallHydrogenTankSmall|Small Hydrogen Tank}}
+
{{SimpleItembox|SmallHydrogenTankSmall|Small Hydrogen Tank}}
  
<code><nowiki>{{SimpleItemBox|SmallHydrogenTankSmall|Liten Vätgastank|sv}}</nowiki></code> for the same block in Swedish.
+
<code><nowiki>{{SimpleItembox|SmallHydrogenTankSmall|Liten Vätgastank|sv}}</nowiki></code> for the same block in Swedish.
{{SimpleItemBox|SmallHydrogenTankSmall|Liten Vätgastank|sv}}
+
{{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.

Icon Template.png
Item
SmallHydrogenTankSmall has an empty or missing Translation parameter!
Icon Template.png
Property:Small Hydrogen Tank
BrowseLast edit: 2020-04-02

{{SimpleItembox|SmallHydrogenTankSmall|Liten Vätgastank|sv}} for the same block in Swedish.

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

[[File:|48px]]
{{{2}}}
Icon Template.png
test