Jump to content

Wikipedia:WikiProject Transwiki/Template:Infobox

From Wikipedia, the free encyclopedia

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
{{Wikipedia:WikiProject_Transwiki/Template:Infobox|title=TITLE
|above=ABOVE
|subheader=SUBHEADER
|image=[[Image:Example.jpg]]
|caption=IMAGE_CAPTION
|header1=HEADER_1
|label1=LABEL_1
|data1=DATA_1
}}
TITLE
ABOVE
SUBHEADER

IMAGE_CAPTION

HEADER_1
LABEL_1 DATA_1