Difference between revisions of "Template:Infobox character/doc"

From blackwiki
Jump to navigation Jump to search
imported>SoWhy
(add hopefully common sense note that "voice" should not be set if "portrayer" is set and value would be the same)
 
(182 intermediate revisions by 66 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!--
+
{{High-use|7478}}
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters|Module:Formatted appearance}}
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
+
 
-->
+
'''Infobox character''' is used to create an infobox for a fictional character of any type.
{{selfref|This page is about the infobox for creating a fictional character. For the non-fiction, see [[Template:Infobox person]] and [[Template:Infobox animal]].}}
+
 
This template can be used to create an infobox for a fictional character of any type. The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page.
+
== Usage ==
 +
The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page.
  
=== Usage ===
 
 
{{Infobox character
 
{{Infobox character
| name         = ''name''
+
| name = {{{name}}}
| series       = '''series'''
+
| series = {{{series}}}
| image         = ''image''
+
| image = {{{image}}}
| caption       = ''caption''
+
| alt = {{{alt}}}
| first        = ''first''
+
| caption = {{{caption}}}
| last          = ''last''
+
| first_major = {{{first_major}}}
| creator      = ''creator''
+
| first_minor = {{{first_minor}}}
| portrayer    = ''portrayer''
+
| first_date = {{{first_date}}}
| voice        = ''voice''
+
| last_major = {{{last_major}}}
| lbl1          = ''extra label 1''
+
| last_minor = {{{last_minor}}}
| data1        = ''extra data 1''
+
| last_date = {{{last_date}}}
| lbl2          = ''extra label 2''
+
| creator = {{{creator}}}
| data2        = ''extra data 2''
+
| based_on = {{{based_on}}}
| lbl3          = ''extra label 3''
+
| adapted_by = {{{adapted_by}}}
| data3        = ''extra data 3''
+
| designer = {{{designer}}}
| fullname      = ''fullname''
+
| portrayer = {{{portrayer}}}
| nickname     = ''nickname''
+
| voice = {{{voice}}}
| alias         = ''alias''
+
| motion_actor = {{{motion_actor}}}
| species       = ''species''
+
| full_name = {{{full_name}}}
| gender       = ''gender''
+
| nickname = {{{nickname}}}
| occupation   = ''occupation''
+
| alias = {{{alias}}}
| title        = ''title''
+
| species = {{{species}}}
| family       = ''family''
+
| gender = {{{gender}}}
| spouse       = ''spouse''
+
| title = {{{title}}}
| significantother = ''significant other''
+
| occupation = {{{occupation}}}
| children     = ''children''
+
| affiliation = {{{affiliation}}}
| relatives     = ''relatives''
+
| fighting_style = {{{fighting_style}}}
| religion     = ''religion''
+
| weapon = {{{weapon}}}
| nationality  = ''nationality''
+
| family = {{{family}}}
| lbl21        = ''extra label 4''
+
| spouse = {{{spouse}}}
| data21        = ''extra data 4''
+
| significant_other = {{{significant_other}}}
| lbl22        = ''extra label 5''
+
| children = {{{children}}}
| data22        = ''extra data 5''
+
| relatives = {{{relatives}}}
| lbl23        = ''extra label 6''
+
| religion = {{{religion}}}
| data23        = ''extra data 6''
+
| origin = {{{origin}}}
| extra-hdr    = ''extra header''
+
| nationality = {{{nationality}}}
| lbl31        = ''extra label 7''
 
| data31        = ''extra data 7''
 
| lbl32        = ''extra label 8''
 
| data32        = ''extra data 8''
 
| lbl33        = ''extra label 9''
 
| data33        = ''extra data 9''
 
 
}}
 
}}
<pre style="overflow:auto">{{Infobox character
 
| name          =
 
| series        =
 
| image        =
 
| caption      =
 
| first        =
 
| last          =
 
| creator      =
 
| portrayer    =
 
| voice        =
 
| lbl1          =
 
| data1        =
 
| lbl2          =
 
| data2        =
 
| lbl3          =
 
| data3        =
 
| nickname      =
 
| alias        =
 
| species      =
 
| gender        =
 
| occupation    =
 
| title        =
 
| family        =
 
| spouse        =
 
| significantother =
 
| children      =
 
| relatives    =
 
| religion      =
 
| nationality  =
 
| lbl21        =
 
| data21        =
 
| lbl22        =
 
| data22        =
 
| lbl23        =
 
| data23        =
 
| extra-hdr    =
 
| lbl31        =
 
| data31        =
 
| lbl32        =
 
| data32        =
 
| lbl33        =
 
| data33        =
 
}}</pre>
 
  
=== Parameters ===
+
<syntaxhighlight lang="html" style="overflow:auto">{{Infobox character
All parameters are optional.
+
| color = <!-- headers background color; the foreground color is automatically computed -->
 +
| name =
 +
| series = <!-- or |franchise=; use without the italic on the outside -->
 +
| image =
 +
| 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 =
 +
| 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 =
 +
| 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 =
 +
}}</syntaxhighlight>
 +
 
 +
