Template:Inventory: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<h2>Inventory</h2> | <h2>{{{name|Inventory}}}</h2> | ||
'''Number of Slots''' | '''Number of Slots''' | ||
<p style="margin-left: 1.6em;">{{{slots|14}}} slot(s)</p> | <p style="margin-left: 1.6em;">{{{slots|14}}} slot(s)</p> | ||
Line 7: | Line 7: | ||
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 | <pre>{{Inventory | ||
|name=<Name of inventory> | |||
|slots=<Number of slots> | |slots=<Number of slots> | ||
|whitelist=<Links to items> | |whitelist=<Links to items> |
Revision as of 13:50, 8 January 2018
Inventory
Number of Slots
14 slot(s)
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 |name=<Name of inventory> |slots=<Number of slots> |whitelist=<Links to items> |blacklist=<Links to items> }}
- The code above can be pasted into your page and edited.
- Any of the attributes can be left out entirely. Slots will default to 14.
- Templates adds Category:Inventory/Blocks.