Template:Character: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
No edit summary
Line 160: Line 160:
|class="infoboxfooter {{lc:{{{type}}}}}" colspan="2" | {{Link color|Template:Character|{{#switch:{{{type|}}}
|class="infoboxfooter {{lc:{{{type}}}}}" colspan="2" | {{Link color|Template:Character|{{#switch:{{{type|}}}
   |Sith
   |Sith
   |sith
   |sith   =   #90413C
  |Grand Master
  |grand master
  |GM
  |obelisk
  |Obelisk
  |Krath
  |krath    =   #90413C
   |Jedi
   |Jedi
   |jedi
   |jedi      =   #3B9156
  |jedipc
  |JediPC
  |Guardian
  |guardian
  |Consular
  |consular
  |Sentinel
  |sentinel     =   #3B9156
   |Loyalist
   |Loyalist
   |loyalist      =   #4584b8
   |loyalist      =   #4584b8
Line 194: Line 179:
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
   |Sith
   |Sith
   |sith
   |sith = [[Category:Sith]] [[Category:DJB Characters]]
  |Grand Master
  |grand master
  |GM
  |obelisk
  |Obelisk
  |Krath
  |krath = [[Category:Sith]] [[Category:DJB Characters]]
   |Jedi
   |Jedi
   |jedi
   |jedi = [[Category:Jedi]] [[Category:DJB Characters]]
  |jedipc
  |loyalist
  |JediPC
  |Consular
  |consular
  |Guardian
  |guardian
  |Sentinel
  |sentinel = [[Category:Jedi]] [[Category:DJB Characters]]
   |Loyalist = [[Category:Loyalists]] [[Category:DJB Characters]]
   |Loyalist = [[Category:Loyalists]] [[Category:DJB Characters]]
  |mercenary
   |Mercenary = [[Category:Mercenaries]] [[Category:DJB Characters]]
   |Mercenary = [[Category:Mercenaries]] [[Category:DJB Characters]]
  |gray
   |Gray = [[Category:Gray Jedi]] [[Category:DJB Characters]]
   |Gray = [[Category:Gray Jedi]] [[Category:DJB Characters]]
  |dark
   |Dark = [[Category:Dark Jedi]] [[Category:DJB Characters]]
   |Dark = [[Category:Dark Jedi]] [[Category:DJB Characters]]
   |npc
   |npc
   |NPC = [[Category:NPCs]]
   |NPC = [[Category:NPCs]]
  |Dead = [[Category:Deceased Characters]]
   |[[Category:Character Needs Type]]}}
   |[[Category:Character Needs Type]]}}
{{DEFAULTSORT: {{#if: {{{lastname|}}} | {{{lastname}}} {{{firstname}}} | {{#if: {{{firstname|}}} | {{{firstname}}} | {{{name}}} }} }} }}
{{DEFAULTSORT: {{#if: {{{lastname|}}} | {{{lastname}}} {{{firstname}}} | {{#if: {{{firstname|}}} | {{{firstname}}} | {{{name}}} }} }} }}
Line 303: Line 276:
|NPC
|NPC
|[[:Category:NPCs]]
|[[:Category:NPCs]]
|-
|Dead
|[[:Category:Deceased Characters]]
|-
|-
|No Type
|No Type

Revision as of 00:30, 20 August 2015

This high-risk template has been protected from editing to prevent vandalism.

Please discuss changes on the talk page. You may use editprotected on the talk page to ask for an administrator to make an edit for you.

{{{name}}}
Biographical Information
Physical Description
Personal Information
Chronology & Political Information
[ Source ]


Usage

To use this template, paste the following code into the top of your userpage, filling all relevant fields:

{{Character
|type= (Character Type - see below)
|image=
|firstname= (include middle name or initial in this variable as well)
|lastname= (Use last name ONLY in order to ensure proper categorization)
|homeworld=
|birth=
|death=
|species=
|gender=
|hair=
|eyes=
|height=
|weight=
|cyber=
|mother=
|father=
|children=
|spouse=
|allies=
|enemies=
|saber=
|form=
|weapons=
|fightingstyle=
|profession=
|position=
|era=
|affiliation=
|ship=
|masters=
|apprentices=
|dossier= [[dossier:IDNUM|IDNUM]]
}}
Character Type Examples
Sith
Biographical Information
Physical Description
Personal Information
Chronology & Political Information
[ Source ]


Jedi
Biographical Information
Physical Description
Personal Information
Chronology & Political Information
[ Source ]


Gray
Biographical Information
Physical Description
Personal Information
Chronology & Political Information
[ Source ]


Loyalist
Biographical Information
Physical Description
Personal Information
Chronology & Political Information
[ Source ]


Mercenary
Biographical Information
Physical Description
Personal Information
Chronology & Political Information
[ Source ]


Dark
Biographical Information
Physical Description
Personal Information
Chronology & Political Information
[ Source ]


NPC
Biographical Information
Physical Description
Personal Information
Chronology & Political Information
[ Source ]


No Type
Biographical Information
Physical Description
Personal Information
Chronology & Political Information
[ Source ]


Categorization

This template automatically categorizes articles based on the type variable:

Type Category
Sith Category:Sith
Jedi Category:Jedi
Gray Category:Gray Jedi
Dark Category:Dark Jedi
Loyalist Category:Loyalists
Mercenary Category:Mercenaries
NPC Category:NPCs
No Type Category:Character Needs Type
 

If the lastname variable is filled out, the default sort for the article becomes LASTNAME, Firstname.