FANDOM


Documentation icon Template documentation[edit] [purge]
This documentation is transcluded from Template:Inventory/doc.
Template:Inventory invokes Module:Inventory using Lua.

This template provides basic formatting to display an inventory.

Usage

This template can be used by entering the following onto a relevant page.

{{Inventory|align=right
|Item1 |Item2 |Item3 |Item4
|Item5 |Item6 |Item7 |Item8
|Item9 |Item10 |Item11 |Item12
|Item13 |Item14 |Item15 |Item16
|Item17 |Item18 |Item19 |Item20
|Item21 |Item22 |Item23 |Item24
|Item25 |Item26 |Item27 |Item28
}}

To specify an amount for a stackable item, put a backslash and insert the amount after the backslash.

To align the inventory to a specific side, use the align parameter. For example, use |align=right to move the table to the right of the page.

To switch to a horizontal table, use |orient=h.

Examples

If you want to suggest an inventory for Ectofuntus trips, you could do the following:

Ectophial
Bones
BonesBonesBonesBones
BonesBonesBonesBones
{{Inventory|align=right
|Ectophial | | |
| | | |
| | | |
| | | |
| | | |Bones
|Bones |Bones |Bones |Bones
|Bones |Bones |Bones |Bones
}}

To specify an amount, use a backslash and enter the amount for that item. For example:

12CannonballSteel barSteel barSteel barSteel bar
Steel barSteel barSteel barSteel barSteel barSteel barSteel bar
Steel barSteel barSteel barSteel barSteel barSteel barSteel bar
Steel barSteel barSteel barSteel barSteel barSteel barSteel bar
{{Inventory|align=right|orient=h
|Cannonball\12 | | |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
}}

See also

Community content is available under CC-BY-SA unless otherwise noted.