FANDOM


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Character_infobox/doc to edit this documentation. (How does this work?)
Description
This template is used to create an infobox for characters in the The Gentlemen Bastard series.
Dependencies
/* Collapsible classes
 * See w:c:dev:ShowHide for info and attribution
 */
 
importScriptPage('ShowHide/code.js', 'dev');


Syntax
Type {{Character infobox|<...>}} somewhere, with parameters as shown below.
{{Character infobox
| nation         = 
| image          = 
| image size     = 
| name           = 
| aliases        =
| nationality    = 
| ethnicity      =
| age            = 
| gender         = 
| hair           = 
| skincolor      = 
| skintype       = 
| allies         = 
| enemies        = 
| weapon         = 
| profession     = 
| position       = 
| affiliation    = 
| appearance     = 
| lastappearance = 
| more           = 
}}


The nation parameter enables this template to switch between color themes to match the nationality of the character. Entering:
  • water corresponds to a blue theme for the Water Tribe
  • earth corresponds to a green theme for the Earth Kingdom
  • fire corresponds to a red theme for the Fire Nation
  • air corresponds to an orange theme for the Air Nomads
  • URN corresponds to a khaki theme for the United Republic of Nations
  • spirit corresponds to a grey theme for the Spirit World
  • neutral corresponds to a purple theme for characters without a clear affiliation
The name parameter is optional, and its default value renders the same as the page's name.
The more parameter accepts either "yes" or "no". If "yes" is entered, an additional collapsible element will appear at the bottom of the template with links to other articles about this character.
When choosing between water, earth, fire, air, or URN, the color chosen should reflect a character's bending style (or former bending style if their abilities were later removed). If this is not applicable, then the color chosen should reflect their place of residence.
Sample output
Unknown
[[File:[[File:{{{image}}}|{{{image size}}}px|Character infobox]]|210px|]]
Some attributes
First Unknown
Second Unknown
Third Unknown
Other attributes
{{Character infobox
| nation         = {{{nation}}}
| image          = {{{image}}}
| image size     = {{{image size}}}
| name           = {{{name}}}
| alsoknown      = {{{alsoknown}}}
| nationality    = {{{nationality}}}
| ethnicity      = {{{ethnicity}}}
| age            = {{{age}}}
| gender         = {{{gender}}}
| hair           = {{{hair}}}
| skincolor      = {{{skincolor}}}
| skintype       = {{{skintype}}}
| allies         = {{{allies}}}
| enemies        = {{{enemies}}}
| weapon         = {{{weapon}}}
| fightingstyle  = {{{fightingstyle}}}
| profession     = {{{profession}}} 
| position       = {{{position}}}
| affiliation    = {{{affiliation}}}
| appearance     = {{{appearance}}}
| lastappearance = {{{lastappearance}}}
| voice          = {{{voice}}}
| actor          = {{{actor}}}
| more           = yes
}}
Community content is available under CC-BY-SA unless otherwise noted.