Template:InventoryNoCategories: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Created page with "<h2>{{{name|Inventory}}}{{#if:{{{name|}}}|<!--TRUE--> Inventory}}</h2> '''Number of Slots''' <p style="margin-left: 1.6em;">{{{slots|21}}} slot(s)</p> {{#if:{{{whitelist|}}}|'''Whitelisted Items'''<br/><p style="margin-left: 1.6em;">{{{whitelist}}}</p>|}}{{#if:{{{blacklist|}}}|'''Blacklisted Items'''<br/><p style="margin-left: 1.6em;">{{{blacklist}}}</p>|}}{{#ifeq:{{{nocat|}}}|true|<!--TRUE-->|<!--FALSE-->}}<noinclude> ==Usage== The Inventory template is meant...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
==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
<pre>{{InventoryNoCategories
|name=<Name of inventory>
|name=<Name of inventory>
|slots=<Number of slots>
|slots=<Number of slots>
Line 15: Line 15:
*Any of the attributes can be left out entirely. Slots will default to 21.
*Any of the attributes can be left out entirely. Slots will default to 21.
{{:Template Ordering}}
{{:Template Ordering}}
[[Category:Templates/No Categorization]]</noinclude>
[[Category:Templates/NoCategorization]]</noinclude>

Latest revision as of 23:06, 19 July 2022

Inventory

Number of Slots

21 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.

{{InventoryNoCategories
|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 21.

ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.