== Parameters ==
 +
All parameters are optional. Separate multiple entries using {{tl|Plainlist}}.
  
{{tmbox|text=Note that information which is not significant to the character/story should not be included. For instance, there is no need to set the "species" parameter for a story in which everyone is human.}}
 
{{-}}
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Parameter !! Notes
+
! scope="col" | Parameter
 +
! scope="col" | Notes
 +
|-
 +
! scope="row" | color
 +
| Background color for header bars (default = #DEDEE2). The text color is automatically determined. Must meet AAA compliance standards outlines on [[WP:COLOR]].
 +
|-
 +
! scope="row" | name
 +
| Character name to display in top header (default = PAGENAME).
 +
|-
 +
! scope="row" | series
 +
| Name of the series in which the character appears.
 +
|-
 +
! scope="row" | franchise
 +
| Name of the fictional world or story in which the character appears. Does not italicize title.
 +
|-
 +
! scope="row" | multiple
 +
| Set to yes if the infobox describes more than one character.
 +
|-
 +
! scope="row" | image
 +
| Image of the character. "File:" and wikilinking is not required. i.e. use {{para|image|Example.png}}.
 +
|-
 +
! scope="row" | 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.
 +
|-
 +
! scope="row" | alt
 +
| Alt text for image per [[WP:MOSALT]].
 +
|-
 +
! scope="row" | caption
 +
| A caption explaining the image.
 +
|-
 +
! scope="row" | first_major
 +
| The title of the [[MOS:MAJORWORK|major work]] the fictional element first appeared in. Major works include TV series, films, books, albums and games.
 +
|-
 +
! scope="row" | first_minor
 +
| The title of the [[MOS:MINORWORK|minor work]] the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions.
 +
|-
 +
! scope="row" | first_issue
 +
| The number of the comic book issue the fictional element first appeared in.
 +
|-
 +
! scope="row" | first_date
 +
| The date of the publication/release of the minor work where the fictional element first appeared in.
 +
|-
 +
! scope="row" | last_major
 +
| The title of the [[MOS:MAJORWORK|major work]] the fictional element last appeared in. Major works include TV series, films, books, albums and games.
 +
|-
 +
! scope="row" | last_minor
 +
| The title of the [[MOS:MINORWORK|minor work]] the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions.
 +
|-
 +
! scope="row" | last_issue
 +
| The number of the comic book issue the fictional element last appeared in.
 +
|-
 +
! scope="row" | last_date
 +
| The date of the publication/release of the minor work where the fictional element last appeared in.
 +
|-
 +
! scope="row" | first
 +
| First appearance of the character.
 +
|-
 +
! scope="row" | firstgame
 +
| First appearance in a game of the character.
 +
|-
 +
! scope="row" | last
 +
| Last appearance of the character.
 +
|-
 +
! scope="row" | creator
 +
| Name of the individuals who are credited with the creation of the character.
 +
|-
 +
! scope="row" | based_on
 +
| Name of the original character the adaptation is based on. Use {{based on}} to add the title of original character and the names of the original creators. Use this field in conjunction with {{para|adapted_by}}.
 +
|-
 +
! scope="row" | 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.
 +
|-
 +
! scope="row" | designer
 +
| Name of the individuals who designed the character.
 +
|-
 +
! scope="row" | portrayer
 +
| Name of the individuals who portrayed the character.
 +
|-
 +
! scope="row" | voice
 +
| Name of the individuals who voiced the character. Should be omitted if the same as "portrayer".
 +
|-
 +
! scope="row" | motion_actor
 +
| Name of the individuals who portrayed the character in motion capture.
 
|-
 
|-
| name  ||  Character name to display in top header (default = PAGENAME)
+
! scope="row" | noinfo
 +
| Disable the first "In-universe information" header.
 
|-
 
|-
| series  ||  Name of the fictional world or story in which the character appears
+
! scope="row" | info-hdr
 +
| Text for display in second header (default = Information).
 
|-
 
|-
| image  ||  Image of the character, use {{para|image|<var><nowiki>[[File:Example.png|frameless|220px|alt=</nowiki>[[Wikipedia:Alternative text for images|Alt text]]<nowiki>]]</nowiki></var>}}
+
! scope="row" | full_name
 +
| The character's full name.
 
|-
 
|-
| caption  || Caption to display below image
+
! scope="row" | {{Unbulleted list|nickname|nicknames}}
 +
| Any nicknames used by the character.
 
|-
 
|-
| first  || First appearance of the character
+
! scope="row" | {{Unbulleted list|alias|aliases}}
 +
| Any aliases used by the character.
 
|-
 
|-
| last  || Last appearance of the character
+
! scope="row" | {{Unbulleted list|species|race}}
 +
| The species or race of the character. Use for non-human characters only.
 
|-
 
|-
| creator  ||  Name of the person who invented the character
+
! scope="row" | gender
 +
| The gender of the character. Use only if not obvious.
 
|-
 
|-
| portrayer  ||  Name of the person(s) who portrayed the character
+
! scope="row" | title
 +
| Titles the character was known by.
 
|-
 
|-
| voice  || Name of the person(s) who voiced the character
+
! scope="row" | {{Unbulleted list|occupation|position}}
 +
| The character's job or role.
 
|-
 
|-
| info-hdr  ||  Text for display in second header (default = Information)
+
! scope="row" | class
 +
| The [[character class]] for RPG characters.
 
|-
 
|-
| alias  ||  Any aliases used by the character
+
! scope="row" | affiliation
 +
| The groups or teams the character belongs to.
 
|-
 
|-
| relationships || Any significant relationships that are essential to understanding the character
+
! scope="row" | alignment
 +
| The character's Dungeons & Dragons alignment.
 
|-
 
|-
| extra-hdr  ||  Text for display in third header (default = No third header)
+
! scope="row" | fighting_style
 +
| The primary fighting styles used by the character.
 
|-
 
|-
| 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
+
! scope="row" | weapon
 +
| The types of weapons the character uses.
 
|-
 
|-
| data#  ||  Text to display in the right column corresponding to the appropriate "lbl#"
+
! scope="row" | family
 +
| The character's family members.
 
|-
 
|-
| tbl-class  || Overall class for the table (default = infobox)
+
! scope="row" | {{Unbulleted list|spouse|spouses}}
 +
| The character's spouses.
 
|-
 
|-
| tbl-style  || Overall styles for the table (default = width: 20em; text-align: left; font-size: 90%)
+
! scope="row" | {{Unbulleted list|significant_other|significant_others}}
 +
| The character's significant others.
 
|-
 
|-
| lbl-style  ||  Style to apply to all cells in the left column
+
! scope="row" | children
 +
| The characters's children.
 
|-
 
|-
| data-style  ||  Style to apply to all cells in the right column
+
! scope="row" | relatives
 +
| The characters's relatives.
 
|-
 
|-
| sep  ||  Separator character(s) to display after each label in the left column
+
! scope="row" | religion
 +
| The character's religion.
 
|-
 
|-
| noinfo  || disable the first "information" header
+
! scope="row" | {{Unbulleted list|origin|home}}
 +
| The character's place of origin.
 
|-
 
|-
| colour  ||  Background color for header bars (default = #DEDEE2)
+
! scope="row" | nationality
 +
| The character's nationality.
 
|-
 
|-
| colour text  |Text color for header bars (default = #000000)
+
! scope="row" | extra-hdr
 +
| Text for display in third header (default = No third header).
 
|-
 
|-
 +
! scope="row" | 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.
 +
|-
 +
! scope="row" | data#
 +
| Text to display in the right column corresponding to the appropriate "lbl#".
 
|}
 
|}
 +
 +
===TemplateData===
 +
{{Collapse top|title=TemplateData}}
 +
{{TemplateData header|noheader=1}}
 +
<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"
 +
]
 +
},
 +
