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

From blackwiki
Jump to navigation Jump to search
imported>Auric
m (use Example-serious.jpg)
imported>Plastikspork
(→‎Pass through templates: Removed 19 sitelinks migrated to an item on Wikidata)
Line 210: Line 210:
 
===Pass through templates===
 
===Pass through templates===
 
The following templates are designed for specific series and call this template to generate the infobox:
 
The following templates are designed for specific series and call this template to generate the infobox:
{{col-begin}}
+
{{columns-list|2|
{{col-3}}
 
 
* {{tl|Infobox Back to the Future character}}
 
* {{tl|Infobox Back to the Future character}}
 
* {{tl|Infobox Buffyverse character}}
 
* {{tl|Infobox Buffyverse character}}
{{col-3}}
 
 
* {{tl|Infobox Law and Order character}}
 
* {{tl|Infobox Law and Order character}}
* {{tl|Infobox Ranger's Apprentice character}}
 
{{col-3}}
 
* {{tl|Infobox Sea Patrol character}}
 
 
* {{tl|Infobox Star Wars character}}
 
* {{tl|Infobox Star Wars character}}
 
* {{tl|Infobox Tolkien character}}
 
* {{tl|Infobox Tolkien character}}
{{col-end}}
+
}}
  
 
<includeonly>
 
<includeonly>
Line 229: Line 224:
  
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
[[ar:قالب:معلومات شخصية خيالية]]
 
 
[[bg:Шаблон:Персонаж]]
 
[[bg:Шаблон:Персонаж]]
[[bs:Šablon:Infokutija fiktivni lik]]
 
[[es:Plantilla:Ficha de personaje]]
 
[[fa:الگو:جعبه اطلاعات شخصیت]]
 
[[fr:Modèle:Infobox Personnage (fiction)]]
 
[[it:Template:Personaggio]]
 
[[ko:틀:등장인물 정보]]
 
[[ja:Template:Infobox character]]
 
[[ka:თარგი:ინფოდაფა პერსონაჟი]]
 
[[mk:Шаблон:Инфокутија Лик]]
 
[[mr:साचा:माहितीचौकट काल्पनिक व्यक्ती]]
 
[[no:Mal:Infoboks figur]]
 
 
[[pl:Szablon:Postać Gotowe na wszystko infobox]]
 
[[pl:Szablon:Postać Gotowe na wszystko infobox]]
[[pt:Predefinição:Info/Personagem fictícia]]
 
[[ro:Format:Infocaseta Personaj]]
 
[[ru:Шаблон:Персонаж мультсериала]]
 
[[sk:Šablóna:Infobox Postava]]
 
[[sr:Шаблон:Измишљени лик]]
 
 
[[sr:Шаблон:Izmišljeni lik latinica]]
 
[[sr:Шаблон:Izmišljeni lik latinica]]
 
[[sh:Šablon:Infokutija lik]]
 
[[sh:Šablon:Infokutija lik]]
[[th:แม่แบบ:กล่องข้อมูล ตัวละคร]]
 
 
[[tr:Şablon:Hayalî karakter bilgi kutusu]]
 
[[tr:Şablon:Hayalî karakter bilgi kutusu]]
[[uk:Шаблон:Персонаж мультфільму]]
 
 
[[zh:模板:Infobox character]]
 
[[zh:模板:Infobox character]]
 
</includeonly>
 
</includeonly>

Revision as of 14:25, 5 April 2014

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.

Script error: No such module "If empty".
series character
File:Example-serious.jpg
caption
First appearancefirst
Last appearancelast
Created bycreator
Portrayed byportrayer
Voiced byvoice
lbl1data1
lbl2data2
lbl3data3
Script error: No such module "If empty".
AliasScript error: No such module "If empty".
NicknameScript error: No such module "If empty".
SpeciesScript error: No such module "If empty".
Gendergender
Titletitle
OccupationScript error: No such module "If empty".
AlignmentScript error: No such module "If empty".
Familyfamily
SpouseScript error: No such module "If empty".
Significant othersScript error: No such module "If empty".
Childrenchildren
Relativesrelatives
Religionreligion
HomeScript error: No such module "If empty".
Nationalitynationality
lbl21data21
lbl22data22
lbl23data23
extra-hdr
lbl31data31
lbl32data32
lbl33data33
{{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 appearanceApril 18, 2004
Last appearanceApril 18, 2008
Created byAgnes Nixon
Portrayed byJohnny Lioma
Script error: No such module "If empty".
AliasScript error: No such module "If empty".
NicknameScript error: No such module "If empty".
SpeciesScript error: No such module "If empty".
GenderMale
TitleHead Detective
OccupationScript error: No such module "If empty".
AlignmentScript error: No such module "If empty".
FamilyErick Karabell Sr (Father)
Lonna Marcus-Karabell (Mother)
SpouseScript error: No such module "If empty".
Significant othersScript error: No such module "If empty".
ChildrenErick Karabell III (Son)
RelativesOliva Falconeri (Cousin)
ReligionChristian
HomeScript error: No such module "If empty".
NationalityAmerican
{{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:

2
The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.