|
|
Line 5: |
Line 5: |
| {{!}} class="infoboximage" colspan="2" bgcolor={{{bgcolor_value|#222222;}}} {{!}} {{{image}}} }} | | {{!}} class="infoboximage" colspan="2" bgcolor={{{bgcolor_value|#222222;}}} {{!}} {{{image}}} }} |
| |- | | |- |
| | class="name {{lc:{{{type}}}}}" colspan="2" | '''{{#if: {{{firstname|}}} | {{{firstname}}} |{{{name}}}}} {{#if: {{{lastname|}}} | {{{lastname}}} |}}''' | | | class="name {{lc:{{{order}}}}}" colspan="2" | '''{{#if: {{{firstname|}}} | {{{firstname}}} |{{{name}}}}} {{#if: {{{lastname|}}} | {{{lastname}}} |}}''' |
| |- | | |- |
| | class="header {{lc:{{{type}}}}}" colspan="2" | '''Biographical Information''' | | | class="header {{lc:{{{order}}}}}" colspan="2" | '''Biographical Information''' |
| |- | | |- |
| {{#if: {{{homeworld|}}}| | | {{#if: {{{homeworld|}}}| |
Line 39: |
Line 39: |
| {{{causeofdeath}}} }} | | {{{causeofdeath}}} }} |
| |- | | |- |
| | class="header {{lc:{{{type}}}}}" colspan="2" | '''Physical Description''' | | | class="header {{lc:{{{order}}}}}" colspan="2" | '''Physical Description''' |
| |- | | |- |
| {{#if: {{{species|}}}| | | {{#if: {{{species|}}}| |
Line 76: |
Line 76: |
| {{{cyber}}} }} | | {{{cyber}}} }} |
| |- | | |- |
| | class="header {{lc:{{{type}}}}}" colspan="2" | '''Personal Information''' | | | class="header {{lc:{{{order}}}}}" colspan="2" | '''Personal Information''' |
| |- | | |- |
| {{#if: {{{mother|}}}| | | {{#if: {{{mother|}}}| |
Line 133: |
Line 133: |
| {{{fightingstyle}}} }} | | {{{fightingstyle}}} }} |
| |- | | |- |
| | class="header {{lc:{{{type}}}}}" colspan="2" | '''Chronology & Political Information''' | | | class="header {{lc:{{{order}}}}}" colspan="2" | '''Chronology & Political Information''' |
| |- | | |- |
| {{#if: {{{profession|}}}| | | {{#if: {{{profession|}}}| |
Line 180: |
Line 180: |
| {{{sheet}}} }} | | {{{sheet}}} }} |
| |- | | |- |
| |class="infoboxfooter {{lc:{{{type}}}}}" colspan="2" | {{Link color|Template:Character|{{#switch:{{{type|}}} | | |class="infoboxfooter {{lc:{{{order}}}}}" colspan="2" | {{Link color|Template:Character|{{#switch:{{{order|}}} |
| |Sith | | |Sith |
| |sith =   #90413C | | |sith =   #90413C |
Line 196: |
Line 196: |
| {{#ifeq: {{lc:{{{nocat|false}}}}} | false | | | {{#ifeq: {{lc:{{{nocat|false}}}}} | false | |
| {{#if:{{NAMESPACE}}| | | | {{#if:{{NAMESPACE}}| | |
| {{#switch:{{{type|}}} | | {{#switch:{{{order|}}} |
| |Sith | | |Sith |
| |sith = [[Category:Characters]] [[Category:Sith]] | | |sith = [[Category:Characters]] [[Category:Sith]] |
Line 212: |
Line 212: |
| |npc | | |npc |
| |NPC = [[Category:NPCs]] | | |NPC = [[Category:NPCs]] |
| |[[Category:Character Needs Type]]}} | | |[[Category:Character Needs Order]]}} |
| {{DEFAULTSORT: {{#if: {{{lastname|}}} | {{{lastname}}} {{{firstname}}} | {{#if: {{{firstname|}}} | {{{firstname}}} | {{{name}}} }} }} }} | | {{DEFAULTSORT: {{#if: {{{lastname|}}} | {{{lastname}}} {{{firstname}}} | {{#if: {{{firstname|}}} | {{{firstname}}} | {{{name}}} }} }} }} |
| |<!-- Category suppressed -->}} | | |<!-- Category suppressed -->}} |
Line 222: |
Line 222: |
| <pre> | | <pre> |
| {{Character | | {{Character |
| |type= (Character Type - see below) | | |order= (Character Order - see below) |
| |image= | | |image= |
| |firstname= (include middle name or initial in this variable as well) | | |firstname= (include middle name or initial in this variable as well) |
Line 261: |
Line 261: |
| }}</pre> | | }}</pre> |
| {| | | {| |
| !colspan=4|Character Type Examples | | !colspan=4|Character Order Examples |
| |- | | |- |
| |{{Character |type=Sith |name=Sith}} | | |{{Character |order=Sith |name=Sith}} |
| |{{Character |type=Jedi |name=Jedi}} | | |{{Character |order=Jedi |name=Jedi}} |
| |{{Character |type=Force Disciple |name=Force Disciple}} | | |{{Character |order=Force Disciple |name=Force Disciple}} |
| |{{Character |type=NPC |name=NPC}} | | |{{Character |order=NPC |name=NPC}} |
| |- | | |- |
| |{{Character |type=Loyalist |name=Loyalist}} | | |{{Character |order=Loyalist |name=Loyalist}} |
| |{{Character |type=Mercenary |name=Mercenary}} | | |{{Character |order=Mercenary |name=Mercenary}} |
| |{{Character |name=No Type}} | | |{{Character |name=No Order}} |
| |} | | |} |
|
| |
|
| == Categorization == | | == Categorization == |
| This template automatically categorizes articles based on the type variable: | | This template automatically categorizes articles based on the order variable: |
| {|class="fancy" | | {|class="fancy" |
| !class="sub-head"|Type | | !class="sub-head"|Order |
| !class="sub-head"|Category | | !class="sub-head"|Category |
| |- | | |- |
Line 297: |
Line 297: |
| |[[:Category:NPCs]] | | |[[:Category:NPCs]] |
| |- | | |- |
| |No Type | | |No Order |
| |[[:Category:Character Needs Type]] | | |[[:Category:Character Needs Order]] |
| |- | | |- |
| |colspan=2 class="foot"| | | |colspan=2 class="foot"| |
|
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.
|
Usage
To use this template, paste the following code into the top of your userpage, filling all relevant fields:
{{Character
|order= (Character Order - 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=
|placeofbirth= (Don't use this AND homeworld)
|death=
|placeofdeath=
|causeofdeath=
|species=
|gender=
|hair=
|eyes=
|height=
|weight=
|cyber=
|mother=
|father=
|siblings=
|children=
|spouse=
|allies=
|enemies=
|saber=
|form=
|weapons=
|fightingstyle=
|profession=
|position=
|era=
|affiliation=
|ship=
|masters=
|apprentices=
|dossier= [[dossier:IDNUM|IDNUM]]
|sheet= [[charactersheet:IDNUM|IDNUM]] (for use with owned NPC's and alternate characters)
}}
Categorization
This template automatically categorizes articles based on the order variable:
If the lastname variable is filled out, the default sort for the article becomes LASTNAME, Firstname.