"name": {
 +
"label": "Name",
 +
"type": "string",
 +
"required": false,
 +
"suggested": false,
 +
"deprecated": false,
 +
"description": "Character name to display in top header (default = PAGENAME)."
 +
},
 +
"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 {{para|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 {{based on}} to add the title of original character and the names of the original creators. Use this field in conjunction with {{para|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 {{para|nicknames}} and separate multiple entries using {{tl|Plainlist}}."
 +
},
 +
"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 {{para|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 {{para|aliases}} and separate multiple entries using {{tl|Plainlist}}."
 +
},
 +
"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 {{para|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 {{para|significant_others}} and separate multiple entries using {{tl|Plainlist}}."
 +
},
 +
"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 {{para|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"
 +
}
 +
},
 +
"format": "block"
 +
}
 +
</templatedata>
 +
{{Collapse bottom}}
 +
 +
=== All parameters (not for general use) ===
 +
{{Collapse top|title=Complete list of parameters}}
 +
{{Parameter names example|_template=| adapted_by | affiliation | alias | alt | based_on | caption | children | color | creator | data1 | data2 | data3 | data4 | data5 | data21 | data22 | data23 | data24 | data25 | data31 | data32 | data33 | data34 | data35 | designer | extra-hdr | family | fighting_style | first_date | first_major | first_minor | firstgame | franchise | full_name | gender | home | image | image_size | image_upright | info-hdr | last_date | last_major | last_minor | lbl1 | lbl2 | lbl3 | lbl4 | lbl5 | lbl21 | lbl22 | lbl23 | lbl24 | lbl25 | lbl31 | lbl32 | lbl33 | lbl34 | lbl35 | motion_actor | multiple | name | nationality | nickname | occupation | origin | portrayer | position | race | relatives | religion | series | significant_other | species | spouse | title | voice | weapon}}
 +
