Template:Infobox character/doc: Difference between revisions

From The Soulbreach Algorithm
mirahaze>TheCreepingEther
 
m (1 revision imported)
 
(No difference)

Latest revision as of 20:45, 6 September 2024

Template:Mbox

Infobox character is used to create an infobox for a fictional character of any type.

Usage

The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page.

{{{name}}}
{{{series}}} character
{{{image}}}
{{{caption}}}
First appearance"{{{first_minor}}}"
{{{first_major}}}
{{{first_date}}}
Last appearance"{{{last_minor}}}"
{{{last_major}}}
{{{last_date}}}
Created by{{{creator}}}
Based on{{{based_on}}}
Adapted by{{{adapted_by}}}
Designed by{{{designer}}}
Portrayed by{{{portrayer}}}
Voiced by{{{voice}}}
Motion capture{{{motion_actor}}}
In-universe information
Full name{{{full_name}}}
Alias{{{alias}}}
Nickname{{{nickname}}}
Species{{{species}}}
Gender{{{gender}}}
Title{{{title}}}
Occupation{{{occupation}}}
Affiliation{{{affiliation}}}
Fighting style{{{fighting_style}}}
Weapon{{{weapon}}}
Family{{{family}}}
Spouse{{{spouse}}}
Significant other{{{significant_other}}}
Children{{{children}}}
Relatives{{{relatives}}}
Religion{{{religion}}}
Origin{{{origin}}}
Nationality{{{nationality}}}

<syntaxhighlight lang="html" style="overflow:auto">

Template:PAGENAMEBASE

</syntaxhighlight>

Parameters

All parameters are optional.

