Template:Infobox character/doc: Difference between revisions

From Tales from Chyria
No edit summary
Line 1: Line 1:
== Uses ==
== Uses ==
{{Infobox
{{Infobox
| above = {{{NAME}}}
|name        = Infobox/doc
| subheader = {{{SUBHEADER}}}
|bodystyle    =
 
|titlestyle  =
|abovestyle  = background: #cfc;
|subheaderstyle =
|title        = Test Infobox
|above       = Above text
|subheader    = Subheader above image
|subheader2  = Second subheader
 
|imagestyle  =
|captionstyle =
|image        = [[File:Example-serious.jpg|200px|alt=Example alt text]]
|caption      = Caption displayed below File:Example-serious.jpg
 
|headerstyle  = background: #ccf;
|labelstyle  = background: #ddf;
|datastyle    =
 
|header1 = Header defined alone
| label1 =
|  data1 =
|header2 =
| label2 = Label defined alone does not display (needs data, or is suppressed)
|  data2 =
|header3 =
| label3 =
|  data3 = Data defined alone
|header4 = All three defined (header, label, data, all with same number)
| label4 = does not display (same number as a header)
|  data4 = does not display (same number as a header)
|header5 =
| label5 = Label and data defined (label)
|  data5 = Label and data defined (data)
| label6 = skldfjfdsjklfdkslj
|  data6 = awerikuhasdfijkl
 
|belowstyle = background: #ddf;
|below      = Below text
}}
}}



Revision as of 01:58, 15 September 2025

Uses

Test Infobox
Above text
Subheader above image
Second subheader
Example alt text
Caption displayed below File:Example-serious.jpg
Header defined alone
Data defined alone
All three defined (header, label, data, all with same number)
Label and data defined (label)Label and data defined (data)
skldfjfdsjklfdksljawerikuhasdfijkl
Below text

The main infobox for the bulk of characters on this wiki!

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
aboveabove charactername

The character's name. Just their first name will do.

Linesuggested
above2above2 native_name

The character's native name, if not in Common.

Stringoptional
subheadersubheader title

If this character has a title, official or otherwise, list it here.

Lineoptional
imageimage

i.e; X.jpg, that is to say no [[Image:

Fileoptional
image_uprightimage_upright

Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).

Default
1
Example
1.15
Numberoptional
landscapelandscape

Set to yes when using wide, short images. The image height (rather than width) will be limited to 200 pixels.

Booleanoptional
captioncaption

no description

Stringoptional
[[Species|Races]]species

What species the character is.

Linesuggested
Gendergender

What's their gender?

Linesuggested
Pronounspronouns

We're woke in this house. What are this character's pronouns?

Example
He/Him
Stringoptional
AgeAge

no description

Lineoptional
BornBorn

no description

Stringoptional
Sexualitysexuality

no description

Linesuggested
Occupationoccupation

no description

Unknownoptional
factionsfactions

What factions or groups this character is part of.

Stringoptional