Template:Inventory: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (Added description)
m (Updated indentation and usage)
Line 1: Line 1:
<h2>Inventory</h2>
<h2>Inventory</h2>
;Number of Slots
;Number of Slots
: {{{slots|14}}}
<p style="margin-left: 1.6em;">{{{slots|14}}}</p>
;Whitelisted Items
;Whitelisted Items
: {{{whitelist|All}}}<noinclude>
<p style="margin-left: 1.6em;">{{{whitelist|All}}}</p><noinclude>


==Usage==
==Usage==
The Inventory template is meant to be used on any block that has an inventory where items can be placed. This includes chests, barrels, crafting blocks, and the player characters.
The Inventory template is meant to be used on any block that has an inventory where items can be placed. This includes chests, barrels, crafting blocks, and the player characters.
<pre>{{Inventory|slots=<Number of slots>|whitelist=<Links to items>}}</pre>
<pre>{{Inventory
|slots=<Number of slots>
|whitelist=<Links to items>}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
*Any of the attributes can be left out entirely and they will use their default value.
*Any of the attributes can be left out entirely and they will use their default value.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 23:32, 4 March 2017

Inventory

Number of Slots

14

Whitelisted Items

All

Usage

The Inventory template is meant to be used on any block that has an inventory where items can be placed. This includes chests, barrels, crafting blocks, and the player characters.

{{Inventory
|slots=<Number of slots>
|whitelist=<Links to items>}}
  • The code above can be pasted into your page and edited.
  • Any of the attributes can be left out entirely and they will use their default value.