Template:Infobox character/doc: Difference between revisions

From Tales from Chyria
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Uses ==
== Uses ==
{{Infobox
{{Infobox character
| above = {{{NAME}}}
| bodyclass    = biography vcard
| subheader = {{{SUBHEADER}}}
| 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|}}}
 
| headerstyle  = background-color: #ADD8E6;color:inherit;line-height:normal;padding:0.2em;
 
| header1      = Basic Info
 
| label2      = Age
|  data2      = {{{age|}}}
 
| label3      = Species
|  data3      = {{{species|}}}
 
| label4      = Gender
|  data4      = {{{gender|}}}
 
| label5      = Pronouns
|  data5      = {{{pronouns|}}}
 
| label6      = Birthplace
|  data6      = {{{birthplace|}}}
 
| label7      = Occupation
|  data7      = {{{occupation|}}}
 
| label8      = Factions
|  data8      = {{{factions|}}}
}}
}}


<templatedata>
<templatedata>
{
{
"params": {
"params": {
"above": {
"aliases": [
"charactername"
],
"description": "The character's name. Just their first name will do.",
"type": "line",
"suggested": true
},
"above2": {
"type": "string",
"aliases": [
"native_name"
],
"description": "The character's native name, if not in Common."
},
"subheader": {
"type": "line"
},
"image": {
"image": {
"description": "i.e; X.jpg, that is to say no [[Image:",
"description": "i.e; X.jpg, that is to say no [[Image:",
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},
"caption": {},
"caption": {
"species": {
"type": "string",
"label": "[[species]]",
"description": "Caption the image!"
},
"name": {
"description": "The character's name. Just their first name will do.",
"type": "line",
"type": "line",
"default": "What species the character is.",
"suggested": true
"suggested": true
},
},
"gender": {
"title": {},
"type": "line"
"age": {
"type": "string"
},
"species": {
"description": "The character's species. Link to the species!",
"type": "string"
},
},
"birthplace": {},
"pronouns": {
"pronouns": {
"description": "We're woke in this house. What are this character's pronouns?",
"type": "string"
"type": "string"
},
},
"age": {},
"gender": {
"sexuality": {},
"type": "string"
"born": {
"type": "string",
"default": "When and where they were born."
},
},
"occupation": {},
"occupation": {
"factions": {
"description": "What factions or groups this character is part of.",
"type": "string"
"type": "string"
},
},
"image_upright": {
"factions": {}
"description": "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%).",
"example": "1.15",
"type": "number",
"default": "1"
},
"landscape": {
"description": "Set to yes when using wide, short images. The image height (rather than width) will be limited to 200 pixels.",
"type": "boolean"
}
},
},
"description": "The main infobox for the bulk of characters on this wiki!",
"description": "The main infobox for the bulk of characters on this wiki!",
"format": "{{_\n| ________________ = _\n}}\n",
"format": "{{_\n| ________________ = _\n}}\n",
"paramOrder": [
"paramOrder": [
"above",
"name",
"above2",
"title",
"subheader",
"image",
"image",
"image_upright",
"landscape",
"caption",
"caption",
"age",
"species",
"species",
"gender",
"gender",
"pronouns",
"pronouns",
"age",
"birthplace",
"sexuality",
"born",
"occupation",
"occupation",
"factions"
"factions"
Line 87: Line 90:
}
}
</templatedata>
</templatedata>
[[Category:Infobox_templates]]

Latest revision as of 20:14, 11 October 2025

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

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
namename

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

Linesuggested
titletitle

no description

Unknownoptional
imageimage

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

Fileoptional
captioncaption

Caption the image!

Stringoptional
ageage

no description

Stringoptional
speciesspecies

The character's species. Link to the species!

Stringoptional
gendergender

no description

Stringoptional
pronounspronouns

no description

Stringoptional
birthplacebirthplace

no description

Unknownoptional
occupationoccupation

no description

Stringoptional
factionsfactions

no description

Unknownoptional