Template:Infobox character/doc: Difference between revisions

From Tales from Chyria
No edit summary
Line 1: Line 1:
== Uses ==
== Uses ==
{{Infobox
{{Infobox
  |name         = Infobox/doc
  | bodyclass    = biography vcard
  |bodystyle    =  
| abovestyle  = background: #ADD8E6;color:inherit;font-size: 125%
| above        = {{{name}}}
| subheader    = {{{title}}}
| image        =
| captionstyle = line-height:normal;padding-bottom:0.2em;padding-top:0.2em;
  | caption      = {{{caption|}}}


  |titlestyle  =
  | headerstyle = background-color: #ADD8E6;color:inherit;line-height:normal;padding:0.2em;
  |abovestyle  = background: #cfc;
|subheaderstyle =
|title        = Test Infobox
|above        = Above text
|subheader    = Subheader above image
|subheader2  = Second subheader


  |imagestyle  =
  | header1     = Basic Info
|captionstyle =
|image        = [[File:Example-serious.jpg|200px|alt=Example alt text]]
|caption     = Caption displayed below File:Example-serious.jpg


  |headerstyle  = background: #ccf;
  | label2      = Age
  |labelstyle  = background: #ddf;
  | data2      = {{{age|}}}
|datastyle    =


|header1 = Header defined alone
  | label3       = Species
| label1 =
  |  data3       = {{{species|}}}
|  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;
  | label4      = Gender
  |below      = Below text
  | data4      = {{{gender|}}}
 
| label5      = Pronouns
|  data5      = {{{pronouns|}}}
 
| label6      = Birthplace
|  data6      = {{{birthplace|}}}
 
| label7      = Occupation
|  data7      = {{{occupation|}}}
}}
}}


<templatedata>
<templatedata>

Revision as of 16:01, 16 September 2025

Uses

{{{name}}}
{{{title}}}
Basic Info


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