Template:Infobox

From Istva Legends Wiki
Jump to navigation Jump to search

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

Code Output
{{Template:Infobox|title=TITLE
|above=ABOVE
|subheader=SUBHEADER
|image=[[File:Oocsymbol.png|200px]]
|caption=IMAGE_CAPTION
|header1=HEADER_1
|label1=LABEL_1
|data1=DATA_1
}}


TITLE
ABOVE
SUBHEADER
200px

IMAGE_CAPTION

HEADER_1
LABEL_1 DATA_1
| {{Infobox|title=TITLE
|above=ABOVE
|subheader=SUBHEADER
|image=[[File:Oocsymbol.png|200px]]
|caption=IMAGE_CAPTION
|header1=HEADER_1
|label1=LABEL_1
|data1=DATA_1
|label2=LABEL_2
|data2=DATA_2
|label3=LABEL_3
|data3=DATA_3
|header2=HEADER_2
|label4=LABEL_4
|data4=DATA_4
|label5=LABEL_5
|data5=DATA_5
|label6=LABEL_6
|data6=DATA_6
}}
TITLE
ABOVE
SUBHEADER
200px

IMAGE_CAPTION

HEADER_1
LABEL_1 DATA_1
LABEL_2 DATA_2
LABEL_3 DATA_3
HEADER_4
LABEL_4 DATA_4
LABEL_5 DATA_5
LABEL_6 DATA_6