<pre>{{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            =
 +
}}</pre>
 +
{{Collapse bottom}}
  
 
== Example ==
 
== Example ==
 
{{Infobox character
 
{{Infobox character
| name       = Erick Karabell
+
| name               = John Doe
| series     = [[Criminal Minds]]
+
| series             = [[Criminal Minds]]
| image       =  
+
| image             =  
| caption     =  
+
| caption           =  
| first      = April 18, 2004
+
| first_major        = Criminal Minds
| last       = April 18, 2008
+
| first_minor       = Pilot
| creator     = [[Agnes Nixon]]
+
| first_date        = 2005
| portrayer   = Johnny Lioma
+
| last_major        = Criminal Minds
| nickname   = Limmy
+
| last_minor        = Last One
| alias       = John Limmons
+
| last_date          = 2018
| species    = Human
+
| creator           = [[Agnes Nixon]]
| gender     = Male
+
| portrayer         = [[Soupy Sales]]
| occupation  = Detective
+
| nickname           = Doeboy
| title      = Head Detective
+
| alias             = Jack Dew
| family     = Erick Karabell Sr (Father)<br> Lonna Marcus-Karabell (Mother)
+
| gender             = Male
| spouse     = Lonni Karabell (Wife)
+
| title              = Detective
| significantother =  
+
| occupation        = Law enforcement
| children   = Erick Karabell III (Son)
+
| family             = Doe
| relatives   = Oliva Falconeri (Cousin)
+
| spouse             = Jane Doe
| religion    = [[Christian]]
+
| significant_other  =  
| nationality = [[United States|American]]
+
| children           = John Doe, Jr.
 +
| relatives         = {{Plainlist|
 +
* Phil Doe (father)
 +
* Nancy Doe (mother)
 
}}
 
}}
<pre style="overflow:auto">
+
| religion          = [[Christianity|Christian]]
{{Infobox character
+
| nationality       = American
| name        = Erick Karabell
 
| series      = [[Criminal Minds]]
 
| image      =
 
| caption    =
 
| first      = April 18, 2004
 
| last        = April 18, 2008
 
| creator    = [[Agnes Nixon]]
 
| portrayer  = Johnny Lioma
 
| nickname    = Limmy
 
| alias      = John Limmons
 
| species    = Human
 
| gender      = Male
 
| occupation  = Detective
 
| title      = Head Detective
 
| family      = Erick Karabell Sr (Father)<br> Lonna Marcus-Karabell (Mother)
 
| spouse      = Lonni Karabell (Wife)
 
| significantother =
 
| children    = Erick Karabell III (Son)
 
| relatives  = Oliva Falconeri (Cousin)
 
| religion    = [[Christian]]
 
| nationality = [[United States|American]]
 
 
}}
 
}}
</pre>
+
 
 +
