Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
m (remove cargo store template - it is handled in the module now instead) |
m (note about cargo storage) |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke: infobox | infobox }}</includeonly><noinclude>{{#cargo_declare:_table=VersHistInfobox|Version=String}} | <includeonly>{{#invoke: infobox | infobox }}</includeonly><noinclude>{{#cargo_declare:_table=VersHistInfobox|Version=String}}<!-- The actual cargo storage happens within Module:Infobox rather than here, because many of the main wiki templates invoke that module directly and bypass this template --> | ||
{{doc}} | {{doc}} | ||
<!-- Put categories/interwiki on the documentation page --> | <!-- Put categories/interwiki on the documentation page --> | ||
</noinclude> | </noinclude> |
Latest revision as of 19:54, 22 December 2021
This template defines the table "VersHistInfobox". View table.
Documentation
[purge]
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 }}