Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
m (Protected "Template:Infobox": High traffic page: Will be used on many articles ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(Fix page break before infobox) |
||
(One intermediate revision by one other user not shown) | |||
Line 46: | Line 46: | ||
}} | }} | ||
</noinclude> | </noinclude>{{{!}} class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"<!-- | ||
{{{!}} class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"<!-- | |||
Caption | Caption | ||
-->{{#if:{{{title|}}}|<nowiki/> | -->{{#if:{{{title|}}}|<nowiki/> |
Latest revision as of 00:21, 3 February 2024
Usage
Parameters
There are some general 'styling' parameters, some 'title' and subtitle parameters, some 'image' parameters', and then parameters for each of the 80 possible 'rows'
Style
- bodyclass
- bodystyle
Title
- title
- titleclass
- titlestyle
- above
- aboveclass
- abovestyle
- subheader
- subheaderclass
- subheaderstyle
Image
- image
- imageclass
- imagestyle
- caption
- captionstyle
Rows
For all rows
- headerstyle
- labelstyle
- datastyle
For specific rows
For each of the 80 possible rows, replace the 'N' below with the number (e.g. 'header3', 'header80')
- headerN
- labelN
- dataN
- classN
Example
TITLE | |
ABOVE | |
SUBHEADER | |
File:Some image.jpg IMAGE_CAPTION | |
HEADER_1 | |
---|---|
LABEL_1 | DATA_1 |