Difference between revisions of "Template:Documentation"

From ChocolateQuestWiki
Jump to navigation Jump to search
m
Line 2: Line 2:
  
 
{<nowiki/>{infobox
 
{<nowiki/>{infobox
| title = box title, defaults to page's name
+
| 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.
+
| image''N'' = Images displayed below the title. Supports [[Template:Animate|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.
+
| defaultimagesize = Set the default size used by the above images. Defaults to 150px.
| imageNsize = Sets the size of the corresponding image, overriding {{{defaultimagesize}}}.
+
| image''N''size = 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.
+
| invimage''N'' = Invimages displayed under the images, using {{tl|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
+
| 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}}
+
| rows = all rows go here using {{tl|infobox row}}
| footer = optional centered footer that goes across both columns
+
| footer = optional centered footer that goes across both columns
}}
+
}}

Revision as of 09:11, 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
}}