Wikipedia talk:WikiProject Novels/CharacterInfoboxCode

Documentation

edit

This is a WikiProject article pattern belonging to Wikipedia:WikiProject Novels. It is to be used as a starting block for new Template:Infobox character inclusions and as aid to restyle existing inclusions.

Example

edit

The layout for this infobox can be seen on the Sherlock Holmes page.

Code Result
{{Infobox character | <!-- See [[Wikipedia:WikiProject Novels]] -->
| colour      = #DEDEE2
| name        = Sherlock Holmes
| image       = [[Image:Sherlock Holmes - The Man with the Twisted Lip.jpg|300px]]
| caption     = A portrait of Sherlock Holmes by [[Sidney Paget]] from the ''[[Strand Magazine]]'', 1891
| first       = 
| last        = 
| cause       =                                                          
| creator     = Sir [[Arthur Conan Doyle]]
| portrayer   = 
| episode     = Four [[novel]]s</br>Fifty-six [[short story|short stories]] 
| alias       = 
| gender      = Male
| age         = 
| born        = 
| death       = 
| specialty   = [[Deductive reasoning]]
| occupation  = Consulting detective
| title       = 
| family      = Brother
| spouse      = 
| children    = 
| relatives   = 
| siblings    = [[Mycroft Holmes]]
| nationality = English
| imdb_id     = 0026631
}}

Sherlock Holmes
 
A portrait of Sherlock Holmes by Sidney Paget from the Strand Magazine, 1891
Created bySir Arthur Conan Doyle
In-universe information
GenderMale
OccupationConsulting detective
FamilyBrother
NationalityEnglish

Discussion of the Infobox character pattern template

edit