|
|
Line 194: |
Line 194: |
|
| |
|
| <includeonly> | | <includeonly> |
| {{DEFAULTSORT: {{#if: {{{lastname|}}} | {{{lastname}}} {{{firstname}}} | {{#if: {{{firstname|}}} | {{{firstname}}} | {{{name}}} }} }} }}
| |
| {{#if:{{NAMESPACE}}| | | | {{#if:{{NAMESPACE}}| | |
| {{#switch:{{{type|}}} | | {{#switch:{{{type|}}} |
Line 224: |
Line 223: |
| |Dead = [[Category:Deceased Characters|{{PAGENAME}}]] | | |Dead = [[Category:Deceased Characters|{{PAGENAME}}]] |
| |[[Category:Character Needs Type|{{PAGENAME}}]]}} | | |[[Category:Character Needs Type|{{PAGENAME}}]]}} |
| | {{DEFAULTSORT: {{#if: {{{lastname|}}} | {{{lastname}}} {{{firstname}}} | {{#if: {{{firstname|}}} | {{{firstname}}} | {{{name}}} }} }} }} |
| }} | | }} |
| </includeonly><noinclude> | | </includeonly><noinclude> |
Revision as of 21:23, 19 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.
|
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= (last name only for 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]]
}}
Categorization
This template automatically categorizes articles based on the type variable:
If the lastname variable is filled out, the default sort for the article becomes LASTNAME, Firstname.