Template:Infobox person: Difference between revisions
Dat Hack3r (talk | contribs) (How could I forget?) |
Dat Hack3r (talk | contribs) (Decided to do this.) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | |||
| bodystyle = {{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}} | |||
| abovestyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}} | |||
| headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}} | |||
| above = {{{name|{{PAGENAME}}}}} | |||
| autoheaders = y | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imageSize|}}}|sizedefault=300px|upright={{{imageUpright|1}}}|alt={{{imageAlt|}}}}} | |||
| caption1 = {{{imageCaption|}}} | |||
| label1 = Real name | |||
| data1 = {{{realName|}}} | |||
| label2 = Aliases | |||
| data2 = {{{aliases|}}} | |||
| label3 = Known for | |||
| data3 = {{{knownFor|}}} | |||
| label4 = Family | |||
| data4 = {{{family|}}} | |||
| label5 = Affiliations | |||
| data5 = {{{affiliations|}}} | |||
| label6 = Friends | |||
| data6 = {{{friends|}}} | |||
| label7 = Enemies | |||
| data7 = {{{enemies|}}} | |||
| header8 = General information | |||
| label9 = Age | |||
| data9 = {{{age|}}} | |||
| label10 = Sex | |||
| data10 = {{{sex|}}} | |||
| label11 = Gender | |||
| data11 = {{{gender|}}} | |||
| label12 = Sexual orientation | |||
| data12 = {{{sexualOrientation|}}} | |||
| label13 = Race | |||
| data13 = {{{race|}}} | |||
| label14 = Religion | |||
| data14 = {{{religion|}}} | |||
| label15 = Country of origin | |||
| data15 = {{{nationality|}}} | |||
| label16 = City or country of residence | |||
| data16 = {{{residence|}}} | |||
| label17 = Marital status | |||
| data17 = {{{marital|}}} | |||
| label18 = Significant other | |||
| data18 = {{{significantOther|}}} | |||
| label19 = Occupation | |||
| data19 = {{{occupation|}}} | |||
| label20 = Employer | |||
| data20 = {{{employer|}}} | |||
| label21 = Organization | |||
| data21 = {{{organization|}}} | |||
| label22 = Date of birth | |||
| data22 = {{{birthDate|}}} | |||
| label23 = Place of birth | |||
| data23 = {{{birthPlace|}}} | |||
| label24 = Date of death | |||
| data24 = {{{deathDate|}}} | |||
| label25 = Place of death | |||
| data25 = {{{deathPlace|}}} | |||
| header26 = Physical description | |||
| label27 = Height | |||
| data27 = {{{height|}}} | |||
| label28 = Weight | |||
| data28 = {{{weight|}}} | |||
| label29 = Eye color | |||
| data29 = {{{eyes|}}} | |||
| header30 = Socials | |||
| label31 = Webpage | |||
| data31 = {{{webpage|}}} | |||
| label32 = Others | |||
| data32 = {{{otherSocials|}}} | |||
}}<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 11:07, 22 November 2024
Infobox person |
---|
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. |
Lua error in Module:Lua_banner at line 112: attempt to index field 'edit' (a nil value).
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]] | |
Family | {{{family}}} |
General information | |
Gender | {{{gender}}} |
Religion | {{{religion}}} |
Country of origin | {{{nationality}}} |
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 | |
---|---|
Family | Doe |
General information | |
Gender | Male |
Religion | Christian |
Country of origin | 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}}}