Template:Infobox/doc

From The Blockheads Wiki
Revision as of 15:50, 6 August 2024 by JarlPenguin (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 | 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 the above images. Defaults to 150px. | image''N''size = Sets the size of the corres...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
| 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
}}