<syntaxhighlight lang="moin">
 +
{{Infobox character
 +
| name              = John Doe
 +
| series            = [[Criminal Minds]]
 +
| image              =
 +
| caption            =
 +
| first_major        = Criminal Minds
 +
| first_minor        = Pilot
 +
| first_date        = 2005
 +
| last_major        = Criminal Minds
 +
| last_minor        = Last One
 +
| last_date          = 2018
 +
| creator            = [[Agnes Nixon]]
 +
| portrayer          = [[Soupy Sales]]
 +
| nickname          = Doeboy
 +
| alias              = Jack Dew
 +
| gender            = Male
 +
| title              = Detective
 +
| occupation        = Law enforcement
 +
| family            = Doe
 +
| spouse            = Jane Doe
 +
| significant_other  =
 +
| children          = John Doe, Jr.
 +
| relatives          = {{Plainlist|
 +
* Phil Doe (father)
 +
* Nancy Doe (mother)
 +
}}
 +
| religion          = [[Christianity|Christian]]
 +
| nationality        = American
 +
}}
 +
</syntaxhighlight>
 +
 
 +
== Tracking categories ==
 +
* {{clc|Pages using infobox character with unknown parameters}}
 +
* {{clc|Articles using Infobox character with multiple unlabeled fields}}
 +
* {{clc|Articles using infoboxes for fictional elements with invalid color combination}}
 +
 
 +
== Supporting templates ==
 +
* {{tl|Greater color contrast ratio}}
 +
* {{tl|Ensure AAA contrast ratio}}
  
 
== See also ==
 
== See also ==
 
* {{tl|Infobox person}}
 
* {{tl|Infobox person}}
* {{tl|Infobox television}}
 
* {{tl|Infobox television episode}}
 
  
===Pass through templates===
+
{{Film- and television-related infobox templates}}
The following templates are designed for specific series and call this template to generate the infobox:
 
{{col-begin}}
 
{{col-3}}
 
* {{tl|Infobox Back to the Future character}}
 
* {{tl|Infobox Buffyverse character}}
 
{{col-3}}
 
* {{tl|Infobox Law and Order character}}
 
* {{tl|Infobox Ranger's Apprentice character}}
 
{{col-3}}
 
* {{tl|Infobox Sea Patrol character}}
 
* {{tl|Infobox Star Wars character}}
 
* {{tl|Infobox Tolkien character}}
 
{{col-end}}
 
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Television infobox templates| Character]]
 
 
[[Category:Fictional character infobox templates| ]]
 
[[Category:Fictional character infobox templates| ]]
 
+
[[Category:Templates that add a tracking category]]
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
+
}}</includeonly>
[[ar:قالب:معلومات شخصية خيالية]]
 
