Difference between revisions of "Template:Infobox character"
w>Gonnym (deprecation complete - removing parameters) |
o>TransEmo m (1 revision imported) |
Revision as of 08:57, 12 October 2019
This template is used on approximately 7,500 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Infobox character is used to create an infobox for a fictional character of any type.
Contents
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|{{{alt}}}]] {{{caption}}} | |
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}}} |
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 |
---|
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 computed. 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. See help below for guidance on determining the value to be used. |
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. |
motion_actor | Name of the individuals who portrayed the character in motion capture. |
noinfo | Disable the first "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 the monthly error report for this template.
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 |
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 |
<source lang="moin" style="overflow:auto">
John Doe | |
---|---|
Criminal Minds character | |
First appearance |
|
Last appearance |
|
Created by | Agnes Nixon |
Portrayed by | Soupy Sales |
Information | |
Alias | Jack Dew |
Nickname | Doeboy |
Gender | Male |
Title | Detective |
Occupation | Law enforcement |
Family | Doe |
Spouse | Jane Doe |
Children | John Doe, Jr. |
Relatives |
* Nancy Doe (mother) |
Religion | Christian |
Nationality | American |
</source>
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}}
Template:Film- and television-related infobox templates
The above documentation is transcluded from Template:Infobox character/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |