Template:Character
<infobox layout="tabular" theme="character" theme-source="type"> <image source="image"/> <title source="name"><default>Character</default></title>
<navigation name="mobile-eras">
|-1 = {{#ifexist:Character/Legends|150px150px|{{#switch:{{#rpos:{{#dpl: titlematch = {{#titleparts:Character}} | skipthispage = no | category = Canon articles }}|{{#titleparts:Character}}}}
|-1 = 150px |#default= 150px }}}}|#default = {{#ifexist:Character|File:OnALegendsArticle.png150px|}}}}
</navigation>
<group> <header>Biographical information</header> <label>Homeworld</label> <label>Born</label> <label>Died</label> </group> <group> <header>Physical description</header> <label>Species</label> <label>Subspecies</label> <label>Gender</label> <label>Height</label> <label>Mass</label> <label>Hair color</label> <label>Eye color</label> <label>Skin color</label> <label>Cybernetics</label> </group> <group> <header>Chronological and political information</header> <label>Clan(s)</label> <label>Kajidic</label> <label>Affiliation(s)</label> <label>Caste</label> <label>Domain</label> <label>Masters</label> <label>Apprentices</label> </group>
<navigation>{{SAFESUBST:#if:[Source]
|[Source]
|[1]
}}
</navigation>
</infobox>{{#ifeq:Template|Template|{{#ifeq:{{#sub:character|-7}}|preload|}}}}
{{#invoke:InfoboxParamCheck|main|type|image|name|homeworld|birth|death|species|gender|height|mass|hair|eyes|skin|cyber|affiliation|masters|apprentices|optional=clan,kajidic,caste,domain|ignore=name}}
{{#invoke:Top|main}}
Colors[edit source]
The type parameter determines the color of the infobox. The options are:
- Bounty hunter
- Bureaucrat
- Chiss Ascendancy
- CIS
- Confederation
- Corporate
- Criminal
- Dark Jedi
- Dathomiri
- Eternal Empire
- First Order
- Galactic Empire
- Galactic Republic
- GFFA
- Hutt Cartel
- Infinite Empire
- Je'daii
- Jedi
- Mandalorian
- New Republic
- Nihil
- Rebel
- Resistance
- Sith
- Sith Empire
- Yuuzhan Vong
Usage[edit source]
Paste the following code into the top of an article, filling all known fields:
{{Top|}}
{{Character
|type=
|image=
|name=
|homeworld=
|birth=
|death=
|species=
|gender=
|height=
|mass=
|hair=
|eyes=
|skin=
|cyber=
|affiliation=
|masters=
|apprentices=}}
Example[edit source]
<infobox layout="tabular" theme="character" theme-source="type"> <image source="image"/> <title source="name"><default>Character</default></title>
<navigation name="mobile-eras">
|-1 = {{#ifexist:Character/Legends|150px150px|{{#switch:{{#rpos:{{#dpl: titlematch = {{#titleparts:Character}} | skipthispage = no | category = Canon articles }}|{{#titleparts:Character}}}}
|-1 = 150px |#default= 150px }}}}|#default = {{#ifexist:Character|File:OnALegendsArticle.png150px|}}}}
</navigation>
<group> <header>Biographical information</header> <label>Homeworld</label> <label>Born</label> <label>Died</label> </group> <group> <header>Physical description</header> <label>Species</label> <label>Subspecies</label> <label>Gender</label> <label>Height</label> <label>Mass</label> <label>Hair color</label> <label>Eye color</label> <label>Skin color</label> <label>Cybernetics</label> </group> <group> <header>Chronological and political information</header> <label>Clan(s)</label> <label>Kajidic</label> <label>Affiliation(s)</label> <label>Caste</label> <label>Domain</label> <label>Masters</label> <label>Apprentices</label> </group>
<navigation>{{SAFESUBST:#if:[Source]
|[Source]
|[2]
}}
</navigation>
</infobox>{{#ifeq:Template|Template|{{#ifeq:{{#sub:character|-7}}|preload|}}}}
{{#invoke:InfoboxParamCheck|main|type|image|name|homeworld|birth|death|species|gender|height|mass|hair|eyes|skin|cyber|affiliation|masters|apprentices|optional=clan,kajidic,caste,domain|ignore=name}}