[[bg:Шаблон:Персонаж]]
 
[[bs:Šablon:Infokutija fiktivni lik]]
 
[[es:Plantilla:Ficha de personaje]]
 
[[fa:الگو:جعبه اطلاعات شخصیت]]
 
[[fr:Modèle:Infobox Personnage (fiction)]]
 
[[it:Template:Personaggio]]
 
[[ko:틀:등장인물 정보]]
 
[[ja:Template:Infobox character]]
 
[[ka:თარგი:ინფოდაფა პერსონაჟი]]
 
[[mk:Шаблон:Инфокутија Лик]]
 
[[mr:साचा:माहितीचौकट काल्पनिक व्यक्ती]]
 
[[no:Mal:Infoboks figur]]
 
[[pl:Szablon:Postać Gotowe na wszystko infobox]]
 
[[pt:Predefinição:Info/Personagem fictícia]]
 
[[ro:Format:Infocaseta Personaj]]
 
[[ru:Шаблон:Персонаж мультсериала]]
 
[[sk:Šablóna:Infobox Postava]]
 
[[sr:Шаблон:Измишљени лик]]
 
[[sr:Шаблон:Izmišljeni lik latinica]]
 
[[sh:Šablon:Infokutija lik]]
 
[[th:แม่แบบ:กล่องข้อมูล ตัวละคร]]
 
[[tr:Şablon:Hayalî karakter bilgi kutusu]]
 
[[uk:Шаблон:Персонаж мультфільму]]
 
[[zh:模板:Infobox character]]
 
</includeonly>
 

Latest revision as of 11:51, 10 February 2021

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.

Script error: No such module "If empty".
{{{series}}} character
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1|{{{alt}}}]]
{{{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}}}
Script error: No such module "If empty".
Full name{{{full_name}}}
AliasScript error: No such module "If empty".
NicknameScript error: No such module "If empty".
SpeciesScript error: No such module "If empty".
Gender{{{gender}}}
Title{{{title}}}
OccupationScript error: No such module "If empty".
AffiliationScript error: No such module "If empty".
Fighting style{{{fighting_style}}}
Weapon{{{weapon}}}
Family{{{family}}}
SpouseScript error: No such module "If empty".
Significant otherScript error: No such module "If empty".
Children{{{children}}}
Relatives{{{relatives}}}
Religion{{{religion}}}
OriginScript error: No such module "If empty".
Nationality{{{nationality}}}
{{Infobox character
| color = <!-- headers background color; the foreground color is automatically computed -->
| name = 
| series = <!-- or |franchise=; use without the italic on the outside -->
| image = 
| 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 = 
| 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 = 
| 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 = 
}}

Parameters

All parameters are optional. Separate multiple entries using {{Plainlist}}.

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 per WP:MOSALT.
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 to add the title of original character and the names of the original creators. 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
See the monthly parameter usage report for this template.

TemplateData for Infobox character

Creates an infobox for a fictional character of any type.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Colorcolor colour

Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines on [[WP:COLOR]].

Stringoptional
Namename

Character name to display in top header (default = PAGENAME).

Stringoptional
Seriesseries

Name of the series in which the character appears.

Stringoptional
Franchisefranchise

Name of the fictional world or story in which the character appears. Does not italicize title.

Stringoptional
Multiplemultiple

Set to yes if the infobox describes more than one character.

Stringoptional
Imageimage

Image of the character. "File:" and wikilinking is not required. i.e. use {{para|image|Example.png}}.

Stringoptional
Image uprightimage_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.

Stringoptional
Altalt

Alt text for image per [[WP:MOSALT]].

Stringoptional
Captioncaption

A caption explaining the image.

Stringoptional
First appearance majorfirst_major

The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games.

Stringoptional
First appearance minorfirst_minor

The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions.

Stringoptional
First appearance issuefirst_issue

The number of the comic book issue the fictional element first appeared in.

Stringoptional
First appearance datefirst_date

The date of the publication/release of the minor work where the fictional element first appeared in.

Stringoptional
Last appearance majorlast_major

The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games.

