Changes
split complete list of parameters from the general use ones, so users won't copy/paste unnecessary parameters
<!--
PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE
YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
-->
{{Documentation subpage}}
{{High-use|6309}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
== Usage ==
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.
{{Infobox character
| name = {{{name}}}
| series = {{{series}}}
| image = {{{image}}}
| alt = {{{alt}}}
| caption = {{{caption}}}
| first = {{{first}}}
| last = {{{last}}}
| creator = {{{creator}}}
| designer = {{{designer}}}
| portrayer = {{{portrayer}}}
| voice = {{{voice}}}
| motion_actor = {{{motion_actor}}}
| fullname = {{{fullname}}}
| nickname = {{{nickname}}}
| alias = {{{alias}}}
| species = {{{species}}}
| gender = {{{gender}}}
| occupation = {{{occupation}}}
| affiliation = {{{affiliation}}}
| title = {{{title}}}
| family = {{{family}}}
| spouse = {{{spouse}}}
| significantother = {{{significantother}}}
| children = {{{children}}}
| relatives = {{{relatives}}}
| religion = {{{religion}}}
| nationality = {{{nationality}}}
| position = {{{position}}}
}}
<pre style="overflow:auto">{{Infobox character
| color = <!-- headers background colour; the foreground colour is automatically computed -->
| name =
| series = <!-- use without the italic on the outside -->
| image =
| alt =
| caption =
| first =
| last =
| creator =
| designer =
| portrayer =
| voice =
| motion_actor =
| fullname =
| nickname =
| alias =
| species = <!-- for non-humans only -->
| gender = <!-- if not obvious -->
| occupation =
| affiliation =
| title =
| family =
| spouse =
| significantother =
| children =
| relatives =
| religion =
| nationality =
| position =
}}</pre>
== Parameters ==
All parameters are optional.
{| class="wikitable"
|-
! scope="col" | Parameter
! scope="col" | Notes
|-
! scope="row" | color
| Background color for header bars (default = #DEDEE2). The text color is automatically computed. 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 television series or other fictional world or story in which character appears
|-
! 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|<var><nowiki>Example.png</nowiki></var>}}
|-
! 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. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used.
|-
! scope="row" | alt
| Alt text for image per [[WP:MOSALT]]
|-
! scope="row" | caption
| A caption explaining the image
|-
! 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 people who created the character
|-
! scope="row" | designer
| Name of the people who designed the character
|-
! scope="row" | portrayer
| Name of the people who portrayed the character
|-
! scope="row" | voice
| Name of the people who voiced the character
|-
! scope="row" | motion_actor
| Name of the people who portrayed the character in motion capture
|-
! scope="row" | noinfo
| Disable the first "information" header
|-
! scope="row" | info-hdr
| Text for display in second header (default = Information)
|-
! scope="row" | alias
| Any aliases used by the character
|-
! scope-"row | species
| The race or species of the character. Use for non-human characters only.
|-
! scope-"row | gender
| The gender of the character. Use only if not obvious.
|-
! scope-"row | occupation
| The character's job or role
|-
! scope-"row | affiliation
| The groups or teams the character is belongs to
|-
! scope-"row | title
| Titles the character was known by
|-
! scope-"row | family
| The character's family members
|-
! scope-"row | spouse
| The character's spouses
|-
! scope-"row | significantother
| The character's significant others
|-
! scope-"row | children
| The characters's children
|-
! scope-"row | relatives
| The characters's relatives
|-
! scope-"row | religion
| The character's religion
|-
! scope-"row | nationality
| The character's nationality
|-
! scope="row" | position
| The character's position in an organization
|-
! 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#"
|-
! scope="row" | lbl-style
| Style to apply to all cells in the left column
|-
! scope="row" | data-style
| Style to apply to all cells in the right column
|}
===TemplateData===
{{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
{{TemplateData header|noheader=1}}
<templatedata>
{
"description": "",
"params": {
"embed": {
"label": "Embed",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": ""
},
"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": true,
"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 television series or other fictional world or story in which character appears"
},
"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": true,
"deprecated": false,
"description": "Image of the character. \"File:\" and wikilinking is not required. i.e. use {{para|image|<var><nowiki>Example.png</nowiki></var>}}"
},
"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. See [[#Calculating \"image_upright\"|help below]] for guidance on determining the value to be used."
},
"alt": {
"label": "Alt",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "Alt text for image per [[WP:MOSALT]]"
},
"caption": {
"label": "Caption",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "A caption explaining the image"
},
"lbl-style": {
"label": "Label style",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Style to apply to all cells in the left column"
},
"data-style": {
"label": "Data style",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Style to apply to all cells in the right column"
},
"first": {
"label": "First",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "First appearance of the character"
},
"firstgame": {
"label": "First game",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "First appearance in a game of the character"
},
"last": {
"label": "Last",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "Last appearance of the character"
},
"creator": {
"label": "Creator",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the people who created the character"
},
"designer": {
"label": "Designer",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the people who designed the character"
},
"portrayer": {
"label": "Portrayer",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the people who portrayed the character"
},
"voice": {
"label": "Voice actor",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the people who voiced the character"
},
"motion_actor": {
"label": "Motion actor",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the people 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",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 1st header"
},
"data2": {
"label": "Data 2",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl2"
},
"lbl3": {
"label": "Label 3",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 1st header"
},
"data3": {
"label": "Data 3",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl3"
},
"lbl4": {
"label": "Label 4",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 1st header"
},
"data4": {
"label": "Data 4",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl4"
},
"lbl5": {
"label": "Label 5",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 1st header"
},
"data5": {
"label": "Data 5",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl5"
},
"noinfo": {
"label": "Disable second header",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Disable the first \"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)"
},
"alias": {
"label": "Alias",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Any aliases used by the character"
},
"species": {
"label": "Species",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The race or species 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."
},
"occupation": {
"label": "Occupation",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The character's job or role"
},
"affiliation": {
"label": "Affiliation",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The groups or teams the character is belongs to"
},
"title": {
"label": "Title",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Titles the character was known by"
},
"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"
},
"significantother": {
"label": "Significant other",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The character's significant others"
},
"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"
},
"nationality": {
"label": "Nationality",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The character's nationality"
},
"position": {
"label": "Position",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "The character's position"
},
"lbl21": {
"label": "Label 21",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 2nd header"
},
"data21": {
"label": "Data 21",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl21"
},
"lbl22": {
"label": "Label 22",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 2nd header"
},
"data22": {
"label": "Data 22",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl22"
},
"lbl23": {
"label": "Label 23",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 2nd header"
},
"data23": {
"label": "Data 23",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl23"
},
"lbl24": {
"label": "Label 24",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 2nd header"
},
"data24": {
"label": "Data 24",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl24"
},
"lbl25": {
"label": "Label 25",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 2nd header"
},
"data25": {
"label": "Data 25",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl25"
},
"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",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 3rd header"
},
"data31": {
"label": "Data 31",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl31"
},
"lbl32": {
"label": "Label 32",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 3rd header"
},
"data32": {
"label": "Data 32",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl32"
},
"lbl33": {
"label": "Label 33",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 3rd header"
},
"data33": {
"label": "Data 33",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl33"
},
"lbl34": {
"label": "Label 34",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 3rd header"
},
"data34": {
"label": "Data 34",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl34"
},
"lbl35": {
"label": "Label 35",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 3rd header"
},
"data35": {
"label": "Data 35",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl35"
}
},
"format": "block"
}
</templatedata>
{{Collapse bottom}}
=== All parameters (not for general use) ===
{{Collapse top|title=Complete list of parameters}}
<pre style="overflow:auto">{{Infobox character
| color = <!-- headers background colour; the foreground colour is automatically computed -->
| name =
| series = <!-- use without the italic on the outside -->
| multiple =
| image =
| image_upright =
| alt =
| caption =
| lbl-style =
| data-style =
| first =
| firstgame =
| last =
| creator =
| designer =
| portrayer =
| voice =
| motion_actor =
| lbl1 =
| data1 =
| lbl2 =
| data2 =
| lbl3 =
| data3 =
| lbl4 =
| data4 =
| lbl5 =
| data5 =
| noinfo =
| info-hdr =
| fullname =
| nickname =
| alias =
| species = <!-- for non-humans only -->
| gender = <!-- if not obvious -->
| occupation =
| affiliation =
| title =
| family =
| spouse =
| significantother =
| children =
| relatives =
| religion =
| nationality =
| position =
| 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}}
=== Notes ===
{{#section:Template:Infobox Australian place/doc|image_upright}}
== Example ==
{{Infobox character
| name = John Doe
| series = [[Criminal Minds]]
| image =
| caption =
| first = "Pilot" (2005)
| last = "Last One" (2018)
| creator = [[Agnes Nixon]]
| portrayer = [[Soupy Sales]]
| nickname = Doeboy
| alias = Jack Dew
| gender = Male
| occupation = Law enforcement
| title = Detective
| family = Doe
| spouse = Jane Doe
| significantother =
| children = John Doe, Jr.
| relatives = Phil Doe (father)<br>Nancy Doe (mother)
| religion = [[Christianity|Christian]]
| nationality = American
}}
<pre style="overflow:auto">
{{Infobox character
| name = John Doe
| series = [[Criminal Minds]]
| image =
| caption =
| first = "Pilot" (2005)
| last = "Last One" (2018)
| creator = [[Agnes Nixon]]
| portrayer = [[Soupy Sales]]
| nickname = Doeboy
| alias = Jack Dew
| gender = Male
| occupation = Law enforcement
| title = Detective
| family = Doe
| spouse = Jane Doe
| significantother =
| children = John Doe, Jr.
| relatives = Phil Doe (father)<br>Nancy Doe (mother)
| religion = [[Christianity|Christian]]
| nationality = American
}}
</pre>
== Tracking categories ==
* {{clc|Pages using infobox character with unknown parameters}}
* {{clc|Articles using Infobox character with multiple unlabeled fields}}
* {{clc|Articles using Template:Infobox character with invalid colour combination}}
== Supporting templates ==
* {{tl|Greater color contrast ratio}}
* {{tl|Ensure AAA contrast ratio}}
== See also ==
=== Pass through templates ===
The following templates are designed for specific series and call this template to generate the infobox:
* {{tl|Infobox Buffyverse character}}
* {{tl|Infobox Law and Order character}}
* {{tl|Infobox Pirates of the Caribbean character}}
* {{tl|Infobox Tolkien character}}
=== Related templates ===
* {{tl|Infobox person}}
{{Film and Television related infobox templates}}
<includeonly>{{basepage subpage|
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
[[Category:Fictional character infobox templates| ]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE
YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
-->
{{Documentation subpage}}
{{High-use|6309}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
== Usage ==
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.
{{Infobox character
| name = {{{name}}}
| series = {{{series}}}
| image = {{{image}}}
| alt = {{{alt}}}
| caption = {{{caption}}}
| first = {{{first}}}
| last = {{{last}}}
| creator = {{{creator}}}
| designer = {{{designer}}}
| portrayer = {{{portrayer}}}
| voice = {{{voice}}}
| motion_actor = {{{motion_actor}}}
| fullname = {{{fullname}}}
| nickname = {{{nickname}}}
| alias = {{{alias}}}
| species = {{{species}}}
| gender = {{{gender}}}
| occupation = {{{occupation}}}
| affiliation = {{{affiliation}}}
| title = {{{title}}}
| family = {{{family}}}
| spouse = {{{spouse}}}
| significantother = {{{significantother}}}
| children = {{{children}}}
| relatives = {{{relatives}}}
| religion = {{{religion}}}
| nationality = {{{nationality}}}
| position = {{{position}}}
}}
<pre style="overflow:auto">{{Infobox character
| color = <!-- headers background colour; the foreground colour is automatically computed -->
| name =
| series = <!-- use without the italic on the outside -->
| image =
| alt =
| caption =
| first =
| last =
| creator =
| designer =
| portrayer =
| voice =
| motion_actor =
| fullname =
| nickname =
| alias =
| species = <!-- for non-humans only -->
| gender = <!-- if not obvious -->
| occupation =
| affiliation =
| title =
| family =
| spouse =
| significantother =
| children =
| relatives =
| religion =
| nationality =
| position =
}}</pre>
== Parameters ==
All parameters are optional.
{| class="wikitable"
|-
! scope="col" | Parameter
! scope="col" | Notes
|-
! scope="row" | color
| Background color for header bars (default = #DEDEE2). The text color is automatically computed. 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 television series or other fictional world or story in which character appears
|-
! 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|<var><nowiki>Example.png</nowiki></var>}}
|-
! 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. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used.
|-
! scope="row" | alt
| Alt text for image per [[WP:MOSALT]]
|-
! scope="row" | caption
| A caption explaining the image
|-
! 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 people who created the character
|-
! scope="row" | designer
| Name of the people who designed the character
|-
! scope="row" | portrayer
| Name of the people who portrayed the character
|-
! scope="row" | voice
| Name of the people who voiced the character
|-
! scope="row" | motion_actor
| Name of the people who portrayed the character in motion capture
|-
! scope="row" | noinfo
| Disable the first "information" header
|-
! scope="row" | info-hdr
| Text for display in second header (default = Information)
|-
! scope="row" | alias
| Any aliases used by the character
|-
! scope-"row | species
| The race or species of the character. Use for non-human characters only.
|-
! scope-"row | gender
| The gender of the character. Use only if not obvious.
|-
! scope-"row | occupation
| The character's job or role
|-
! scope-"row | affiliation
| The groups or teams the character is belongs to
|-
! scope-"row | title
| Titles the character was known by
|-
! scope-"row | family
| The character's family members
|-
! scope-"row | spouse
| The character's spouses
|-
! scope-"row | significantother
| The character's significant others
|-
! scope-"row | children
| The characters's children
|-
! scope-"row | relatives
| The characters's relatives
|-
! scope-"row | religion
| The character's religion
|-
! scope-"row | nationality
| The character's nationality
|-
! scope="row" | position
| The character's position in an organization
|-
! 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#"
|-
! scope="row" | lbl-style
| Style to apply to all cells in the left column
|-
! scope="row" | data-style
| Style to apply to all cells in the right column
|}
===TemplateData===
{{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
{{TemplateData header|noheader=1}}
<templatedata>
{
"description": "",
"params": {
"embed": {
"label": "Embed",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": ""
},
"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": true,
"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 television series or other fictional world or story in which character appears"
},
"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": true,
"deprecated": false,
"description": "Image of the character. \"File:\" and wikilinking is not required. i.e. use {{para|image|<var><nowiki>Example.png</nowiki></var>}}"
},
"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. See [[#Calculating \"image_upright\"|help below]] for guidance on determining the value to be used."
},
"alt": {
"label": "Alt",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "Alt text for image per [[WP:MOSALT]]"
},
"caption": {
"label": "Caption",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "A caption explaining the image"
},
"lbl-style": {
"label": "Label style",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Style to apply to all cells in the left column"
},
"data-style": {
"label": "Data style",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Style to apply to all cells in the right column"
},
"first": {
"label": "First",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "First appearance of the character"
},
"firstgame": {
"label": "First game",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "First appearance in a game of the character"
},
"last": {
"label": "Last",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "Last appearance of the character"
},
"creator": {
"label": "Creator",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the people who created the character"
},
"designer": {
"label": "Designer",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the people who designed the character"
},
"portrayer": {
"label": "Portrayer",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the people who portrayed the character"
},
"voice": {
"label": "Voice actor",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the people who voiced the character"
},
"motion_actor": {
"label": "Motion actor",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Name of the people 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",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 1st header"
},
"data2": {
"label": "Data 2",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl2"
},
"lbl3": {
"label": "Label 3",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 1st header"
},
"data3": {
"label": "Data 3",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl3"
},
"lbl4": {
"label": "Label 4",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 1st header"
},
"data4": {
"label": "Data 4",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl4"
},
"lbl5": {
"label": "Label 5",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 1st header"
},
"data5": {
"label": "Data 5",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl5"
},
"noinfo": {
"label": "Disable second header",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Disable the first \"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)"
},
"alias": {
"label": "Alias",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Any aliases used by the character"
},
"species": {
"label": "Species",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The race or species 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."
},
"occupation": {
"label": "Occupation",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The character's job or role"
},
"affiliation": {
"label": "Affiliation",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The groups or teams the character is belongs to"
},
"title": {
"label": "Title",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Titles the character was known by"
},
"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"
},
"significantother": {
"label": "Significant other",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The character's significant others"
},
"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"
},
"nationality": {
"label": "Nationality",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The character's nationality"
},
"position": {
"label": "Position",
"type": "string",
"required": false,
"suggested": true,
"deprecated": false,
"description": "The character's position"
},
"lbl21": {
"label": "Label 21",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 2nd header"
},
"data21": {
"label": "Data 21",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl21"
},
"lbl22": {
"label": "Label 22",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 2nd header"
},
"data22": {
"label": "Data 22",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl22"
},
"lbl23": {
"label": "Label 23",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 2nd header"
},
"data23": {
"label": "Data 23",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl23"
},
"lbl24": {
"label": "Label 24",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 2nd header"
},
"data24": {
"label": "Data 24",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl24"
},
"lbl25": {
"label": "Label 25",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 2nd header"
},
"data25": {
"label": "Data 25",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl25"
},
"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",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 3rd header"
},
"data31": {
"label": "Data 31",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl31"
},
"lbl32": {
"label": "Label 32",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 3rd header"
},
"data32": {
"label": "Data 32",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl32"
},
"lbl33": {
"label": "Label 33",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 3rd header"
},
"data33": {
"label": "Data 33",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl33"
},
"lbl34": {
"label": "Label 34",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 3rd header"
},
"data34": {
"label": "Data 34",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl34"
},
"lbl35": {
"label": "Label 35",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Label to display in left column for custom fields under the 3rd header"
},
"data35": {
"label": "Data 35",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Text to display in the right column corresponding to lbl35"
}
},
"format": "block"
}
</templatedata>
{{Collapse bottom}}
=== All parameters (not for general use) ===
{{Collapse top|title=Complete list of parameters}}
<pre style="overflow:auto">{{Infobox character
| color = <!-- headers background colour; the foreground colour is automatically computed -->
| name =
| series = <!-- use without the italic on the outside -->
| multiple =
| image =
| image_upright =
| alt =
| caption =
| lbl-style =
| data-style =
| first =
| firstgame =
| last =
| creator =
| designer =
| portrayer =
| voice =
| motion_actor =
| lbl1 =
| data1 =
| lbl2 =
| data2 =
| lbl3 =
| data3 =
| lbl4 =
| data4 =
| lbl5 =
| data5 =
| noinfo =
| info-hdr =
| fullname =
| nickname =
| alias =
| species = <!-- for non-humans only -->
| gender = <!-- if not obvious -->
| occupation =
| affiliation =
| title =
| family =
| spouse =
| significantother =
| children =
| relatives =
| religion =
| nationality =
| position =
| 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}}
=== Notes ===
{{#section:Template:Infobox Australian place/doc|image_upright}}
== Example ==
{{Infobox character
| name = John Doe
| series = [[Criminal Minds]]
| image =
| caption =
| first = "Pilot" (2005)
| last = "Last One" (2018)
| creator = [[Agnes Nixon]]
| portrayer = [[Soupy Sales]]
| nickname = Doeboy
| alias = Jack Dew
| gender = Male
| occupation = Law enforcement
| title = Detective
| family = Doe
| spouse = Jane Doe
| significantother =
| children = John Doe, Jr.
| relatives = Phil Doe (father)<br>Nancy Doe (mother)
| religion = [[Christianity|Christian]]
| nationality = American
}}
<pre style="overflow:auto">
{{Infobox character
| name = John Doe
| series = [[Criminal Minds]]
| image =
| caption =
| first = "Pilot" (2005)
| last = "Last One" (2018)
| creator = [[Agnes Nixon]]
| portrayer = [[Soupy Sales]]
| nickname = Doeboy
| alias = Jack Dew
| gender = Male
| occupation = Law enforcement
| title = Detective
| family = Doe
| spouse = Jane Doe
| significantother =
| children = John Doe, Jr.
| relatives = Phil Doe (father)<br>Nancy Doe (mother)
| religion = [[Christianity|Christian]]
| nationality = American
}}
</pre>
== Tracking categories ==
* {{clc|Pages using infobox character with unknown parameters}}
* {{clc|Articles using Infobox character with multiple unlabeled fields}}
* {{clc|Articles using Template:Infobox character with invalid colour combination}}
== Supporting templates ==
* {{tl|Greater color contrast ratio}}
* {{tl|Ensure AAA contrast ratio}}
== See also ==
=== Pass through templates ===
The following templates are designed for specific series and call this template to generate the infobox:
* {{tl|Infobox Buffyverse character}}
* {{tl|Infobox Law and Order character}}
* {{tl|Infobox Pirates of the Caribbean character}}
* {{tl|Infobox Tolkien character}}
=== Related templates ===
* {{tl|Infobox person}}
{{Film and Television related infobox templates}}
<includeonly>{{basepage subpage|
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
[[Category:Fictional character infobox templates| ]]
[[Category:Templates that add a tracking category]]
}}</includeonly>