Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Character/doc: Difference between revisions

Template page
Pgini (talk | contribs)
No edit summary
Pgini (talk | contribs)
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.

Template parameters

ParameterDescriptionTypeStatus
Namename

Character's full name

Stringrequired
Imageimage

Main image file name (without File:)

Stringoptional
Skinskin

Alternate appearance image

Stringoptional
Aliasesalias

no description

Stringoptional
Nicknamesnickname

no description

Stringoptional
Nationalitynationality

no description

Stringoptional
Ethnicityethnicity

no description

Stringoptional
Residenceresidence

no description

Stringoptional
Ageage

no description

Stringoptional
Bornbirth

no description

Stringoptional
Dieddeath

no description

Stringoptional
Heightheight

no description

Stringoptional
Eye coloreyes

no description

Stringoptional
Hair colorhair

no description

Stringoptional
Skin colorskincolor

no description

Stringoptional
Skin typeskintype

no description

Stringoptional
Pronounspronouns

no description

Stringoptional
Love interestsloveinterest

no description

Stringoptional
Alliesallies

no description

Stringoptional
Enemiesenemies

no description

Stringoptional
Relativesrelatives

no description

Stringoptional
Weapon of choiceweapon

no description

Stringoptional
Fighting stylesfightingstyle

no description

Stringoptional
Professionprofession

no description

Stringoptional
Positionposition

no description

Stringoptional
Reignreign

no description

Stringoptional
Predecessorpred

no description

Stringoptional
Successorsuccess

no description

Stringoptional
Affiliationaffiliation

no description

Stringoptional