Difference between revisions of "Template:Infobox character/doc"

From Summertime Saga Wiki
Jump to: navigation, search
m (1 revision imported)
m
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
== Usage ==
<!--
 
    PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE
 
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
 
-->
 
{{High-use|5,000+}}
 
{{Lua|Module:Infobox|Module:InfoboxImage}}
 
  
== Usage ==
+
This template is 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= ''full name''
| name             = ''name''
+
|color= ''name color''
| series          = '''series'''
+
|image=
| image           = Example-serious.jpg
+
|nickname= ''nickname''
| image_upright    = ''image_upright''
+
|alias= ''alias''
| alt              = ''alt''
+
|gender= ''gender''
| caption          = ''caption''
+
|hair= ''hair color''
| first            = ''first''
+
|eyes= ''eyes color''
| last            = ''last''
+
|relatives= ''family or ex’s''
| cause            = ''cause''
+
|occupation= ''occupation''
| creator          = ''creator''
+
|morning= ''morning schedule''
| portrayer        = ''portrayer''
+
|afternoon= ''afternoon schedule''
| voice            = ''voice''
+
|evening= ''evening schedule''
| lbl1            = ''lbl1''
 
| data1            = ''data1''
 
| lbl2            = ''lbl2''
 
| data2            = ''data2''
 
| lbl3            = ''lbl3''
 
| data3            = ''data3''
 
| fullname        = ''fullname''
 
| birthname        = ''birthname''
 
| nickname         = ''nickname''
 
| alias           = ''alias''
 
| species          = ''species''
 
| gender           = ''gender''
 
| occupation      = ''occupation''
 
| affiliation      = ''affiliation''
 
| title            = ''title''
 
| family          = ''family''
 
| spouse          = ''spouse''
 
| significantother = ''significantother''
 
| children        = ''children''
 
| relatives        = ''relatives''
 
| religion        = ''religion''
 
| nationality      = ''nationality''
 
| lbl21            = ''lbl21''
 
| data21          = ''data21''
 
| lbl22            = ''lbl22''
 
| data22          = ''data22''
 
| lbl23            = ''lbl23''
 
| data23          = ''data23''
 
| extra-hdr        = ''extra-hdr''
 
| lbl31            = ''lbl31''
 
| data31          = ''data31''
 
| lbl32            = ''lbl32''
 
| data32          = ''data32''
 
| lbl33            = ''lbl33''
 
| data33          = ''data33''
 
 
}}
 
}}
<pre style="overflow:auto">{{Infobox character
+
<pre style="overflow:auto">{{infobox character
| colour          = <!-- headers background colour; the foreground colour is automatically computed -->
+
|name=
| name             =  
+
|color=
| series          = <!-- use without the italic on the outside -->
+
|image=  
| image           =
+
|nickname=
| image_upright    =
+
|alias=
| alt              =
+
|gender=
| caption          =
+
|hair=
| first            =
+
|eyes=
| last            =
+
|relatives=
| creator          =
+
|occupation=
| portrayer        =
+
|morning=
| voice            =
+
|afternoon=
| lbl1            =
+
|evening=
| data1            =
+
}}</pre>{{clear}}
| lbl2            =
+
 
| data2            =
+
== Optional Parameters ==
| lbl3            =
 
| data3            =
 
| info-hdr        =
 
| noinfo          =
 
| fullname        =  
 
| nickname         =  
 
| alias           =  
 
| species          = <!-- for non-humans only -->
 
| gender           = <!-- if not obvious -->
 
| occupation      =
 
| affiliation      =
 
| title            =
 
| family          =  
 
| spouse          =  
 
| significantother =
 
| children        =  
 
| relatives       =  
 
| religion        =  
 
| nationality      =  
 
| lbl21            =  
 
| data21          =  
 
| lbl22            =
 
| data22          =
 
| lbl23            =
 
| data23          =
 
| extra-hdr        =
 
| lbl31            =
 
| data31          =
 
| lbl32            =  
 
| data32          =  
 
| lbl33            =  
 
| data33          =
 
}}</pre>
 
  
== Parameters ==
+
; {{para|name}} : Character full name (with title) to display in header.
All parameters are optional.
+
; {{para|color}} : Color in which the character name appears in in‐game dialogues.
 +
; {{para|image}} : Image of the character in his/her usual clothing. “File:” prefix is not required. i.e. use {{para|image|<var><nowiki>Example.png</nowiki></var>}}
 +
; {{para|gender}} : Character gender; either male, female, or X.
 +
; {{para|hair color}} : The character hair color.
 +
; {{para|eye color}} : The character eye color.
 +
; {{para|alias}} : Any aliases used by the character (not implemented).
 +
; {{para|nickname}} : Any nicknames used by the character (not implemented).
 +
; {{para|relatives}} : Family or ex‐boyfriend/ex‐girlfriend prior to any route.
 +
; {{para|occupations}} : Job or position assumed by the character (not implemented).
 +
; {{para|morning schedule}} : Where to find the character in the morning.
 +
; {{para|afternoon schedule}} : Where to find the character in the morning.
 +
; {{para|evening schedule}} : Where to find the character in the evening.
  
