Template:Infobox/doc

From TibiaCraft
Revision as of 19:17, 4 October 2025 by Root (talk | contribs) (Created page with "{{documentation header}} {{lua}} This is a skeleton for infoboxes, for use in other infobox templates. == Usage == {<nowiki/>{infobox | title = box title, defaults to page's name | group''N'' = Grouping label. | ''N''-''n'' = Images to display for group ''N''. | image''N'' = Images displayed below the title. Supports animation. First image defaults to {{{title}}}.png. Set to "none" to remove. | defaultimagesize = Set the default size used by t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
This is the documentation page. It should be transcluded into Template:Infobox. See Template:Documentation for more information.
This template uses Module:Infobox, a script written in Lua.

This is a skeleton for infoboxes, for use in other infobox templates.

Usage

{{infobox
| title = box title, defaults to page's name
| groupN = Grouping label.
| N-n = Images to display for group N.
| imageN = Images displayed below the title. Supports animation. First image defaults to {{{title}}}.png. Set to "none" to remove.
| defaultimagesize = Set the default size used by the above images. Defaults to 150px.
| imageNsize = Sets the size of the corresponding image, overriding {{{defaultimagesize}}}.
| invimageN = Invimages displayed under the images, using {{Inventory slot}}. Set to "----" to add a line break. First invimage defaults to {{{title}}}, set to "none" to remove.
| imagearea = Completely replaces the functionality of the above 4 parameters, leaving a blank canvas below the title to put whatever
| rows = all rows go here using {{infobox row}}
| footer = optional centered footer that goes across both columns
}}