Template:Infobox character/doc: Difference between revisions

From Black Cat Studios
Jump to navigationJump to search
(Created page with "{{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...")
No edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
{{High-use}}
{{auto short description}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters|Module:Formatted appearance}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters|Module:Formatted appearance}}



Revision as of 23:44, 19 June 2023

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}}}|frameless|alt={{{alt}}}|upright=1]]
{{{caption}}}
Created by{{{creator}}}
Designed by{{{designer}}}
Voiced by{{{voice}}}
Full name{{{full_name}}}
Alias{{{alias}}}
Nickname{{{nickname}}}
Species{{{species}}}
Gender{{{gender}}}
Title{{{title}}}
Occupation{{{occupation}}}
Spouse{{{spouse}}}
Significant other{{{significant_other}}}


<syntaxhighlight lang="wikitext" style="overflow: auto;">

Infobox character/doc

</syntaxhighlight>

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.
  • nickname
  • nicknames
Any nicknames used by the character.
  • alias
  • aliases
Any aliases used by the character.
  • species
  • race
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.
  • occupation
  • position
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.
  • spouse
  • spouses
The character's spouses.
  • significant_other
  • significant_others
The character's significant others.
children The characters's children.
relatives The characters's relatives.
religion The character's religion.
  • origin
  • home
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 character

Creates an infobox for a fictional character of any type.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Colorcolor colour

Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines on [[WP:COLOR]].

Stringoptional
Namename

Character name to display in top header (default = PAGENAME).

Stringoptional
Seriesseries

Name of the series in which the character appears.

Stringoptional
Franchisefranchise

Name of the fictional world or story in which the character appears. Does not italicize title.

Stringoptional
Multiplemultiple

Set to yes if the infobox describes more than one character.

Stringoptional
Imageimage

Image of the character. "File:" and wikilinking is not required; i.e. use {{para|image|Example.png}}.

Stringoptional
Image uprightimage_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.

Stringoptional
Altalt

Alt text for image per [[WP:MOSALT]].

Stringoptional
Captioncaption

A caption explaining the image.

Stringoptional
First appearance majorfirst_major

The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games.

Stringoptional
First appearance minorfirst_minor

The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions.

Stringoptional
First appearance issuefirst_issue

The number of the comic book issue the fictional element first appeared in.

Stringoptional
First appearance datefirst_date

The date of the publication/release of the minor work where the fictional element first appeared in.

Stringoptional
Last appearance majorlast_major

The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games.

Stringoptional
Last appearance minorlast_minor

The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions.

Stringoptional
Last appearance issuelast_issue

The number of the comic book issue the fictional element last appeared in.

Stringoptional
Last appearance datelast_date

The date of the publication/release of the minor work where the fictional element last appeared in.

Stringoptional
First appearancefirst

First appearance of the character.

Stringoptional
First gamefirstgame

First appearance in a game of the character.

Stringoptional
Last appearancelast

Last appearance of the character.

Stringoptional
Creatorcreator

Name of the individuals who are credited with the creation of the character.

Stringoptional
Based onbased_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}}.

Stringoptional
Adapted byadapted_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.

Stringoptional
Designerdesigner

Name of the individuals who designed the character.

Stringoptional
Portrayerportrayer

Name of the individuals who portrayed the character.

Stringoptional
Voice actorvoice

Name of the individuals who voiced the character (if different from portrayer or there is no portrayer)

Stringoptional
Motion actormotion_actor

Name of the individuals who portrayed the character in motion capture.

Stringoptional
Label 1lbl1

Label to display in left column for custom fields under the 1st header.

Stringoptional
Data 1data1

Text to display in the right column corresponding to lbl1.

Stringoptional
Label 2lbl2

Label to display in left column for custom fields under the 1st header.

Stringoptional
Data 2data2

Text to display in the right column corresponding to lbl2.

Stringoptional
Label 3lbl3

Label to display in left column for custom fields under the 1st header.

Stringoptional
Data 3data3

Text to display in the right column corresponding to lbl3.

Stringoptional
Label 4lbl4

Label to display in left column for custom fields under the 1st header.

Stringoptional
Data 4data4

Text to display in the right column corresponding to lbl4.

Stringoptional
Label 5lbl5

Label to display in left column for custom fields under the 1st header.

Stringoptional
Data 5data5

Text to display in the right column corresponding to lbl5.

Stringoptional
Disable second headernoinfo

Disable the first "In-universe information" header.

Stringoptional
Second header textinfo-hdr

Text for display in second header (default = Information).

Stringoptional
Full namefull_name

The character's full name.

Stringoptional
Nicknamenickname

A nickname used by the character. If there is more than one nickname, use {{para|nicknames}} and separate multiple entries using {{tl|Plainlist}}.

Stringoptional
Nicknamesnicknames