Stringoptional
Last appearance minorlast_minor

The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions.

Stringoptional
Last appearance issuelast_issue

The number of the comic book issue the fictional element last appeared in.

Stringoptional
Last appearance datelast_date

The date of the publication/release of the minor work where the fictional element last appeared in.

Stringoptional
First appearancefirst

First appearance of the character.

Stringoptional
First gamefirstgame

First appearance in a game of the character.

Stringoptional
Last appearancelast

Last appearance of the character.

Stringoptional
Creatorcreator

Name of the individuals who are credited with the creation of the character.

Stringoptional
Based onbased_on

Name of the original character the adaptation is based on. Use {{based on}} to add the title of original character and the names of the original creators. Use this field in conjunction with {{para|adapted_by}}.

Stringoptional
Adapted byadapted_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.

Stringoptional
Designerdesigner

Name of the individuals who designed the character.

Stringoptional
Portrayerportrayer

Name of the individuals who portrayed the character.

Stringoptional
Voice actorvoice

Name of the individuals who voiced the character (if different from portrayer or there is no portrayer)

Stringoptional
Motion actormotion_actor

Name of the individuals who portrayed the character in motion capture.

Stringoptional
Label 1lbl1

Label to display in left column for custom fields under the 1st header.

Stringoptional
Data 1data1

Text to display in the right column corresponding to lbl1.

Stringoptional
Label 2lbl2

Label to display in left column for custom fields under the 1st header.

Stringoptional
Data 2data2

Text to display in the right column corresponding to lbl2.

Stringoptional
Label 3lbl3

Label to display in left column for custom fields under the 1st header.

Stringoptional
Data 3data3

Text to display in the right column corresponding to lbl3.

Stringoptional
Label 4lbl4

Label to display in left column for custom fields under the 1st header.

Stringoptional
Data 4data4

Text to display in the right column corresponding to lbl4.

Stringoptional
Label 5lbl5

Label to display in left column for custom fields under the 1st header.

Stringoptional
Data 5data5

Text to display in the right column corresponding to lbl5.

Stringoptional
Disable second headernoinfo

Disable the first "In-universe information" header.

Stringoptional
Second header textinfo-hdr

Text for display in second header (default = Information).

Stringoptional
Full namefull_name

The character's full name.

Stringoptional
Nicknamenickname

A nickname used by the character. If there is more than one nickname, use {{para|nicknames}} and separate multiple entries using {{tl|Plainlist}}.

Stringoptional
Nicknamesnicknames

Any nicknames used by the character. If there is only one nickname, use {{para|nickname}}.

Stringoptional
Aliasalias

An alias used by the character. If there is more than one alias, use {{para|aliases}} and separate multiple entries using {{tl|Plainlist}}.

Stringoptional
Aliasaliases

Any aliases used by the character. If there is only one alias, use {{para|alias}}.

Stringoptional
Speciesspecies

The species of the character. Use for non-human characters only.

Stringoptional
Racerace

The race of the character. Use for non-human characters only.

Stringoptional
Gendergender

The gender of the character. Use only if not obvious.

Stringoptional
Titletitle

Titles the character was known by.

Stringoptional
Occupationoccupation

The character's job or role.

Stringoptional
Positionposition

The character's job or role.

Stringoptional
Classclass

The character class for RPG characters.

Stringoptional
Affiliationaffiliation

The groups or teams the character belongs to.

Stringoptional
Alignmentalignment

The character's Dungeons & Dragons alignment.

Stringoptional
Fighting stylefighting_style

The primary fighting styles used by the character.

Stringoptional
Weaponweapon

The types of weapons the character uses.

Stringoptional
Familyfamily

The character's family members.

Stringoptional
Spousespouse

The character's spouses.

Stringoptional
Spousesspouses

The character's spouses.

Stringoptional
Significant othersignificant_other

The character's significant others. If there is more than one significant_other, use {{para|significant_others}} and separate multiple entries using {{tl|Plainlist}}.

Stringoptional
Significant otherssignificant_others

The character's significant others. If there is only one significant_other, use {{para|significant_other}}.

