Template:Infobox: Difference between revisions
ZigZagSector (talk | contribs) (Created page with "{{{!}} class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"<!-- Caption -->{{#if:{{{ti...") |
(No difference)
|
Latest revision as of 05:38, 20 May 2021
Usage[edit]
Parameters[edit]
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[edit]
- bodyclass
- bodystyle
Title[edit]
- title
- titleclass
- titlestyle
- above
- aboveclass
- abovestyle
- subheader
- subheaderclass
- subheaderstyle
Image[edit]
- image
- imageclass
- imagestyle
- caption
- captionstyle
Rows[edit]
For all rows[edit]
- headerstyle
- labelstyle
- datastyle
For specific rows[edit]
For each of the 80 possible rows, replace the 'N' below with the number (e.g. 'header3', 'header80')
- headerN
- labelN
- dataN
- classN
Example[edit]
| Code | Output | |||||||
|---|---|---|---|---|---|---|---|---|
|
title=TITLE | above=ABOVE | subheader=SUBHEADER | image=File:Some image.jpg | caption=IMAGE_CAPTION | header1=HEADER_1 | label1=LABEL_1 | data1=DATA_1
}} |