Difference between revisions of "Template:Infobox/doc"
From BESA® Wiki
Line 1: | Line 1: | ||
− | + | {{documentation header}} | |
+ | {{lua}} | ||
+ | This is a skeleton for infoboxes, for use in other infobox templates or standalone. | ||
− | ==Usage== | + | == Usage == |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | {<nowiki/>{infobox | |
− | { | + | | title = box title, defaults to page's name |
− | + | | 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. | |
− | + | | image''n''size = Sets the size of the corresponding image, overriding {{{defaultimagesize}}}. | |
− | + | | invimage''n'' = Invimages displayed under the images, using {{tl|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 | |
− | |title | + | | rows = all rows go here using {{tl|infobox row}} |
− | + | | footer = optional centered footer that goes across both columns | |
− | + | }} | |
− | + | ||
− | |image | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + | ||
− | + | ||
− | {{ | + | |
− | + | ||
− | + | ||
− | }} | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | |image= | + | |
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + | ||
− | + | ||
− | {{ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }} | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + | ||
− | + | ||
− | { | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }} | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + | ||
− | + | ||
− | {{ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }} | + | |
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | <includeonly> | ||
+ | <!-- Template categories/interwiki --> | ||
+ | [[Category:Infobox templates|*]] | ||
+ | [[de:Vorlage:Infobox]] | ||
+ | [[es:Plantilla:Infobox]] | ||
+ | [[fr:Modèle:Infobox common]] | ||
+ | </includeonly> | ||
<noinclude> | <noinclude> | ||
− | [[ | + | <!-- Documentation categories/interwiki --> |
+ | [[fr:Modèle:Infobox common/doc]] | ||
</noinclude> | </noinclude> |
Revision as of 13:05, 24 July 2015
Script error Script error This is a skeleton for infoboxes, for use in other infobox templates or standalone.
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 }}