Template:Infobox/doc: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
imported>Kittymmeow
(Created page with "{{documentation header}} {{lua}} This is a skeleton for infoboxes, for use in other infobox templates or standalone. Adapted from [https://minecraft.gamepedia.com/Template:In...")
 
imported>Kittymmeow
No edit summary
Line 1: Line 1:
{{documentation header}}
{{lua}}
This is a skeleton for infoboxes, for use in other infobox templates or standalone.
This is a skeleton for infoboxes, for use in other infobox templates or standalone.



Revision as of 08:46, 23 May 2019

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

Adapted from Minecraft Wiki.

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 {{grid}}. 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
}}