Difference between revisions of "Template:Infobox"

From ChocolateQuestWiki
Jump to navigation Jump to search
(Create template)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{infobox
+
<includeonly>{{#invoke: infobox | infobox }}</includeonly><noinclude>
| title = box title, defaults to page's name
+
{{documentation}}
| imageN = Images displayed below the title. Supports animation. First image defaults to {{{title}}}.png. Set to "none" to remove.
+
<!-- Put categories/interwiki on the documentation page -->
| 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
 
}}
 

Latest revision as of 09:09, 17 June 2021

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 Template:Tl. 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 Template:Tl
| footer = optional centered footer that goes across both columns
}}