Template:Infobox character/doc: Difference between revisions
m (1 revision imported) |
No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
{{Infobox character | {{Infobox character | ||
| name = {{{name}}} | | name = {{{name}}} | ||
| image = {{{image}}} | | image = {{{image}}} | ||
| alt = {{{alt}}} | | alt = {{{alt}}} | ||
| caption = {{{caption}}} | | caption = {{{caption}}} | ||
| creator = {{{creator}}} | | creator = {{{creator}}} | ||
| designer = {{{designer}}} | | designer = {{{designer}}} | ||
| voice = {{{voice}}} | | voice = {{{voice}}} | ||
| full_name = {{{full_name}}} | | full_name = {{{full_name}}} | ||
| nickname = {{{nickname}}} | | nickname = {{{nickname}}} | ||
Line 34: | Line 23: | ||
| title = {{{title}}} | | title = {{{title}}} | ||
| occupation = {{{occupation}}} | | occupation = {{{occupation}}} | ||
| spouse = {{{spouse}}} | | spouse = {{{spouse}}} | ||
| significant_other = {{{significant_other}}} | | significant_other = {{{significant_other}}} | ||
| | | available = {{{available}}} | ||
| desires = {{{desires}}} | |||
| | |||
}} | }} | ||
Line 51: | Line 33: | ||
| color = <!-- headers background color; the foreground color is automatically computed --> | | color = <!-- headers background color; the foreground color is automatically computed --> | ||
| 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 --> | ||
| designer = | | designer = | ||
| voice = | | voice = | ||
| full_name = | | full_name = | ||
| nickname = <!-- or |nicknames= --> | | nickname = <!-- or |nicknames= --> | ||
Line 77: | Line 46: | ||
| title = | | title = | ||
| occupation = <!-- or |position= or |class= --> | | occupation = <!-- or |position= or |class= --> | ||
| spouse = <!-- or |spouses= --> | | spouse = <!-- or |spouses= --> | ||
| significant_other = <!-- or |significant_others= --> | | significant_other = <!-- or |significant_others= --> | ||
| | | available = | ||
| desires = <!-- list of kinks --> | |||
| | |||
}}</syntaxhighlight> | }}</syntaxhighlight> | ||
Line 103: | Line 65: | ||
! 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 124: | Line 77: | ||
! 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" | designer | ! scope="row" | designer | ||
| Name of the individuals who designed the character. | | Name of the individuals who designed the character. | ||
|- | |- | ||
! scope="row" | voice | ! scope="row" | voice | ||
| Name of the individuals who voiced the character. Should be omitted if the same as "portrayer". | | Name of the individuals who voiced the character. Should be omitted if the same as "portrayer". | ||
|- | |- | ||
! scope="row" | full_name | ! scope="row" | full_name | ||
Line 208: | Line 110: | ||
! scope="row" | class | ! scope="row" | class | ||
| The [[character class]] for RPG characters. | | The [[character class]] for RPG characters. | ||
|- | |- | ||
! scope="row" | {{Unbulleted list|spouse|spouses}} | ! scope="row" | {{Unbulleted list|spouse|spouses}} | ||
Line 230: | Line 117: | ||
| The character's significant others. | | The character's significant others. | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Unbulleted list|availability}} | ||
| | | Where the character can be found. | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Unbulleted list|desires}} | ||
| | | What the character is into. | ||
|- | |- | ||
|} | |} | ||
===TemplateData=== | ===TemplateData=== | ||
{{Collapse top|title=TemplateData}} | {{Collapse top|title=TemplateData}} | ||
{{TemplateData header|noheader= | {{TemplateData header|noheader=0}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 276: | Line 146: | ||
"label": "Name", | "label": "Name", | ||
"type": "string", | "type": "string", | ||
"required": | "required": true, | ||
"suggested": false, | "suggested": false, | ||
"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 309: | Line 155: | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"suggested": | "suggested": true, | ||
"deprecated": false, | "deprecated": false, | ||
"description": "Image of the character. \"File:\" and wikilinking is not required; i.e. use {{para|image|Example.png}}." | "description": "Image of the character. \"File:\" and wikilinking is not required; i.e. use {{para|image|Example.png}}." | ||
Line 336: | Line 182: | ||
"deprecated": false, | "deprecated": false, | ||
"description": "A caption explaining the image." | "description": "A caption explaining the image." | ||
}, | }, | ||
"creator": { | "creator": { | ||
"label": "Creator", | "label": "Creator", | ||
"type": "string", | "type": "string", | ||
"required": | "required": true, | ||
"suggested": | "suggested": true, | ||
"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." | ||
}, | }, | ||
"designer": { | "designer": { | ||
Line 453: | Line 195: | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"suggested": | "suggested": true, | ||
"deprecated": false, | "deprecated": false, | ||
"description": "Name of the individuals who designed the character." | "description": "Name of the individuals who designed the character." | ||
}, | }, | ||
"voice": { | "voice": { | ||
Line 472: | Line 206: | ||
"deprecated": false, | "deprecated": false, | ||
"description": "Name of the individuals who voiced the character (if different from portrayer or there is no portrayer)" | "description": "Name of the individuals who voiced the character (if different from portrayer or there is no portrayer)" | ||
}, | }, | ||
"full_name": { | "full_name": { | ||
Line 644: | Line 302: | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The character class for RPG characters." | "description": "The character class for RPG characters." | ||
}, | }, | ||
"spouse": { | "spouse": { | ||
Line 717: | Line 335: | ||
"description": "The character's significant others. If there is only one significant_other, use {{para|significant_other}}." | "description": "The character's significant others. If there is only one significant_other, use {{para|significant_other}}." | ||
}, | }, | ||
" | "available": { | ||
"label": " | "label": "Availability", | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"suggested": | "suggested": true, | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The | "description": "The character's availability." | ||
}, | }, | ||
" | "desires": { | ||
"label": " | "label": "Desires", | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"suggested": | "suggested": true, | ||
"deprecated": false, | "deprecated": false, | ||
"description": "The character's kinks." | |||
"description": "The character's | |||
} | } | ||
}, | }, | ||
Line 873: | Line 359: | ||
=== All parameters (not for general use) === | === All parameters (not for general use) === | ||
{{Collapse top|title=Complete list of parameters}} | {{Collapse top|title=Complete list of parameters}} | ||
{{Parameter names example|_template= | {{Parameter names example|_template=| alias | alt | available | caption | color | creator | designer | desires | full_name | gender | image | image_size | image_upright | name | nickname | occupation | position | race | significant_other | species | spouse | title | voice }} | ||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
Line 879: | Line 365: | ||
| color = <!-- headers background colour; the foreground colour is automatically computed --> | | color = <!-- headers background colour; the foreground colour is automatically computed --> | ||
| name = | | name = | ||
| image = | | image = | ||
| image_upright = | | image_upright = | ||
| alt = | | alt = | ||
| caption = | | caption = | ||
| creator = <!-- only the credited creators; use adapted_by= for adaptations --> | | creator = <!-- only the credited creators; use adapted_by= for adaptations --> | ||
| designer = | | designer = | ||
| voice = | | voice = | ||
| full_name = | | full_name = | ||
| nickname = <!-- or |nicknames= --> | | nickname = <!-- or |nicknames= --> | ||
Line 920: | Line 379: | ||
| title = | | title = | ||
| occupation = <!-- or |position= or |class= --> | | occupation = <!-- or |position= or |class= --> | ||
| spouse = <!-- or |spouses= --> | | spouse = <!-- or |spouses= --> | ||
| significant_other = <!-- or |significant_others= --> | | significant_other = <!-- or |significant_others= --> | ||
| | | available = | ||
| desires = <! the character's kinks --> | |||
| | |||
}}</syntaxhighlight> | }}</syntaxhighlight> | ||
{{Collapse bottom}} | {{Collapse bottom}} | ||
Line 958: | Line 389: | ||
{{Infobox character | {{Infobox character | ||
| name = John Doe | | name = John Doe | ||
| image = | | image = | ||
| caption = | | caption = | ||
| creator = Agnes Nixon | |||
| creator = | |||
| nickname = Doeboy | | nickname = Doeboy | ||
| alias = Jack Dew | | alias = Jack Dew | ||
Line 974: | Line 397: | ||
| title = Detective | | title = Detective | ||
| occupation = Law enforcement | | occupation = Law enforcement | ||
| spouse = Jane Doe | | spouse = Jane Doe | ||
| significant_other = | | significant_other = | ||
| | | available = 7a to 7p | ||
| desires = Transformation | |||
| | |||
}} | }} | ||
Line 989: | Line 406: | ||
{{Infobox character | {{Infobox character | ||
| name = John Doe | | name = John Doe | ||
| image = | | image = | ||
| caption = | | caption = | ||
| creator = Agnes Nixon | |||
| creator = | |||
| nickname = Doeboy | | nickname = Doeboy | ||
| alias = Jack Dew | | alias = Jack Dew | ||
Line 1,005: | Line 414: | ||
| title = Detective | | title = Detective | ||
| occupation = Law enforcement | | occupation = Law enforcement | ||
| spouse = Jane Doe | | spouse = Jane Doe | ||
| significant_other = | | significant_other = | ||
| | | available = 7a to 7p | ||
| desires = Transformation | |||
| | |||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 1,029: | Line 432: | ||
== See also == | == See also == | ||
* {{tl|Infobox person}} | * {{tl|Infobox person}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| |
Latest revision as of 02:18, 20 June 2023
![]() | This is a documentation subpage for Template:Infobox character. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 7,700 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. |
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}}}|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}}} |
Available | {{{available}}} |
Desires | {{{desires}}} |
<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). |
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. |
creator | Name of the individuals who are credited with the creation of the character. |
designer | Name of the individuals who designed the character. |
voice | Name of the individuals who voiced the character. Should be omitted if the same as "portrayer". |
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. |
|
The character's spouses. |
|
The character's significant others. |
|
Where the character can be found. |
|
What the character is into. |
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.
|
All parameters (not for general use)
Complete list of parameters
| ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
</syntaxhighlight> |
Example
John Doe | |
---|---|
Created by | Agnes Nixon |
Alias | Jack Dew |
Nickname | Doeboy |
Gender | Male |
Title | Detective |
Occupation | Law enforcement |
Spouse | Jane Doe |
Available | 7a to 7p |
Desires | Transformation |
<syntaxhighlight lang="wikitext">
John Doe | |
---|---|
Created by | Agnes Nixon |
Alias | Jack Dew |
Nickname | Doeboy |
Gender | Male |
Title | Detective |
Occupation | Law enforcement |
Spouse | Jane Doe |
Available | 7a to 7p |
Desires | Transformation |
</syntaxhighlight>
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}}