Template:Infobox character/doc: Difference between revisions

From Tales from Chyria
No edit summary
No edit summary
Line 1: Line 1:
== Uses ==
{{Infobox
| above = {{{NAME}}}
| subheader = {{{SUBHEADER}}}
}}
<templatedata>
<templatedata>
{
{
Line 4: Line 10:
"above": {
"above": {
"aliases": [
"aliases": [
"Character Name"
"charactername"
],
],
"description": "Character name",
"description": "The character's name. Just their first name will do.",
"type": "line",
"suggested": true
},
"above2": {
"type": "string",
"type": "string",
"default": "CHARACTER NAME",
"aliases": [
"required": true
"native_name"
],
"description": "The character's native name, if not in Common."
},
"subheader": {
"type": "line"
},
"image": {
"description": "i.e; X.jpg, that is to say no [[Image:",
"type": "wiki-file-name"
},
"caption": {},
"species": {
"label": "[[species]]",
"type": "line",
"default": "What species the character is.",
"suggested": true
},
"gender": {
"type": "line"
},
},
"above2": {
"pronouns": {
"description": "We're woke in this house. What are this character's pronouns?",
"type": "string"
"type": "string"
},
},
"subheader": {},
"image": {},
"caption": {},
"species": {},
"gender": {},
"pronouns": {},
"age": {},
"age": {},
"sexuality": {},
"sexuality": {},
"born": {},
"born": {
"occupation": {}
"type": "string",
"default": "When and where they were born."
},
"occupation": {},
"factions": {
"description": "What factions or groups this character is part of.",
"type": "string"
},
"image_upright": {
"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": [
"above",
"above2",
"subheader",
"image",
"image_upright",
"landscape",
"caption",
"species",
"gender",
"pronouns",
"age",
"sexuality",
"born",
"occupation",
"factions"
]
}
}
</templatedata>
</templatedata>

Revision as of 01:08, 15 September 2025

Uses

{{{NAME}}}
{{{SUBHEADER}}}

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

no description

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

Unknownoptional
[[species]]species

no description

Default
What species the character is.
Linesuggested
gendergender

no description

Lineoptional
pronounspronouns

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

Stringoptional
ageage

no description

Unknownoptional
sexualitysexuality

no description

Unknownoptional
bornborn

no description

Default
When and where they were born.
Stringoptional
occupationoccupation

no description

Unknownoptional
factionsfactions

What factions or groups this character is part of.

Stringoptional