Template:Inventory: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
<p style="margin-left: 1.6em;">{{{slots|14}}}&nbsp;slot(s)</p>
<p style="margin-left: 1.6em;">{{{slots|14}}}&nbsp;slot(s)</p>
'''Whitelisted Items'''
'''Whitelisted Items'''
<p style="margin-left: 1.6em;">{{{whitelist|All}}}</p><noinclude>
<p style="margin-left: 1.6em;">{{{whitelist|All}}}</p><includeonly>[[Category:Inventory]]</includeonly><noinclude>


==Usage==
==Usage==
Line 13: Line 13:
*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.
*Templates adds Category:Inventory.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 20:57, 29 July 2017

Inventory

Number of Slots

14 slot(s)

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.
  • Templates adds Category:Inventory.