Template:Infobox character/doc: Difference between revisions
m 1 revision imported: Wikipedia Infoboxes |
Update docs to match Tag: wikieditor |
||
Line 9: | Line 9: | ||
The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page. | The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page. | ||
{{Parameter names example | {{Parameter names example| affiliation | alias | alt | based_on | caption | children | creator | data1 | data2 | data3 | data4 | data5 | data21 | data22 | data23 | data24 | data25 | data31 | data32 | data33 | data34 | data35 | extra-hdr | family | full_name | gender | image | image_size | image_upright | info-hdr | lbl1 | lbl2 | lbl3 | lbl4 | lbl5 | lbl21 | lbl22 | lbl23 | lbl24 | lbl25 | lbl31 | lbl32 | lbl33 | lbl34 | lbl35 | name | occupation | relatives | significant_other | spouse | title }} | ||
<syntaxhighlight lang="wikitext" style="overflow: auto;"> | <syntaxhighlight lang="wikitext" style="overflow: auto;"> | ||
{{Infobox character | {{Infobox character | ||
| name = | | name = | ||
| image = | | image = | ||
| alt = | | alt = | ||
| caption = | | caption = | ||
| creator = <!-- only the credited creators; use adapted_by= for adaptations --> | | creator = <!-- only the credited creators; use adapted_by= for adaptations --> | ||
| full_name = | | full_name = | ||
| alias = <!-- or |aliases= --> | | alias = <!-- or |aliases= --> | ||
| gender = <!-- if not obvious --> | | gender = <!-- if not obvious --> | ||
| title = | | title = | ||
| occupation = <!-- or |position= or |class= --> | | occupation = <!-- or |position= or |class= --> | ||
| affiliation = <!-- or |alignment= --> | | affiliation = <!-- or |alignment= --> | ||
| family = | | family = | ||
| spouse = <!-- or |spouses= --> | | spouse = <!-- or |spouses= --> | ||
Line 48: | Line 29: | ||
| children = | | children = | ||
| relatives = | | relatives = | ||
}}</syntaxhighlight> | }}</syntaxhighlight> | ||
Line 63: | Line 41: | ||
! scope="row" | name | ! scope="row" | name | ||
| Character name to display in top header (default = PAGENAME). | | Character name to display in top header (default = PAGENAME). | ||
|- | |- | ||
! scope="row" | image | ! scope="row" | image | ||
Line 80: | Line 49: | ||
|- | |- | ||
! scope="row" | alt | ! scope="row" | alt | ||
| Alt text for image | | Alt text for image. | ||
|- | |- | ||
! scope="row" | caption | ! scope="row" | caption | ||
| A caption explaining the image. | | A caption explaining the image. | ||
|- | |- | ||
! scope="row" | creator | ! scope="row" | creator | ||
| Name of the individuals who are credited with the creation of the character. | | Name of the individuals who are credited with the creation of the character. | ||
|- | |- | ||
! scope="row" | noinfo | ! scope="row" | noinfo | ||
Line 147: | Line 65: | ||
! scope="row" | full_name | ! scope="row" | full_name | ||
| The character's full name. | | The character's full name. | ||
|- | |- | ||
! scope="row" | {{Unbulleted list|alias|aliases}} | ! scope="row" | {{Unbulleted list|alias|aliases}} | ||
| Any aliases used by the character. | | Any aliases used by the character. | ||
|- | |- | ||
! scope="row" | | ! scope="row" | tribe | ||
| The | | The tribe of the character. | ||
|- | |- | ||
! scope="row" | gender | ! scope="row" | gender | ||
Line 162: | Line 77: | ||
! scope="row" | title | ! scope="row" | title | ||
| Titles the character was known by. | | Titles the character was known by. | ||
|- | |- | ||
! scope="row" | affiliation | ! scope="row" | affiliation | ||
| The | | The kingdom or nation the character belongs to. | ||
|- | |- | ||
! scope="row" | family | ! scope="row" | family | ||
| The character's family members. | | The character's family members. | ||
|- | |- | ||
! scope="row" | ! scope="row" | spouse | ||
| The character's | | The character's spouse. | ||
|- | |- | ||
! scope="row" | ! scope="row" | significant_other | ||
| The character's significant | | The character's significant other. | ||
|- | |- | ||
! scope="row" | children | ! scope="row" | children | ||
Line 195: | Line 95: | ||
! scope="row" | relatives | ! scope="row" | relatives | ||
| The characters's relatives. | | The characters's relatives. | ||
|- | |- | ||
! scope="row" | extra-hdr | ! scope="row" | extra-hdr | ||
Line 229: | Line 120: | ||
"deprecated": false, | "deprecated": false, | ||
"description": "Character name to display in top header (default = PAGENAME)." | "description": "Character name to display in top header (default = PAGENAME)." | ||
}, | }, | ||
"image": { | "image": { | ||
Line 285: | Line 152: | ||
"deprecated": false, | "deprecated": false, | ||
"description": "A caption explaining the image." | "description": "A caption explaining the image." | ||
}, | }, | ||
"creator": { | "creator": { | ||
Line 381: | Line 160: | ||
"deprecated": false, | "deprecated": false, | ||
"description": "Name of the individuals who are credited with the creation of the character." | "description": "Name of the individuals who are credited with the creation of the character." | ||
}, | }, | ||
"lbl1": { | "lbl1": { | ||
Line 505: | Line 236: | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The character's full name." | "description": "The character's full name." | ||
}, | }, | ||
"alias": { | "alias": { | ||
Line 538: | Line 253: | ||
"description": "Any aliases used by the character. If there is only one alias, use {{para|alias}}." | "description": "Any aliases used by the character. If there is only one alias, use {{para|alias}}." | ||
}, | }, | ||
" | "tribe": { | ||
"label": " | "label": "Tribe", | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"suggested": false, | "suggested": false, | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The | "description": "The tribe of the character." | ||
}, | }, | ||
"gender": { | "gender": { | ||
Line 560: | Line 267: | ||
"suggested": false, | "suggested": false, | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The gender of the character | "description": "The gender of the character." | ||
}, | }, | ||
"title": { | "title": { | ||
Line 577: | Line 284: | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The character's job or role." | "description": "The character's job or role." | ||
}, | }, | ||
"affiliation": { | "affiliation": { | ||
Line 600: | Line 291: | ||
"suggested": false, | "suggested": false, | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The | "description": "The kingdom or nation the character belongs to." | ||
}, | }, | ||
"family": { | "family": { | ||
Line 640: | Line 307: | ||
"suggested": false, | "suggested": false, | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The character's | "description": "The character's spouse." | ||
}, | }, | ||
"significant_other": { | "significant_other": { | ||
Line 656: | Line 315: | ||
"suggested": false, | "suggested": false, | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The character's significant | "description": "The character's significant other." | ||
}, | }, | ||
"children": { | "children": { | ||
Line 681: | Line 332: | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The characters's relatives" | "description": "The characters's relatives" | ||
}, | }, | ||
"lbl21": { | "lbl21": { | ||
Line 823: | Line 442: | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
"image", | "image", | ||
"image_size", | "image_size", | ||
Line 831: | Line 447: | ||
"alt", | "alt", | ||
"caption", | "caption", | ||
"creator", | "creator", | ||
"lbl1", | "lbl1", | ||
"data1", | "data1", | ||
Line 862: | Line 461: | ||
"info-hdr", | "info-hdr", | ||
"full_name", | "full_name", | ||
"alias", | "alias", | ||
"aliases", | "aliases", | ||
" | "tribe", | ||
"gender", | "gender", | ||
"title", | "title", | ||
"occupation", | "occupation", | ||
"affiliation", | "affiliation", | ||
"family", | "family", | ||
"spouse", | "spouse", | ||
"significant_other", | "significant_other", | ||
"children", | "children", | ||
"relatives", | "relatives", | ||
"lbl21", | "lbl21", | ||
"data21", | "data21", | ||
Line 919: | Line 504: | ||
{{Infobox character | {{Infobox character | ||
| name = | | name = | ||
| image = | | image = | ||
| image_upright = | | image_upright = | ||
| alt = | | alt = | ||
| caption = | | caption = | ||
| creator = | |||
| creator | |||
| lbl1 = | | lbl1 = | ||
| data1 = | | data1 = | ||
Line 954: | Line 522: | ||
| info-hdr = | | info-hdr = | ||
| full_name = | | full_name = | ||
| alias = <!-- or |aliases= --> | | alias = <!-- or |aliases= --> | ||
| | | tribe = | ||
| gender = <!-- if not obvious --> | | gender = <!-- if not obvious --> | ||
| title = | | title = | ||
| occupation = | | occupation = | ||
| affiliation | | affiliation = | ||
| family = | | family = | ||
| spouse = | | spouse = | ||
| significant_other = | | significant_other = | ||
| children = | | children = | ||
| relatives = | | relatives = | ||
| lbl21 = | | lbl21 = | ||
| data21 = | | data21 = | ||
Line 998: | Line 560: | ||
{{Infobox character | {{Infobox character | ||
| name = John Doe | | name = John Doe | ||
| image = | | image = | ||
| caption = | | caption = | ||
| creator = [[Agnes Nixon]] | | creator = [[Agnes Nixon]] | ||
| alias = Jack Dew | | alias = Jack Dew | ||
| gender = Male | | gender = Male | ||
Line 1,022: | Line 575: | ||
* Nancy Doe (mother) | * Nancy Doe (mother) | ||
}} | }} | ||
}} | }} | ||
Line 1,029: | Line 580: | ||
{{Infobox character | {{Infobox character | ||
| name = John Doe | | name = John Doe | ||
| image = | | image = | ||
| caption = | | caption = | ||
| creator = [[Agnes Nixon]] | | creator = [[Agnes Nixon]] | ||
| alias = Jack Dew | | alias = Jack Dew | ||
| gender = Male | | gender = Male | ||
Line 1,053: | Line 595: | ||
* Nancy Doe (mother) | * Nancy Doe (mother) | ||
}} | }} | ||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 20:30, 8 July 2024
File:OOjs UI icon book-ltr.png | This is a documentation subpage for Template:Infobox character. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
Warning | This template is used on approximately 7,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. 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. |
File:Lua-Logo.svg | 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}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] | |
Created by | {{{creator}}} |
{{{lbl1}}} | {{{data1}}} |
{{{lbl2}}} | {{{data2}}} |
{{{lbl3}}} | {{{data3}}} |
{{{lbl4}}} | {{{data4}}} |
{{{lbl5}}} | {{{data5}}} |
{{{info-hdr}}} | |
Full name | {{{full_name}}} |
Alias | {{{alias}}} |
Gender | {{{gender}}} |
Title | {{{title}}} |
Occupation | {{{occupation}}} |
Affiliation | {{{affiliation}}} |
Family | {{{family}}} |
Spouse | {{{spouse}}} |
Significant other | {{{significant_other}}} |
Children | {{{children}}} |
Relatives | {{{relatives}}} |
{{{lbl21}}} | {{{data21}}} |
{{{lbl22}}} | {{{data22}}} |
{{{lbl23}}} | {{{data23}}} |
{{{lbl24}}} | {{{data24}}} |
{{{lbl25}}} | {{{data25}}} |
{{{extra-hdr}}} | |
{{{lbl31}}} | {{{data31}}} |
{{{lbl32}}} | {{{data32}}} |
{{{lbl33}}} | {{{data33}}} |
{{{lbl34}}} | {{{data34}}} |
{{{lbl35}}} | {{{data35}}} |
<syntaxhighlight lang="wikitext" style="overflow: auto;">
Infobox character/doc | |
---|---|
In-universe information |
</syntaxhighlight>
Parameters
All parameters are optional. Separate multiple entries using {{Plainlist}}.
Parameter | Notes |
---|---|
name | Character name to display in top header (default = PAGENAME). |
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. |
caption | A caption explaining the image. |
creator | Name of the individuals who are credited with the creation of the character. |
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 aliases used by the character. |
tribe | The tribe of the character. |
gender | The gender of the character. Use only if not obvious. |
title | Titles the character was known by. |
affiliation | The kingdom or nation the character belongs to. |
family | The character's family members. |
spouse | The character's spouse. |
significant_other | The character's significant other. |
children | The characters's children. |
relatives | The characters's relatives. |
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
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Creates an infobox for a fictional character of any type.
|
All parameters (not for general use)
Complete list of parameters
| ||||
---|---|---|---|---|
<syntaxhighlight lang="wikitext">
|
Example
John Doe | |
---|---|
Created by | Agnes Nixon |
In-universe information | |
Alias | Jack Dew |
Gender | Male |
Title | Detective |
Occupation | Law enforcement |
Family | Doe |
Spouse | Jane Doe |
Children | John Doe, Jr. |
Relatives |
|
<syntaxhighlight lang="wikitext">
John Doe | |
---|---|
Created by | Agnes Nixon |
In-universe information | |
Alias | Jack Dew |
Gender | Male |
Title | Detective |
Occupation | Law enforcement |
Family | Doe |
Spouse | Jane Doe |
Children | John Doe, Jr. |
Relatives |
* Nancy Doe (mother) |
</syntaxhighlight>
Tracking categories
- Category:Pages using infobox character with unknown parameters (0)
- Category:Articles using Infobox character with multiple unlabeled fields (1)
See also
- {{Infobox person}}