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

From Summertime Saga Wiki
Jump to: navigation, search
m (1 revision imported)
m
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 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
Line 110: Line 103:
  
 
== Parameters ==
 
== Parameters ==
 +
 
All parameters are optional.
 
All parameters are optional.
  
Line 162: Line 156:
 
| noinfo  ||  disable the first "information" header
 
| 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]].
+
| colour  ||  Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines.
 
|}
 
|}
== Notes ==
+
 
{{#section:Template:Infobox Australian place/doc|image_upright}}
 
 
== Example ==
 
== Example ==
 +
 
{{Infobox character
 
{{Infobox character
 
| name        = Erick Karabell
 
| name        = Erick Karabell
Line 214: Line 208:
 
}}
 
}}
 
</pre>
 
</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>
 

Revision as of 18:53, 24 March 2019

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.

name
200px
Appearance
Gender gender
Information
Relatives relatives
{{Infobox character
| colour           = <!-- headers background colour; the foreground colour is automatically computed -->
| name             = 
| series           = <!-- use without the italic on the outside -->
| image            = 
| image_upright    = 
| alt              = 
| caption          = 
| first            = 
| last             = 
| creator          = 
| portrayer        = 
| voice            = 
| lbl1             = 
| 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           =
}}

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
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 |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. See help below for guidance on determining the value to be used.
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
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

Erick Karabell
Appearance
Gender Male
Information
Relatives Oliva Falconeri (Cousin)
{{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]]
}}