Try the new AI-powered WikiChat today at Special:AskQuestion.

Template:Infobox

From MyWikis Testing
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
{{Infobox|title=Title
|above=Above
|subheader=Subheader
|image=[[File:Wiki.png]]
|caption=Image caption
|header1=Header 1
|label1=Label 1
|data1=Data 1
|header2=Header 2
|label2=Label 2
|data2=Data 2
}}
Title
Above
Subheader
Wiki.png

Image caption

Header 1
Label 1 Data 1
Header 2
Label 2 Data 2