Template:Infobox person/doc: Difference between revisions
fdchar>FANDOM mNo edit summary |
Dat Hack3r (talk | contribs) m (Dat Hack3r moved page Template:Infobox character/doc to Template:Infobox person/doc: This is an infobox for people, not characters.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
{{High-use}} | |||
{{auto short description}} | |||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters|Module:Formatted appearance}} | |||
== | '''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. | |||
{{Infobox character | |||
| name = {{{name}}} | |||
| series = {{{series}}} | |||
| image = {{{image}}} | |||
| alt = {{{alt}}} | |||
| caption = {{{caption}}} | |||
| first_major = {{{first_major}}} | |||
| first_minor = {{{first_minor}}} | |||
| first_date = {{{first_date}}} | |||
| last_major = {{{last_major}}} | |||
| last_minor = {{{last_minor}}} | |||
| last_date = {{{last_date}}} | |||
| creator = {{{creator}}} | |||
| based_on = {{{based_on}}} | |||
| adapted_by = {{{adapted_by}}} | |||
| designer = {{{designer}}} | |||
| portrayer = {{{portrayer}}} | |||
| voice = {{{voice}}} | |||
| motion_actor = {{{motion_actor}}} | |||
| full_name = {{{full_name}}} | |||
| nickname = {{{nickname}}} | |||
| alias = {{{alias}}} | |||
| species = {{{species}}} | |||
| gender = {{{gender}}} | |||
| title = {{{title}}} | |||
| occupation = {{{occupation}}} | |||
| affiliation = {{{affiliation}}} | |||
| fighting_style = {{{fighting_style}}} | |||
| weapon = {{{weapon}}} | |||
| family = {{{family}}} | |||
| spouse = {{{spouse}}} | |||
| significant_other = {{{significant_other}}} | |||
| children = {{{children}}} | |||
| relatives = {{{relatives}}} | |||
| religion = {{{religion}}} | |||
| origin = {{{origin}}} | |||
| nationality = {{{nationality}}} | |||
}} | }} | ||
== | <syntaxhighlight lang="html" style="overflow:auto">{{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 = | |||
| first = <!-- Use instead of first_major= etc. when custom or complex formatting is needed. --> | |||
| last_major = | |||
| last_minor = <!-- or |last_issue= --> | |||
| last_date = | |||
| gender | | last = <!-- Use instead of last_major= etc. when custom or complex formatting is needed. --> | ||
| 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}}. | |||
{| class="wikitable" | |||
|- | |||
! 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. | |||
|- | |||
! scope="row" | noinfo | |||
| Disable the first "In-universe information" header. | |||
|- | |||
! scope="row" | info-hdr | |||
| Text for display in second header (default = Information). | |||
|- | |||
! scope="row" | full_name | |||
| The character's full name. | |||
|- | |||
! scope="row" | {{Unbulleted list|nickname|nicknames}} | |||
| Any nicknames used by the character. | |||
|- | |||
! scope="row" | {{Unbulleted list|alias|aliases}} | |||
| Any aliases used by the character. | |||
|- | |||
! scope="row" | {{Unbulleted list|species|race}} | |||
| The species or race of the character. Use for non-human characters only. | |||
|- | |||
! scope="row" | gender | |||
| The gender of the character. Use only if not obvious. | |||
|- | |||
! scope="row" | title | |||
| Titles the character was known by. | |||
|- | |||
! scope="row" | {{Unbulleted list|occupation|position}} | |||
| The character's job or role. | |||
|- | |||
! scope="row" | class | |||
| The [[character class]] for RPG characters. | |||
|- | |||
! scope="row" | affiliation | |||
| The groups or teams the character belongs to. | |||
|- | |||
! scope="row" | alignment | |||
| The character's Dungeons & Dragons alignment. | |||
|- | |||
! scope="row" | fighting_style | |||
| The primary fighting styles used by the character. | |||
|- | |||
! scope="row" | weapon | |||
| The types of weapons the character uses. | |||
|- | |||
! scope="row" | family | |||
| The character's family members. | |||
|- | |||
! scope="row" | {{Unbulleted list|spouse|spouses}} | |||
| The character's spouses. | |||
|- | |||
! scope="row" | {{Unbulleted list|significant_other|significant_others}} | |||
| 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" | {{Unbulleted list|origin|home}} | |||
| The character's place of origin. | |||
|- | |||
! scope="row" | nationality | |||
| The character's nationality. | |||
|- | |||
! 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 == | |||
{{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 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 == | |||
* {{tl|Infobox person}} | |||
{{Film- and television-related infobox templates}} | |||
<includeonly>{{sandbox other|| | |||
<!-- Categories below this line, please; interwikis at Wikidata --> | |||
[[Category:Fictional character infobox templates| ]] | |||
[[Category:Templates that add a tracking category]] | |||
}}</includeonly> |
Latest revision as of 17:57, 26 November 2024
This is a documentation subpage for Template:Infobox person. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 454,000 pages, or roughly 28789% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This template uses Lua: |
Infobox character is used to create an infobox for a fictional character of any type.
Usage
The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page.
{{{name}}} | |
---|---|
[[File:{{{image}}}|300px|upright=1]] | |
Alias | {{{alias}}} |
Family members | {{{family}}} |
General information | |
Gender | {{{gender}}} |
Religion | {{{religion}}} |
Country of origin | {{{origin}}} |
Nationality | {{{nationality}}} |
Significant other | {{{significant_other}}} |
Occupation | {{{occupation}}} |
{{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 =
| first = <!-- Use instead of first_major= etc. when custom or complex formatting is needed. -->
| last_major =
| last_minor = <!-- or |last_issue= -->
| last_date =
| last = <!-- Use instead of last_major= etc. when custom or complex formatting is needed. -->
| 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. |
|
Any nicknames used by the character. |
|
Any aliases used by the character. |
|
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. |
|
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. |
|
The character's spouses. |
|
The character's significant others. |
children | The characters's children. |
relatives | The characters's relatives. |
religion | The character's religion. |
|
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
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Infobox person Creates an infobox for a fictional character of any type.
|
All parameters (not for general use)
Complete list of parameters
| ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox character | color = <!-- headers background colour; the foreground colour is automatically computed --> | name = | series = <!-- or |franchise=; use without the italic on the outside --> | multiple = | image = | image_upright = | alt = | caption = | first_major = <!-- per [[MOS:MAJORWORK]] - major works include TV series, films, books, albums and games --> | first_minor = <!-- or |first_issue=; Per [[MOS:MINORWORK]] - minor works include TV episodes, chapters, songs and game missions --> | first_date = | last_major = | last_minor = <!-- or |last_issue= --> | last_date = | first = | firstgame = | last = | creator = <!-- only the credited creators; use adapted_by= for adaptations --> | based_on = <!-- if not an original creation, use {{based on|character|author}} --> | adapted_by = <!-- for character adaption articles --> | designer = | portrayer = | voice = | motion_actor = | lbl1 = | data1 = | lbl2 = | data2 = | lbl3 = | data3 = | lbl4 = | data4 = | lbl5 = | data5 = | noinfo = | info-hdr = | full_name = | nickname = <!-- or |nicknames= --> | alias = <!-- or |aliases= --> | species = <!-- or |race=; for non-humans only --> | gender = <!-- if not obvious --> | title = | occupation = <!-- or |position= or |class= --> | affiliation = <!-- or |alignment= --> | fighting_style = | weapon = | family = | spouse = <!-- or |spouses= --> | significant_other = <!-- or |significant_others= --> | children = | relatives = | religion = | origin = <!-- or |home= --> | nationality = | lbl21 = | data21 = | lbl22 = | data22 = | lbl23 = | data23 = | lbl24 = | data24 = | lbl25 = | data25 = | extra-hdr = | lbl31 = | data31 = | lbl32 = | data32 = | lbl33 = | data33 = | lbl34 = | data34 = | lbl35 = | data35 = }} |
Example
John Doe | |
---|---|
Alias | Jack Dew |
Family members | Doe |
General information | |
Gender | Male |
Religion | Christian |
Nationality | American |
Occupation | Law enforcement |
{{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
- Category:Pages using infobox character with unknown parameters (0)
- Category:Articles using Infobox character with multiple unlabeled fields (0)
- Category:Articles using infoboxes for fictional elements with invalid color combination (0)
Supporting templates
See also
- {{Infobox person}}
{{{body}}}