Parameter Notes
color Background color for header bars (default = #DEDEE2). The text color is automatically determined. Must meet AAA compliance standards outlines on WP:COLOR.
name Character name to display in top header (default = PAGENAME).
series Name of the series in which the character appears.
franchise Name of the fictional world or story in which the character appears. Does not italicize title.
multiple Set to yes if the infobox describes more than one character.
image Image of the character. "File:" and wikilinking is not required. i.e. use |image=Example.png.
image_upright The image size defaults to frameless (220px). The size should not be set to a value that would result in an image width greater than 270px.
alt Alt text for image
caption A caption explaining the image.
first_major The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games.
first_minor The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions.
first_issue The number of the comic book issue the fictional element first appeared in.
first_date The date of the publication/release of the minor work where the fictional element first appeared in.
last_major The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games.
last_minor The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions.
last_issue The number of the comic book issue the fictional element last appeared in.
last_date The date of the publication/release of the minor work where the fictional element last appeared in.
first First appearance of the character.
firstgame First appearance in a game of the character.
last Last appearance of the character.
creator Name of the individuals who are credited with the creation of the character.
based_on Name of the original character the adaptation is based on. Use this field in conjunction with |adapted_by=.
adapted_by Name of the individuals who adapted the character into a new medium. Use this field if the character in a medium is based on a character from a different medium, such as a character on television based on a comic book character.
designer Name of the individuals who designed the character.
portrayer Name of the individuals who portrayed the character.
voice Name of the individuals who voiced the character. Should be omitted if the same as "portrayer".
motion_actor Name of the individuals who portrayed the character in motion capture.
noinfo Disable the first "In-universe information" header.
info-hdr Text for display in second header (default = Information).
full_name The character's full name.
nickname/nicknames Any nicknames used by the character.
alias/aliases Any aliases used by the character.
species/race The species or race of the character. Use for non-human characters only.
gender The gender of the character. Use only if not obvious.
title Titles the character was known by.
occupation/position The character's job or role.
class The character class for RPG characters.
affiliation The groups or teams the character belongs to.
alignment The character's Dungeons & Dragons alignment.
fighting_style The primary fighting styles used by the character.
weapon The types of weapons the character uses.
family The character's family members.
spouse/spouses The character's spouses.
significant_other/significant_others The character's significant others.
children The characters's children.
relatives The characters's relatives.
religion The character's religion.
origin/home The character's place of origin.
nationality The character's nationality.
extra-hdr Text for display in third header (default = No third header).
lbl# Label to display in left column where "#" is 1-5, 21-25, or 31-35 for custom fields under the 1st, 2nd, or 3rd headers respectively.
data# Text to display in the right column corresponding to the appropriate "lbl#".

TemplateData

<templatedata> { "description": "Creates an infobox for a fictional character of any type.", "params": { "color": { "label": "Color", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines on WP:COLOR.", "aliases": [ "colour" ] }, "series": { "label": "Series", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Name of the series in which the character appears." }, "franchise": { "label": "Franchise", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Name of the fictional world or story in which the character appears. Does not italicize title." }, "multiple": { "label": "Multiple", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Set to yes if the infobox describes more than one character." }, "image": { "label": "Image", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Image of the character. \"File:\" and wikilinking is not required. i.e. use |image=Example.png." }, "image_upright": { "label": "Image upright", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The image size defaults to frameless (220px). The size should not be set to a value that would result in an image width greater than 270px." }, "alt": { "label": "Alt", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Alt text for image per WP:MOSALT." }, "caption": { "label": "Caption", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "A caption explaining the image." }, "first_major": { "label": "First appearance major", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games." }, "first_minor": { "label": "First appearance minor", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions." }, "first_issue": { "label": "First appearance issue", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The number of the comic book issue the fictional element first appeared in." }, "first_date": { "label": "First appearance date", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The date of the publication/release of the minor work where the fictional element first appeared in." }, "last_major": { "label": "Last appearance major", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games." }, "last_minor": { "label": "Last appearance minor", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions." }, "last_issue": { "label": "Last appearance issue", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The number of the comic book issue the fictional element last appeared in." }, "last_date": { "label": "Last appearance date", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The date of the publication/release of the minor work where the fictional element last appeared in." }, "first": { "label": "First appearance", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "First appearance of the character." }, "firstgame": { "label": "First game", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "First appearance in a game of the character." }, "last": { "label": "Last appearance", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Last appearance of the character." }, "creator": { "label": "Creator", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Name of the individuals who are credited with the creation of the character." }, "based_on": { "label": "Based on", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Name of the original character the adaptation is based on. Use Template:Based on to add the title of original character and the names of the original creators. Use this field in conjunction with |adapted_by=." }, "adapted_by": { "label": "Adapted by", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Name of the individuals who adapted the character into a new medium. Use this field if the character in a medium is based on a character from a different medium, such as a character on television based on a comic book character." }, "designer": { "label": "Designer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Name of the individuals who designed the character." }, "portrayer": { "label": "Portrayer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Name of the individuals who portrayed the character." }, "voice": { "label": "Voice actor", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Name of the individuals who voiced the character (if different from portrayer or there is no portrayer)" }, "motion_actor": { "label": "Motion actor", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Name of the individuals who portrayed the character in motion capture." }, "lbl1": { "label": "Label 1", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Label to display in left column for custom fields under the 1st header." }, "data1": { "label": "Data 1", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Text to display in the right column corresponding to lbl1." }, "lbl2": { "label": "Label 2", "inherits": "lbl1" }, "data2": { "label": "Data 2", "description": "Text to display in the right column corresponding to lbl2.", "inherits": "data1" }, "lbl3": { "label": "Label 3", "inherits": "lbl1" }, "data3": { "label": "Data 3", "description": "Text to display in the right column corresponding to lbl3.", "inherits": "data1" }, "lbl4": { "label": "Label 4", "inherits": "lbl1" }, "data4": { "label": "Data 4", "description": "Text to display in the right column corresponding to lbl4.", "inherits": "data1" }, "lbl5": { "label": "Label 5", "inherits": "lbl1" }, "data5": { "label": "Data 5", "description": "Text to display in the right column corresponding to lbl5.", "inherits": "data1" }, "noinfo": { "label": "Disable second header", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Disable the first \"In-universe information\" header." }, "info-hdr": { "label": "Second header text", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Text for display in second header (default = Information)." }, "full_name": { "label": "Full name", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's full name." }, "nickname": { "label": "Nickname", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "A nickname used by the character. If there is more than one nickname, use |nicknames=." }, "nicknames": { "label": "Nicknames", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Any nicknames used by the character. If there is only one nickname, use |nickname=." }, "alias": { "label": "Alias", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "An alias used by the character. If there is more than one alias, use |aliases=." }, "aliases": { "label": "Alias", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Any aliases used by the character. If there is only one alias, use |alias=." }, "species": { "label": "Species", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The species of the character. Use for non-human characters only." }, "race": { "label": "Race", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The race of the character. Use for non-human characters only." }, "gender": { "label": "Gender", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The gender of the character. Use only if not obvious." }, "title": { "label": "Title", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Titles the character was known by." }, "occupation": { "label": "Occupation", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's job or role." }, "position": { "label": "Position", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's job or role." }, "class": { "label": "Class", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character class for RPG characters." }, "affiliation": { "label": "Affiliation", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The groups or teams the character belongs to." }, "alignment": { "label": "Alignment", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's Dungeons & Dragons alignment." }, "fighting_style": { "label": "Fighting style", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The primary fighting styles used by the character." }, "weapon": { "label": "Weapon", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The types of weapons the character uses." }, "family": { "label": "Family", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's family members." }, "spouse": { "label": "Spouse", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's spouses." }, "spouses": { "label": "Spouses", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's spouses." }, "significant_other": { "label": "Significant other", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's significant others. If there is more than one significant_other, use |significant_others=." }, "significant_others": { "label": "Significant others", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's significant others. If there is only one significant_other, use |significant_other=." }, "children": { "label": "Children", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The characters's children" }, "relatives": { "label": "Relatives", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The characters's relatives" }, "religion": { "label": "Religion", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's religion" }, "origin": { "label": "Origin", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's place of origin." }, "home": { "label": "Home", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's place of origin." }, "nationality": { "label": "Nationality", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The character's nationality." }, "lbl21": { "label": "Label 21", "description": "Label to display in left column for custom fields under the 2nd header.", "inherits": "lbl1" }, "data21": { "label": "Data 21", "description": "Text to display in the right column corresponding to lbl21.", "inherits": "data1" }, "lbl22": { "label": "Label 22", "inherits": "lbl21" }, "data22": { "label": "Data 22", "description": "Text to display in the right column corresponding to lbl22.", "inherits": "data1" }, "lbl23": { "label": "Label 23", "inherits": "lbl21" }, "data23": { "label": "Data 23", "description": "Text to display in the right column corresponding to lbl23.", "inherits": "data1" }, "lbl24": { "label": "Label 24", "inherits": "lbl21" }, "data24": { "label": "Data 24", "description": "Text to display in the right column corresponding to lbl24.", "inherits": "data1" }, "lbl25": { "label": "Label 25", "inherits": "lbl21" }, "data25": { "label": "Data 25", "description": "Text to display in the right column corresponding to lbl25.", "inherits": "data1" }, "extra-hdr": { "label": "Third header text", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Text for display in third header (default = No third header)." }, "lbl31": { "label": "Label 31", "description": "Label to display in left column for custom fields under the 3rd header.", "inherits": "lbl22" }, "data31": { "label": "Data 31", "description": "Text to display in the right column corresponding to lbl31.", "inherits": "data1" }, "lbl32": { "label": "Label 32", "inherits": "lbl31" }, "data32": { "label": "Data 32", "description": "Text to display in the right column corresponding to lbl32.", "inherits": "data1" }, "lbl33": { "label": "Label 33", "inherits": "lbl31" }, "data33": { "label": "Data 33", "description": "Text to display in the right column corresponding to lbl33.", "inherits": "data1" }, "lbl34": { "label": "Label 34", "inherits": "lbl31" }, "data34": { "label": "Data 34", "description": "Text to display in the right column corresponding to lbl34.", "inherits": "data1" }, "lbl35": { "label": "Label 35", "inherits": "lbl31" }, "data35": { "label": "Data 35", "description": "Text to display in the right column corresponding to lbl35.", "inherits": "data1" }, "fullname": { "label": "Name", "description": "Character name to display in top header (default = PAGENAME).", "type": "string" } }, "paramOrder": [ "color", "fullname", "series", "franchise", "multiple", "image", "image_upright", "alt", "caption", "first_major", "first_minor", "first_issue", "first_date", "last_major", "last_minor", "last_issue", "last_date", "first", "firstgame", "last", "creator", "based_on", "adapted_by", "designer", "portrayer", "voice", "motion_actor", "lbl1", "data1", "lbl2", "data2", "lbl3", "data3", "lbl4", "data4", "lbl5", "data5", "noinfo", "info-hdr", "full_name", "nickname", "nicknames", "alias", "aliases", "species", "race", "gender", "title", "occupation", "position", "class", "affiliation", "alignment", "fighting_style", "weapon", "family", "spouse", "spouses", "significant_other", "significant_others", "children", "relatives", "religion", "origin", "home", "nationality", "lbl21", "data21", "lbl22", "data22", "lbl23", "data23", "lbl24", "data24", "lbl25", "data25", "extra-hdr", "lbl31", "data31", "lbl32", "data32", "lbl33", "data33", "lbl34", "data34", "lbl35", "data35" ] } </templatedata>

All parameters (not for general use)

{{Infobox character
| color              = <!-- headers background colour; the foreground colour is automatically computed -->
| name               = 
| series             = <!-- or |franchise=; use without the italic on the outside -->
| multiple           = 
| image              = 
| image_upright      = 
| alt                = 
| caption            = 
| first_major        = <!-- per [[MOS:MAJORWORK]] - major works include TV series, films, books, albums and games -->
| first_minor        = <!-- or |first_issue=; Per [[MOS:MINORWORK]] - minor works include TV episodes, chapters, songs and game missions -->
| first_date         = 
| last_major         = 
| last_minor         = <!-- or |last_issue= -->
| last_date          = 
| first              = 
| firstgame          = 
| last               = 
| creator            = <!-- only the credited creators; use adapted_by= for adaptations -->
| based_on           = <!-- if not an original creation, use {{based on|character|author}} -->
| adapted_by         = <!-- for character adaption articles -->
| designer           = 
| portrayer          = 
| voice              = 
| motion_actor       = 
| lbl1               = 
| data1              = 
| lbl2               = 
| data2              = 
| lbl3               = 
| data3              = 
| lbl4               = 
| data4              = 
| lbl5               = 
| data5              = 
| noinfo             = 
| info-hdr           = 
| full_name          = 
| nickname           = <!-- or |nicknames= -->
| alias              = <!-- or |aliases= -->
| species            = <!-- or |race=; for non-humans only -->
| gender             = <!-- if not obvious -->
| title              = 
| occupation         = <!-- or |position= or |class= -->
| affiliation        = <!-- or |alignment= -->
| fighting_style     = 
| weapon             = 
| family             = 
| spouse             = <!-- or |spouses= -->
| significant_other  = <!-- or |significant_others= -->
| children           = 
| relatives          = 
| religion           = 
| origin             = <!-- or |home= -->
| nationality        = 
| lbl21              = 
| data21             = 
| lbl22              = 
| data22             = 
| lbl23              = 
| data23             = 
| lbl24              = 
| data24             = 
| lbl25              = 
| data25             = 
| extra-hdr          = 
| lbl31              = 
| data31             = 
| lbl32              = 
| data32             = 
| lbl33              = 
| data33             = 
| lbl34              = 
| data34             = 
| lbl35              = 
| data35             = 
}}

Example

John Doe
Criminal Minds character
First appearance"Pilot"
Criminal Minds
2005
Last appearance"Last One"
Criminal Minds
2018
Created byAgnes Nixon
Portrayed bySoupy Sales
In-universe information
AliasJack Dew
NicknameDoeboy
GenderMale
TitleDetective
OccupationLaw enforcement
FamilyDoe
SpouseJane Doe
ChildrenJohn Doe, Jr.
RelativesPhil Doe (father), Nancy Doe (mother)
ReligionChristian
NationalityAmerican

<syntaxhighlight lang="moin">

John Doe
Criminal Minds character
First appearance"Pilot"
Criminal Minds
2005
Last appearance"Last One"
Criminal Minds
2018
Created byAgnes Nixon
Portrayed bySoupy Sales
In-universe information
AliasJack Dew
NicknameDoeboy
GenderMale
TitleDetective
OccupationLaw enforcement
FamilyDoe
SpouseJane Doe
ChildrenJohn Doe, Jr.
RelativesPhil Doe (father), Nancy Doe (mother)
ReligionChristian
NationalityAmerican

</syntaxhighlight>