Template:InventoryItemRow/doc

From Anvil Empires Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

Usage

{{InventoryItemRow
|SourceCodeName=
|SlotAcceptedTags=
|SlotBlockedTags=
|SlotRequiredTags=
|SlotAmount=
|SlotStack=
|SlotDedicatedItem=
|SlotTitle=
}}

Details

Template for a structure inventory. Structures can have multiple inventories and thus multiple of these row templates. Creates a table row, should be called after a Template:InventoryItemHeader.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
SourceCodeNameSourceCodeName

Structure that contains the inventory.

Stringrequired
SlotAcceptedTagsSlotAcceptedTags

Comma delimited list of item tags accepted by this inventory.

Default
All
Stringrequired
SlotBlockedTagsSlotBlockedTags

Comma delimited list of item tags blocked by this inventory.

Stringsuggested
SlotRequiredTagsSlotRequiredTags

Comma delimited list of item tags required by this inventory.

Stringsuggested
SlotAmountSlotAmount

Amount of slots in this inventory.

Numberrequired
SlotStackSlotStack

Maximum number of items that can stack into this inventories slots.

Numberrequired
SlotDedicatedItemSlotDedicatedItem

Codename of the slots dedicated item.

Stringoptional
SlotTitleSlotTitle

Title/purpose of the slot.

Default
Inventory
Stringoptional
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.