Template:Infobox/doc

From Caves of Qud Wiki
Jump to navigation Jump to search
Template-info.png Documentation

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

Uses Module:Infobox.

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}}}.
| imagearea = Completely replaces the functionality of the above 3 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
}}

Example

{{infobox
| title = Infobox
| image = Asphodel.png
| rows = 
{{infobox row|label 1|data 1}}
{{infobox row|label 2|data 2}}
{{infobox row|label 3|data 3}}
| footer = footer
}}
Infobox
Asphodel.png
Label 1

data 1

Label 2

data 2

Label 3

data 3