Template:InventoryItemRow

From Anvil Empires Wiki
Jump to navigation Jump to search

This template defines the table "inventorydata". View table.

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[Edit template data]

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
The above documentation is transcluded from Template:InventoryItemRow/doc.[edit | history | purge]