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

From Summertime Saga Wiki
Jump to: navigation, search
m
m
Line 2: Line 2:
  
 
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 = ''full name''
| series          = '''series'''
+
| color = ''name color''
| image            = Example-serious.jpg
+
| image_character =
| image_upright    = ''image_upright''
+
| nickname = ''nickname''
| alt              = ''alt''
+
| alias = ''alias''
| caption          = ''caption''
+
| gender = ''gender''
| first            = ''first''
+
| hair = ''hair color''
| last            = ''last''
+
| eyes = ''eyes color''
| cause            = ''cause''
+
| relatives = ''family or ex’s''
| creator          = ''creator''
+
| occupation = ''occupation''
| portrayer        = ''portrayer''
+
| morning = ''morning schedule''
| voice            = ''voice''
+
| afternoon = ''afternoon schedule''
| lbl1            = ''lbl1''
+
| evening = ''evening schedule''
| 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            =
 
| lbl2            =
 
| data2            =
 
| 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>
 
}}</pre>
  
Line 110: Line 41:
 
! Parameter !! Notes
 
! Parameter !! Notes
 
|-
 
|-
| name || Character name to display in top header (default = PAGENAME)
+
| name || Character full name (with title) to display in top header
 
|-
 
|-
| series  || Name of the television series or other fictional world or story in which character appears
+
| color || Color in which the character name appears in in‐game dialogues
 
|-
 
|-
| multiple || Set to yes if the infobox describes more than one character
+
| image_character || Image of the character in his/her usual clothing. “File:” is not required. i.e. use {{para|image|<var><nowiki>Example.png</nowiki></var>}}
 
|-
 
|-
| image  || Image of the character. "File:" and wikilinking is not required. i.e. use {{para|image|<var><nowiki>Example.png</nowiki></var>}}
+
| gender || Character gender; either male, female, or X
 
|-
 
|-
| 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.
+
| hair color || The character hair color
 
|-
 
|-
| alt || [[Wikipedia:alt attribute|Alt attribute]]
+
| eye color || The character eye color
 
|-
 
|-
| caption  || Caption to display below image
+
| alias || Any aliases used by the character (not implemented)
 
|-
 
|-
| first  || First appearance of the character
+
| nicname || Any nicknames used by the character (not implemented)
 
|-
 
|-
| last  || Last appearance of the character
+
| relatives || Family or ex‐boyfriend/ex‐girlfriend prior to any route
 
|-
 
|-
| creator  || Name of the person who invented the character
+
| occupations || Job or position assumed by the character (not implemented)
 
|-
 
|-
| portrayer  || Name of the person(s) who portrayed the character
+
| morning schedule || Where to find the character in the morning
 
|-
 
|-
| voice  || Name of the person(s) who voiced the character
+
| afternoon schedule || Where to find the character in the morning
 
|-
 
|-
| info-hdr  || Text for display in second header (default = Information)
+
| evening schedule || Where to find the character in the evening
|-
 
| 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.
 
 
|}
 
|}
  
 
== Example ==
 
== Example ==
  
{{Infobox character
+
{{infobox character
| name       = Erick Karabell
+
| name = Annie
| series      = [[Criminal Minds]]
+
| color = #FF9391
| image      =  
+
| image_character = 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 =
| 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 style="overflow:auto">
 
<pre style="overflow:auto">
{{Infobox character
+
{{infobox character
| name       = Erick Karabell
+
| name = Annie
| series      = [[Criminal Minds]]
+
| color = #FF9391
| image      =  
+
| image_character = 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>
 
</pre>

Revision as of 15:48, 21 June 2020

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.

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 =
}}

Parameters

All parameters are optional.

Parameter Notes
name Character full name (with title) to display in top header
color Color in which the character name appears in in‐game dialogues
image_character Image of the character in his/her usual clothing. “File:” 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)
nicname 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

Annie
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)
{{infobox character
| name = Annie
| color = #FF9391
| image_character = 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 =
}}