Difference between revisions of "Template:Infobox character/doc"
Jump to navigation
Jump to search
imported>Smohammed2 |
|||
| Line 7: | Line 7: | ||
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. | 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 | {{Infobox character | ||
| − | | name = | + | | name = ''name'' |
| − | | series = | + | | series = '''series''' |
| image = [[file:Example.jpg]] | | image = [[file:Example.jpg]] | ||
| − | | caption = | + | | caption = ''caption'' |
| − | | first = | + | | first = ''first'' |
| − | | last = | + | | last = ''last'' |
| − | | creator = | + | | creator = ''creator'' |
| − | | portrayer = | + | | portrayer = ''portrayer'' |
| − | | voice = | + | | voice = ''voice'' |
| − | | lbl1 = | + | | lbl1 = ''lbl1'' |
| − | | data1 = | + | | data1 = ''data1'' |
| − | | lbl2 = | + | | lbl2 = ''lbl2'' |
| − | | data2 = | + | | data2 = ''data2'' |
| − | | lbl3 = | + | | lbl3 = ''lbl3'' |
| − | | data3 = | + | | data3 = ''data3'' |
| − | | fullname = | + | | fullname = ''fullname'' |
| − | | nickname = | + | | nickname = ''nickname'' |
| − | | alias = | + | | alias = ''alias'' |
| − | | species = | + | | species = ''species'' |
| − | | gender = | + | | gender = ''gender'' |
| − | | occupation = | + | | occupation = ''occupation'' |
| − | | title = | + | | title = ''title'' |
| − | | family = | + | | family = ''family'' |
| − | | spouse = | + | | spouse = ''spouse'' |
| − | | significantother = | + | | significantother = ''significantother'' |
| − | | children = | + | | children = ''children'' |
| − | | relatives = | + | | relatives = ''relatives'' |
| − | | religion = | + | | religion = ''religion'' |
| − | | nationality = | + | | nationality = ''nationality'' |
| − | | lbl21 = | + | | lbl21 = ''lbl21'' |
| − | | data21 = | + | | data21 = ''data21'' |
| − | | lbl22 = | + | | lbl22 = ''lbl22'' |
| − | | data22 = | + | | data22 = ''data22'' |
| − | | lbl23 = | + | | lbl23 = ''lbl23'' |
| − | | data23 = | + | | data23 = ''data23'' |
| − | | extra-hdr = | + | | 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 15:12, 28 February 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 = <!-- use without the italic on the outside -->
| 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.
| Parameter | Notes |
|---|---|
| name | Character name to display in top header (default = PAGENAME) |
| series | Name of the television series or other fictional world or story in which 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 =
| 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:
|
|
|
|
