Template:Infobox character: Difference between revisions
m (1 revision imported) |
No edit summary Tag: Reverted |
||
Line 4: | Line 4: | ||
| above = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }} | | above = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }} | ||
| abovestyle = background: {{If empty |{{{color|}}} |{{{colour|}}} |# | | abovestyle = background: {{If empty |{{{color|}}} |{{{colour|}}} |#000566 }}; {{#if: {{{color|}}}{{{colour|}}} | color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }} | ||
| subheader = {{#if: {{{series|}}}{{{franchise|}}} | {{#if: {{{series|}}} | ''{{{series|}}}'' | {{{franchise|}}} }} character{{#if: {{{multiple|}}} | s }} }} | | subheader = {{#if: {{{series|}}}{{{franchise|}}} | {{#if: {{{series|}}} | ''{{{series|}}}'' | {{{franchise|}}} }} character{{#if: {{{multiple|}}} | s }} }} |
Revision as of 14:20, 20 July 2022
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}}} | |
---|---|
{{{series}}} character | |
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
First appearance |
|
Last appearance |
|
Created by | {{{creator}}} |
Based on | {{{based_on}}} |
Adapted by | {{{adapted_by}}} |
Designed by | {{{designer}}} |
Portrayed by | {{{portrayer}}} |
Voiced by | {{{voice}}} |
Motion capture | {{{motion_actor}}} |
In-universe information | |
Full name | {{{full_name}}} |
Alias | {{{alias}}} |
Nickname | {{{nickname}}} |
Species | {{{species}}} |
Gender | {{{gender}}} |
Title | {{{title}}} |
Occupation | {{{occupation}}} |
Affiliation | {{{affiliation}}} |
Fighting style | {{{fighting_style}}} |
Weapon | {{{weapon}}} |
Family | {{{family}}} |
Spouse | {{{spouse}}} |
Significant other | {{{significant_other}}} |
Children | {{{children}}} |
Relatives | {{{relatives}}} |
Religion | {{{religion}}} |
Origin | {{{origin}}} |
Nationality | {{{nationality}}} |
{{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
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Infobox character in articles based on its TemplateData.
TemplateData for Infobox character 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 | |
---|---|
Criminal Minds character | |
First appearance |
|
Last appearance |
|
Created by | Agnes Nixon |
Portrayed by | Soupy Sales |
In-universe information | |
Alias | Jack Dew |
Nickname | Doeboy |
Gender | Male |
Title | Detective |
Occupation | Law enforcement |
Family | Doe |
Spouse | Jane Doe |
Children | John Doe, Jr. |
Relatives |
|
Religion | Christian |
Nationality | American |
{{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 (17)
- 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}}