User:Shadow Taldrya/sandbox: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
m (headings now display, not still no classiness)
Line 5: Line 5:
{{!}} class=”characterimage” colspan="2" bgcolor={{{bgcolor_value|#222222; }}} {{!}} {{{image}}}}}
{{!}} class=”characterimage” colspan="2" bgcolor={{{bgcolor_value|#222222; }}} {{!}} {{{image}}}}}
|-
|-
| class=”name” colspan="2"|  
| class=”name” colspan="2" | '''{{#if: {{{firstname|}}} | {{{firstname}}} |{{{name}}}}} {{#if: {{{lastname|}}} | {{{lastname}}} |}}'''
'''{{#if: {{{firstname|}}} | {{{firstname}}} |{{{name}}}}} {{#if: {{{lastname|}}} | {{{lastname}}} |}}'''
|-
|-
| class=”header {{{type|}}}” colspan="2"| '''Biographical Information'''
| class=”header {{{type|}}}” colspan="2"| '''Biographical Information'''
Line 24: Line 23:
{{{death}}}}}
{{{death}}}}}
|-
|-
| colspan="2" class=”header {{{type|}}}”
| colspan="2" class=”header {{{type|}}}” | '''Physical Description'''
| '''Physical Description'''
|-
|-
{{#if: {{{species|}}}|
{{#if: {{{species|}}}|
Line 62: Line 60:
{{{cyber}}}}}
{{{cyber}}}}}
|-
|-
| colspan="2" class=”header {{{type|}}}”
| colspan="2" class=”header {{{type|}}}”| '''Personal Information'''
| '''Personal Information'''
 
|-
|-
{{#if: {{{mother|}}}|
{{#if: {{{mother|}}}|
Line 116: Line 112:
{{{fightingstyle}}}}}
{{{fightingstyle}}}}}
|-
|-
| colspan="2" class=”header {{{type|}}}”
| colspan="2" class=”header {{{type|}}}” | '''Chronology & Political Information'''
| '''Chronology & Political Information'''
|-
|-
{{#if: {{{profession|}}}|
{{#if: {{{profession|}}}|
Line 159: Line 154:
{{{dossier}}}}}
{{{dossier}}}}}
|-
|-
|colspan="2" class=”characterboxfooter {{{type|}}}
|colspan="2" class=”characterboxfooter {{{type|}}} | {{Link color|Template:Character|{{#switch:{{{type|}}}
| {{Link color|Template:Character|{{#switch:{{{type|}}}


   |Sith
   |Sith
Line 187: Line 181:
|}
|}


<includeonly>
{{#if:{{NAMESPACE}}| |
{{#switch:{{{type|}}}
  |Sith
  |sith = [[Category:Sith|{{PAGENAME}}]] [[Category:DJB Characters|{{PAGENAME}}]]
  |obelisk
  |Obelisk = [[Category:Obelisk|{{PAGENAME}}]] [[Category:DJB Characters|{{PAGENAME}}]]
  |Krath
  |krath = [[Category:Krath|{{PAGENAME}}]] [[Category:DJB Characters|{{PAGENAME}}]]
  |Jedi
  |jedi
  |jedipc
  |JediPC = [[Category:Jedi|{{PAGENAME}}]] [[Category:DJB Characters|{{PAGENAME}}]]
  |Grand Master
  |grand master
  |GM = [[Category:DJB Characters|{{PAGENAME}}]] [[Category:DJB Characters|{{PAGENAME}}]]
  |Consular
  |consular = [[Category:Consular|{{PAGENAME}}]] [[Category:DJB Characters|{{PAGENAME}}]]
  |Guardian
  |guardian = [[Category:Guardian|{{PAGENAME}}]] [[Category:DJB Characters|{{PAGENAME}}]]
  |Sentinel
  |sentinel = [[Category:Sentinel|{{PAGENAME}}]] [[Category:DJB Characters|{{PAGENAME}}]]
  |npc
  |NPC = [[Category:NPCs|{{PAGENAME}}]]
  |Dead = [[Category:Deceased Characters|{{PAGENAME}}]]
  |[[Category:Character Needs Type|{{PAGENAME}}]]}}
  {{DEFAULTSORT: {{#if: {{{lastname|}}} | {{{lastname}}} {{{firstname}}} | {{#if: {{{firstname|}}} | {{{firstname}}} | {{{name}}} }} }} }}
}}
</includeonly><noinclude>
{{Clear}}
== Usage ==
To use this template, paste the following code into the top of your userpage, filling all relevant fields:
<pre>
{{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]]
}}</pre>
{|
!colspan=3|Character Type Examples
|-
|{{Character |type=Sith |name=Sith}}
|{{Character |type=Obelisk |name=Obelisk}}
|{{Character |type=Krath |name=Krath}}
|-
|{{Character |type=Consular |name=Consular}}
|{{Character |type=Guardian |name=Guardian}}
|{{Character |type=Sentinel |name=Sentinel}}
|-
|{{Character |type=Grand Master |name=Grand Master}}
|{{Character |type=NPC |name=NPC}}
|{{Character |type=Jedi |name=Jedi}}
|-
|{{Character |name=No Type}}
|{{Character |elder=yes |name= Elder Border}}
|}
== Categorization ==
This template automatically categorizes articles based on the type variable:
{|class="fancy"
!class="sub-head"|Type
!class="sub-head"|Category
|-
|Sith
|[[:Category:Sith]]
|-
|Obelisk
|[[:Category:Obelisk]]
|-
|Krath
|[[:Category:Krath]]
|-
|Consular
|[[:Category:Consular]]
|-
|Guardian
|[[:Category:Guardian]]
|-
|Sentinel
|[[:Category:Sentinel]]
|-
|Grand Master
|[[:Category:DJB Characters]]
|-
|NPC
|[[:Category:NPCs]]
|-
|Jedi
|[[:Category:Jedi]]
|-
|Dead
|[[:Category:Deceased Characters]]
|-
|No Type
|[[:Category:Character Needs Type]]
|-
|colspan=2 class="foot"|&nbsp;
|}
If the lastname variable is filled out, the default sort for the article becomes LASTNAME, Firstname.
[[Category:Infobox templates|Character]]</noinclude>
[[Category:Infobox templates|Character]]</noinclude>

Revision as of 22:17, 22 September 2014

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 ]