Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 21:02, 26 November 2024 by imported>NmF
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Lua

Usage

For chest-like containers with an option to add player inventory.

{{Container
|Grass Block
|Stone
|Dirt
}}

Produces: Template:Container

{{Container
|title = Inventory
|Grass Block
|Stone
|Dirt
}}

Produces: Template:Container

<templatedata> { "params": { "1": { "label": "1", "description": "First block or item. 2, 3 etc are used for next additions.", "example": "Copper Stairs", "type": "wiki-page-name", "required": true }, "title": { "label": "Title", "description": "Replace \"Chest\" with display title.", "example": "Inventory", "type": "string" } }, "description": "Lists additions in version" } </templatedata>

See also

Container-based
Template:Sandbox other
The above text is transcluded from Template:MC/Container/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Container/doc. (View all subpages of this page.)