{| class="wikitable"
 
|-
 
! 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
 
|-
 
| 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 {{para|image|<var><nowiki>Example.png</nowiki></var>}}
 
|-
 
| 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. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used.
 
|-
 
| alt || [[Wikipedia:Alternative text for images|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
 
|-
 
| noinfo  ||  disable the first "information" header
 
|-
 
| colour  ||  Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines on [[WP:COLOR]].
 
|}
 
== Notes ==
 
{{#section:Template:Infobox Australian place/doc|image_upright}}
 
 
== Example ==
 
== Example ==
{{Infobox character
+
 
| name        = Erick Karabell
+
{|class=wikitable style="width:100%;"
| series      = [[Criminal Minds]]
+
! Markup
| image      =
+
! Renders as
| caption    =
+
|- style="vertical-align:top;"
| first      = April 18, 2004
+
| <pre style="overflow:auto">
| last        = April 18, 2008
+
{{infobox character
| creator    = [[Agnes Nixon]]
+
|name= Annie
| portrayer  = Johnny Lioma
+
|color= #FF9391
| nickname    = Limmy
+
|image= Annie.png
| alias      = John Limmons
+
|gender= Female
| gender     = Male
+
|hair= Titian hair
| occupation  = Detective
+
|eyes= Brown
| title      = Head Detective
+
|relatives= {{lightlink|Lucy}} (mother)<br>{{lightlink|Richard}} (father)
| family      = Erick Karabell Sr (Father)<br />Lonna Marcus-Karabell (Mother)
+
|morning= {{lightlink|School}} {{nowrap|(Mon–Fri)}}
| spouse      = Lonni Karabell (Wife)
+
|afternoon= {{lightlink|School}} {{nowrap|(Mon–Fri)}}
| significantother =  
+
|evening=
| children    = Erick Karabell III (Son)
 
| relatives  = Oliva Falconeri (Cousin)
 
| religion    = [[Christian]]
 
| nationality = [[United States|American]]
 
 
}}
 
}}
<pre style="overflow:auto">
+
</pre>
{{Infobox character
+
| {{infobox character
| name       = Erick Karabell
+
|name= Annie
| series      = [[Criminal Minds]]
+
|color= #FF9391
| image       =  
+
|image= Annie.png
| caption    =  
+
|gender= Female
| first      = April 18, 2004
+
|hair= Titian hair
| last        = April 18, 2008
+
|eyes= Brown
| creator    = [[Agnes Nixon]]
+
|relatives= {{lightlink|Lucy}} (mother)<br>{{lightlink|Richard}} (father)
| portrayer  = Johnny Lioma
+
|morning= {{lightlink|School}} {{nowrap|(Mon–Fri)}}
| nickname    = Limmy
+
|afternoon= {{lightlink|School}} {{nowrap|(Mon–Fri)}}
| alias      = John Limmons
+
|evening=
| 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]]
 
 
}}
 
}}
</pre>
+
|}
 
 
== Tracking categories ==
 
* {{clc|Pages using infobox character with unknown parameters}}
 
* {{clc|Articles using Infobox character with multiple unlabeled fields}}
 
* {{clc|Articles using Template:Infobox character with invalid colour combination}}
 
 
 
== See also ==
 
; Pass through templates
 
The following templates are designed for specific series and call this template to generate the infobox:
 
* {{tl|Infobox Buffyverse character}}
 
* {{tl|Infobox Law and Order character}}
 
* {{tl|Infobox Pirates of the Caribbean character}}
 
* {{tl|Infobox Tolkien character}}
 
 
 
; Related templates
 
* {{tl|Infobox person}}
 
 
 
{{Film and Television related infobox templates}}
 
 
 
<includeonly>{{basepage subpage|
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
[[Category:Television infobox templates| Character]]
 
[[Category:Fictional character infobox templates| ]]
 
[[Category:Templates that add a tracking category]]
 
  
}}</includeonly>
+
[[Category:Templates]]
 +
[[Category:Templates documentation]]

Latest revision as of 14:29, 24 August 2020

Usage

This template is 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.

full name
Appearance
Gender gender
Hair color hair color
Eye color eyes color
Information
Relatives family or ex’s
Schedule
Morning morning schedule
Afternoon afternoon schedule
Evening evening schedule
{{infobox character
|name=
|color=
|image= 
|nickname=
|alias=
|gender=
|hair=
|eyes=
|relatives=
|occupation=
|morning=
|afternoon=
|evening=
}}

Optional Parameters

|name= 
Character full name (with title) to display in header.
|color= 
Color in which the character name appears in in‐game dialogues.
|image= 
Image of the character in his/her usual clothing. “File:” prefix is not required. i.e. use |image=Example.png
|gender= 
Character gender; either male, female, or X.
|hair color= 
The character hair color.
|eye color= 
The character eye color.
|alias= 
Any aliases used by the character (not implemented).
|nickname= 
Any nicknames used by the character (not implemented).
|relatives= 
Family or ex‐boyfriend/ex‐girlfriend prior to any route.
|occupations= 
Job or position assumed by the character (not implemented).
|morning schedule= 
Where to find the character in the morning.
|afternoon schedule= 
Where to find the character in the morning.
|evening schedule= 
Where to find the character in the evening.

Example

Markup Renders as
{{infobox character
|name= Annie
|color= #FF9391
|image= Annie.png
|gender= Female
|hair= Titian hair
|eyes= Brown
|relatives= {{lightlink|Lucy}} (mother)<br>{{lightlink|Richard}} (father)
|morning= {{lightlink|School}} {{nowrap|(Mon–Fri)}}
|afternoon= {{lightlink|School}} {{nowrap|(Mon–Fri)}}
|evening=
}}
Annie
"Infobox character/doc illustration"
Appearance
Gender Female
Hair color Titian hair
Eye color Brown
Information
Relatives Lucy (mother)
Richard (father)
Schedule
Morning School (Mon–Fri)
Afternoon School (Mon–Fri)