Difference between revisions of "Template:Infobox character/doc"
Jump to navigation
Jump to search
imported>Smohammed2 |
imported>Smohammed2 |
||
| Line 16: | Line 16: | ||
| portrayer = ''portrayer'' | | portrayer = ''portrayer'' | ||
| voice = ''voice'' | | voice = ''voice'' | ||
| − | | lbl1 = '' | + | | lbl1 = ''lbl1'' |
| − | | data1 = '' | + | | data1 = ''data1'' |
| − | | lbl2 = '' | + | | lbl2 = ''lbl2'' |
| − | | data2 = '' | + | | data2 = ''data2'' |
| − | | lbl3 = '' | + | | lbl3 = ''lbl3'' |
| − | | data3 = '' | + | | data3 = ''data3'' |
| fullname = ''fullname'' | | fullname = ''fullname'' | ||
| nickname = ''nickname'' | | nickname = ''nickname'' | ||
| Line 36: | Line 36: | ||
| religion = ''religion'' | | religion = ''religion'' | ||
| nationality = ''nationality'' | | nationality = ''nationality'' | ||
| − | | lbl21 = '' | + | | lbl21 = ''lbl21'' |
| − | | data21 = '' | + | | data21 = ''data21'' |
| − | | lbl22 = '' | + | | lbl22 = ''lbl22'' |
| − | | data22 = '' | + | | data22 = ''data22'' |
| − | | lbl23 = '' | + | | lbl23 = ''lbl23'' |
| − | | data23 = '' | + | | data23 = ''data23'' |
| − | | extra-hdr = ''extra | + | | extra-hdr = ''extra-hdr'' |
| − | | lbl31 = '' | + | | lbl31 = ''lbl31'' |
| − | | data31 = '' | + | | data31 = ''data31'' |
| − | | lbl32 = '' | + | | lbl32 = ''lbl32'' |
| − | | data32 = '' | + | | data32 = ''data32'' |
| − | | lbl33 = '' | + | | lbl33 = ''lbl33'' |
| − | | data33 = '' | + | | data33 = ''data33'' |
}} | }} | ||
<pre style="overflow:auto">{{Infobox character | <pre style="overflow:auto">{{Infobox character | ||
Revision as of 17:32, 27 January 2013
| 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. |
Usage
This template can be used to create an infobox for a fictional character of any type. The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page.
{{Infobox character
| colour =
| colour text =
| name =
| series =
| image =
| caption =
| first =
| last =
| creator =
| portrayer =
| voice =
| lbl1 =
| data1 =
| lbl2 =
| data2 =
| lbl3 =
| data3 =
| info-hdr =
| noinfo =
| fullname =
| nickname =
| alias =
| species = <!-- for non-humans only -->
| gender =
| occupation =
| title =
| family =
| spouse =
| significantother =
| children =
| relatives =
| religion =
| nationality =
| lbl21 =
| data21 =
| lbl22 =
| data22 =
| lbl23 =
| data23 =
| extra-hdr =
| lbl31 =
| data31 =
| lbl32 =
| data32 =
| lbl33 =
| data33 =
}}
Parameters
All parameters are optional.
| Note that information which is not significant to the character/story should not be included. For instance, there is no need to set the "species" parameter for a story in which everyone is human. |
| Parameter | Notes |
|---|---|
| name | Character name to display in top header (default = PAGENAME) |
| series | Name of the fictional world or story in which the character appears |
| image | Image of the character, use |image=[[File:Example.png|frameless|220px|alt=Alt text]]
|
| caption | Caption to display below image |
| first | First appearance of the character |
| last | Last appearance of the character |
| creator | Name of the person who invented the character |
| portrayer | Name of the person(s) who portrayed the character |
| voice | Name of the person(s) who voiced the character |
| info-hdr | Text for display in second header (default = Information) |
| alias | Any aliases used by the character |
| relationships | Any significant relationships that are essential to understanding the character |
| 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#" |
| tbl-class | Overall class for the table (default = infobox) |
| tbl-style | Overall styles for the table (default = width: 20em; text-align: left; font-size: 90%) |
| lbl-style | Style to apply to all cells in the left column |
| data-style | Style to apply to all cells in the right column |
| sep | Separator character(s) to display after each label in the left column |
| noinfo | disable the first "information" header |
| colour | Background color for header bars (default = #DEDEE2) |
| colour text | Text color for header bars (default = #000000) |
Example
| Script error: No such module "If empty". | |
|---|---|
| Criminal Minds character | |
| First appearance | April 18, 2004 |
| Last appearance | April 18, 2008 |
| Created by | Agnes Nixon |
| Portrayed by | Johnny Lioma |
| Script error: No such module "If empty". | |
| Alias | Script error: No such module "If empty". |
| Nickname | Script error: No such module "If empty". |
| Species | Script error: No such module "If empty". |
| Gender | Male |
| Title | Head Detective |
| Occupation | Script error: No such module "If empty". |
| Alignment | Script error: No such module "If empty". |
| Family | Erick Karabell Sr (Father) Lonna Marcus-Karabell (Mother) |
| Spouse | Script error: No such module "If empty". |
| Significant others | Script error: No such module "If empty". |
| Children | Erick Karabell III (Son) |
| Relatives | Oliva Falconeri (Cousin) |
| Religion | Christian |
| Home | Script error: No such module "If empty". |
| Nationality | American |
{{Infobox character
| name = Erick Karabell
| series = [[Criminal Minds]]
| image =
| caption =
| first = April 18, 2004
| last = April 18, 2008
| creator = [[Agnes Nixon]]
| portrayer = Johnny Lioma
| nickname = Limmy
| alias = John Limmons
| species = Human
| gender = Male
| occupation = Detective
| title = Head Detective
| family = Erick Karabell Sr (Father)<br> Lonna Marcus-Karabell (Mother)
| spouse = Lonni Karabell (Wife)
| significantother =
| children = Erick Karabell III (Son)
| relatives = Oliva Falconeri (Cousin)
| religion = [[Christian]]
| nationality = [[United States|American]]
}}
See also
Pass through templates
The following templates are designed for specific series and call this template to generate the infobox:
|
|
|
|