Stringoptional
Childrenchildren

The characters's children

Stringoptional
Relativesrelatives

The characters's relatives

Stringoptional
Religionreligion

The character's religion

Stringoptional
Originorigin

The character's place of origin.

Stringoptional
Homehome

The character's place of origin.

Stringoptional
Nationalitynationality

The character's nationality.

Stringoptional
Label 21lbl21

Label to display in left column for custom fields under the 2nd header.

Stringoptional
Data 21data21

Text to display in the right column corresponding to lbl21.

Stringoptional
Label 22lbl22

Label to display in left column for custom fields under the 2nd header.

Stringoptional
Data 22data22

Text to display in the right column corresponding to lbl22.

Stringoptional
Label 23lbl23

Label to display in left column for custom fields under the 2nd header.

Stringoptional
Data 23data23

Text to display in the right column corresponding to lbl23.

Stringoptional
Label 24lbl24

Label to display in left column for custom fields under the 2nd header.

Stringoptional
Data 24data24

Text to display in the right column corresponding to lbl24.

Stringoptional
Label 25lbl25

Label to display in left column for custom fields under the 2nd header.

Stringoptional
Data 25data25

Text to display in the right column corresponding to lbl25.

Stringoptional
Third header textextra-hdr

Text for display in third header (default = No third header).

Stringoptional
Label 31lbl31

Label to display in left column for custom fields under the 3rd header.

Stringoptional
Data 31data31

Text to display in the right column corresponding to lbl31.

Stringoptional
Label 32lbl32

Label to display in left column for custom fields under the 3rd header.

Stringoptional
Data 32data32

Text to display in the right column corresponding to lbl32.

Stringoptional
Label 33lbl33

Label to display in left column for custom fields under the 3rd header.

Stringoptional
Data 33data33

Text to display in the right column corresponding to lbl33.

Stringoptional
Label 34lbl34

Label to display in left column for custom fields under the 3rd header.

Stringoptional
Data 34data34

Text to display in the right column corresponding to lbl34.

Stringoptional
Label 35lbl35

Label to display in left column for custom fields under the 3rd header.

Stringoptional
Data 35data35

Text to display in the right column corresponding to lbl35.

Stringoptional

All parameters (not for general use)

Complete list of parameters

Template:Parameter names example

{{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

Script error: No such module "If empty".
Criminal Minds character
First appearance
  • "Pilot"
  • Criminal Minds
  • 2005
Last appearance
  • "Last One"
  • Criminal Minds
  • 2018
Created byAgnes Nixon
Portrayed bySoupy Sales
Script error: No such module "If empty".
AliasScript error: No such module "If empty".
NicknameScript error: No such module "If empty".
SpeciesScript error: No such module "If empty".
GenderMale
TitleDetective
OccupationScript error: No such module "If empty".
AlignmentScript error: No such module "If empty".
FamilyDoe
SpouseScript error: No such module "If empty".
Significant othersScript error: No such module "If empty".
ChildrenJohn Doe, Jr.
Relatives
  • Phil Doe (father)
  • Nancy Doe (mother)
ReligionChristian
HomeScript error: No such module "If empty".
NationalityAmerican
 {{Infobox character
 | name               = John Doe
 | series             = [[Criminal Minds]]
 | image              = 
 | caption            = 
 | first_major        = Criminal Minds
 | first_minor        = Pilot
 | first_date         = 2005
 | last_major         = Criminal Minds
 | last_minor         = Last One
 | last_date          = 2018
 | creator            = [[Agnes Nixon]]
 | portrayer          = [[Soupy Sales]]
 | nickname           = Doeboy
 | alias              = Jack Dew
 | gender             = Male
 | title              = Detective
 | occupation         = Law enforcement
 | family             = Doe
 | spouse             = Jane Doe
 | significant_other  = 
 | children           = John Doe, Jr.
 | relatives          = {{Plainlist|
 * Phil Doe (father)
 * Nancy Doe (mother)
 }}
 | religion           = [[Christianity|Christian]]
 | nationality        = American
 }}

Tracking categories

Supporting templates

See also