Jump to content

Template:Infobox

From CinderRPG Wiki

A general information box for characters, places, factions, events or anything else.

{{Infobox
|title=Elder Morwen
|subtitle=Keeper of the Ember Codex
|header1=Details
|label1=Race|data1=Human
|label2=Location|data2=[[Ashen Library]]
|header3=Combat
|label3=Hostile|data3=No
|theme=ember
}}

Rows go up to 40 (label40, data40, header40). A row with data but no label spans the full width.

Result:

Elder Morwen
Keeper of the Ember Codex
Details
Race

Human

Location
Combat
Hostile

No


Part of the design kit.

A general information box for characters, places, factions, events or anything else.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Defaults to the page name.

Lineoptional
Subtitlesubtitle

Line under the title.

Lineoptional
Imageimage

Uploaded file name, without File:.

Fileoptional
Captioncaption

Text under the image.

Lineoptional
Image sizeimagesize

e.g. 260px.

Stringoptional
Widthwidth

Box width, e.g. 300px.

Stringoptional
Sidefloat

right (default) or left.

Suggested values
right left
Stringoptional
Header 1header1

Section header shown before row 1.

Lineoptional
Label 1label1

Left side of row 1.

Lineoptional
Data 1data1

Right side of row 1.

Contentoptional
Header 2header2

Section header shown before row 2.

Lineoptional
Label 2label2

Left side of row 2.

Lineoptional
Data 2data2

Right side of row 2.

Contentoptional
Header 3header3

Section header shown before row 3.

Lineoptional
Label 3label3

Left side of row 3.

Lineoptional
Data 3data3

Right side of row 3.

Contentoptional
Header 4header4

Section header shown before row 4.

Lineoptional
Label 4label4

Left side of row 4.

Lineoptional
Data 4data4

Right side of row 4.

Contentoptional
Header 5header5

Section header shown before row 5.

Lineoptional
Label 5label5

Left side of row 5.

Lineoptional
Data 5data5

Right side of row 5.

Contentoptional
Header 6header6

Section header shown before row 6.

Lineoptional
Label 6label6

Left side of row 6.

Lineoptional
Data 6data6

Right side of row 6.

Contentoptional
Header 7header7

Section header shown before row 7.

Lineoptional
Label 7label7

Left side of row 7.

Lineoptional
Data 7data7

Right side of row 7.

Contentoptional
Header 8header8

Section header shown before row 8.

Lineoptional
Label 8label8

Left side of row 8.

Lineoptional
Data 8data8

Right side of row 8.

Contentoptional
Belowbelow

Text at the bottom of the box.

Contentoptional
Themetheme

Colour theme for just this one. Leave empty to follow the page theme.

Suggested values
gold ember frost verdant arcane blood abyss holy shadow plague
Stringoptional
Colourcolour

Any colour like #55ccff. Overrides the theme.

Example
#55ccff
Stringoptional