Template:Character/doc: Difference between revisions
Template page
More actions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 132: | Line 132: | ||
* Empty fields will not be displayed. | * Empty fields will not be displayed. | ||
* File names should be written without the "File:" prefix. | * File names should be written without the "File:" prefix. | ||
<templatedata> | |||
{ | |||
"description": "Infobox for character pages.", | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "Character's full name", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Main image file name (without File:)", | |||
"type": "string" | |||
}, | |||
"skin": { | |||
"label": "Skin", | |||
"description": "Alternate appearance image", | |||
"type": "string" | |||
}, | |||
"alias": { "label": "Aliases", "type": "string" }, | |||
"nickname": { "label": "Nicknames", "type": "string" }, | |||
"nationality": { "label": "Nationality", "type": "string" }, | |||
"ethnicity": { "label": "Ethnicity", "type": "string" }, | |||
"residence": { "label": "Residence", "type": "string" }, | |||
"age": { "label": "Age", "type": "string" }, | |||
"birth": { "label": "Born", "type": "string" }, | |||
"death": { "label": "Died", "type": "string" }, | |||
"height": { "label": "Height", "type": "string" }, | |||
"eyes": { "label": "Eye color", "type": "string" }, | |||
"hair": { "label": "Hair color", "type": "string" }, | |||
"skincolor": { "label": "Skin color", "type": "string" }, | |||
"skintype": { "label": "Skin type", "type": "string" }, | |||
"pronouns": { "label": "Pronouns", "type": "string" }, | |||
"loveinterest": { "label": "Love interests", "type": "string" }, | |||
"allies": { "label": "Allies", "type": "string" }, | |||
"enemies": { "label": "Enemies", "type": "string" }, | |||
"relatives": { "label": "Relatives", "type": "string" }, | |||
"weapon": { "label": "Weapon of choice", "type": "string" }, | |||
"fightingstyle": { "label": "Fighting styles", "type": "string" }, | |||
"profession": { "label": "Profession", "type": "string" }, | |||
"position": { "label": "Position", "type": "string" }, | |||
"reign": { "label": "Reign", "type": "string" }, | |||
"pred": { "label": "Predecessor", "type": "string" }, | |||
"success": { "label": "Successor", "type": "string" }, | |||
"affiliation": { "label": "Affiliation", "type": "string" } | |||
} | |||
} | |||
</templatedata> | |||
Revision as of 18:07, 28 April 2026
Character Infobox Template Documentation
This template creates an infobox for character pages, including biographical, physical, personal, and political information.
Usage
Place the template at the top of a character page:
{{Character Infobox
| name =
| image =
| skin =
| alias =
| nickname =
| nationality =
| ethnicity =
| residence =
| age =
| birth =
| death =
| height =
| eyes =
| hair =
| skincolor =
| skintype =
| pronouns =
| loveinterest=
| allies =
| enemies =
| relatives =
| weapon =
| fightingstyle =
| profession =
| position =
| reign =
| pred =
| success =
| affiliation =
}}
Image Behavior
The template supports two image fields:
- image - Main/default artwork
- skin - The Character's Skin
Parameters
Basic
- name - Character’s full name, displayed as title
- image - Main image file name (without "File:")
- skin - Skin image file name
Biographical Information
- alias - Alternative names
- nickname - Informal names
- nationality - National identity
- ethnicity - Ethnic background
- residence - Current residence
- age - Age
- birth - Birth date or details
- death - Death date (if applicable)
Physical Description
- height - Height
- eyes - Eye color
- hair - Hair color
- skincolor - Skin color
- skintype - Skin type or texture
Personal Information
- pronouns - Pronouns used
- loveinterest - Romantic interests
- allies - Friends or allies
- enemies - Rivals or enemies
- relatives - Family members
- weapon - Weapon of choice
- fightingstyle - Combat style(s)
Political Information
- profession - Occupation
- position - Official role/title
- reign - Period of rule (if applicable)
- pred - Predecessor
- success - Successor
- affiliation - Group, faction, or organization
Example
{{Character Infobox
| name = Human Name
| image = Huamn.png
| skin = Human_Skin.png
| alias = The Event Wrecker
| nationality = Imagi-Nation
| age = 32
| height = 180 cm
| eyes = Blue
| hair = Black
| allies = Shlomper The Stomper, Boopy Droper
| enemies = The Wilted Rose
| weapon = Spear
| profession = Emperor
| affiliation = The White Lotus
}}
Tips
- All the parameters are optional.
- Empty fields will not be displayed.
- File names should be written without the "File:" prefix.
Infobox for character pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Character's full name | String | required |
| Image | image | Main image file name (without File:) | String | optional |
| Skin | skin | Alternate appearance image | String | optional |
| Aliases | alias | no description | String | optional |
| Nicknames | nickname | no description | String | optional |
| Nationality | nationality | no description | String | optional |
| Ethnicity | ethnicity | no description | String | optional |
| Residence | residence | no description | String | optional |
| Age | age | no description | String | optional |
| Born | birth | no description | String | optional |
| Died | death | no description | String | optional |
| Height | height | no description | String | optional |
| Eye color | eyes | no description | String | optional |
| Hair color | hair | no description | String | optional |
| Skin color | skincolor | no description | String | optional |
| Skin type | skintype | no description | String | optional |
| Pronouns | pronouns | no description | String | optional |
| Love interests | loveinterest | no description | String | optional |
| Allies | allies | no description | String | optional |
| Enemies | enemies | no description | String | optional |
| Relatives | relatives | no description | String | optional |
| Weapon of choice | weapon | no description | String | optional |
| Fighting styles | fightingstyle | no description | String | optional |
| Profession | profession | no description | String | optional |
| Position | position | no description | String | optional |
| Reign | reign | no description | String | optional |
| Predecessor | pred | no description | String | optional |
| Successor | success | no description | String | optional |
| Affiliation | affiliation | no description | String | optional |