Any nicknames used by the character. If there is only one nickname, use {{para|nickname}}.

Stringoptional
Aliasalias

An alias used by the character. If there is more than one alias, use {{para|aliases}} and separate multiple entries using {{tl|Plainlist}}.

Stringoptional
Aliasaliases

Any aliases used by the character. If there is only one alias, use {{para|alias}}.

Stringoptional
Speciesspecies

The species of the character. Use for non-human characters only.

Stringoptional
Racerace

The race of the character. Use for non-human characters only.

Stringoptional
Gendergender

The gender of the character. Use only if not obvious.

Stringoptional
Titletitle

Titles the character was known by.

Stringoptional
Occupationoccupation

The character's job or role.

Stringoptional
Positionposition

The character's job or role.

Stringoptional
Classclass

The character class for RPG characters.

Stringoptional
Affiliationaffiliation

The groups or teams the character belongs to.

Stringoptional
Alignmentalignment

The character's Dungeons & Dragons alignment.

Stringoptional
Fighting stylefighting_style

The primary fighting styles used by the character.

Stringoptional
Weaponweapon

The types of weapons the character uses.

Stringoptional
Familyfamily

The character's family members.

Stringoptional
Spousespouse

The character's spouses.

Stringoptional
Spousesspouses

The character's spouses.

Stringoptional
Significant othersignificant_other

The character's significant others. If there is more than one significant_other, use {{para|significant_others}} and separate multiple entries using {{tl|Plainlist}}.

Stringoptional
Significant otherssignificant_others

The character's significant others. If there is only one significant_other, use {{para|significant_other}}.

Stringoptional
Childrenchildren

The characters's children

Stringoptional
Relativesrelatives

The characters's relatives

Stringoptional
Religionreligion

The character's religion

Stringoptional
Originorigin

The character's place of origin.

Stringoptional
Homehome

The character's place of origin.

Stringoptional
Nationalitynationality

The character's nationality.

Stringoptional
Label 21lbl21

Label to display in left column for custom fields under the 2nd header.

Stringoptional
Data 21data21

Text to display in the right column corresponding to lbl21.

Stringoptional
Label 22lbl22

Label to display in left column for custom fields under the 2nd header.

Stringoptional
Data 22data22

Text to display in the right column corresponding to lbl22.

Stringoptional
Label 23lbl23

Label to display in left column for custom fields under the 2nd header.

Stringoptional
Data 23data23

Text to display in the right column corresponding to lbl23.

Stringoptional
Label 24lbl24

Label to display in left column for custom fields under the 2nd header.

Stringoptional
Data 24data24

Text to display in the right column corresponding to lbl24.

Stringoptional
Label 25lbl25

Label to display in left column for custom fields under the 2nd header.

Stringoptional
Data 25data25

Text to display in the right column corresponding to lbl25.

Stringoptional
Third header textextra-hdr

Text for display in third header (default = No third header).

Stringoptional
Label 31lbl31

Label to display in left column for custom fields under the 3rd header.

Stringoptional
Data 31data31

Text to display in the right column corresponding to lbl31.

Stringoptional
Label 32lbl32

Label to display in left column for custom fields under the 3rd header.

Stringoptional
Data 32data32

Text to display in the right column corresponding to lbl32.

Stringoptional
Label 33lbl33

Label to display in left column for custom fields under the 3rd header.

Stringoptional
Data 33data33

Text to display in the right column corresponding to lbl33.

Stringoptional
Label 34lbl34

Label to display in left column for custom fields under the 3rd header.

Stringoptional
Data 34data34

Text to display in the right column corresponding to lbl34.

Stringoptional
Label 35lbl35

Label to display in left column for custom fields under the 3rd header.

Stringoptional
Data 35data35

Text to display in the right column corresponding to lbl35.

Stringoptional

All parameters (not for general use)

Complete list of parameters
{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
Created by{{{creator}}}
Designed by{{{designer}}}
Voiced by{{{voice}}}
Full name{{{full_name}}}
Alias{{{alias}}}
Nickname{{{nickname}}}
Species{{{species}}}
Gender{{{gender}}}
Title{{{title}}}
Occupation{{{occupation}}}
Spouse{{{spouse}}}
Significant other{{{significant_other}}}


<syntaxhighlight lang="wikitext">

Infobox character/doc

</syntaxhighlight>

Example

John Doe
Created byAgnes Nixon
AliasJack Dew
NicknameDoeboy
GenderMale
TitleDetective
OccupationLaw enforcement
SpouseJane Doe


<syntaxhighlight lang="wikitext">

John Doe
Created byAgnes Nixon
AliasJack Dew
NicknameDoeboy
GenderMale
TitleDetective
OccupationLaw enforcement
SpouseJane Doe

</syntaxhighlight>

Tracking categories

Supporting templates

See also