Template:Charbox: Difference between revisions

From AIE Wiki
Jump to navigation Jump to search
(Adding Worgen and Pandaren)
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
 
[[Category:User Templates|Charbox]]
The '''CharBox''' template automatically categorizes the article for your character and creates a summary table of the character attributes.  Note that this template will accomodate non-AIE and Alliance characters.  Please feel free to add a page for any of your alts.
The '''CharBox''' template automatically categorizes the article for your character and creates a summary table of the character attributes.  Note that this template will accomodate non-AIE and Alliance characters.  Please feel free to add a page for any of your alts.


Line 9: Line 9:
| full_name=
| full_name=
| game_name=
| game_name=
| guild=
| image=
| honorary=
| title=
| title=
| image=
| house=
| race=
| race=
| gender=
| gender=
| class=
| class=
| prof1=
| profs=
| prof2=
| assoc=
| age=
| height=
| weight=
| eyes=
| hair=
| skin=
| birth=
| home=
}}
}}
</pre>
</pre>
Line 21: Line 32:
== Attributes ==
== Attributes ==


; full_name
=== WoW Specific ===
: This is the full name of your character, from a role-playing perspective.


; game_name
; game_name
: This is the in-game name that WoW recognizes for your character.
: This is the in-game name that WoW recognizes for your character.
 
: Default: the name of the page.
; title
: The title of your character.  This can be an in-game title or part of your RP persona.


; image
; guild
: A portrait of your character, this shoudl be the name of a fiel on the wiki, specified as "Image:XXXXX".
: This is for alts in other guilds.
: Default: [[Alea Iacta Est]], of course!


; race
; race
Line 45: Line 54:
:* Human  
:* Human  
:* Night Elf
:* Night Elf
:* Worgen
:* Goblin
:* Pandaren


; gender
; gender
Line 53: Line 65:
:* Death Knight
:* Death Knight
:* Druid
:* Druid
:* Goblin
:* Hunter
:* Hunter
:* Mage
:* Mage
Line 62: Line 75:
:* Warrior
:* Warrior


; prof
; profs
: Major professions.  Valid values include:
: Separate by spaces. Major professions--valid values include:
:* Alchemy
:* Alchemy
:* Enchanting
:* Engineering
:* Herbalism
:* Herbalism
:* Leatherworking
:* Leatherworking
Line 72: Line 87:
:* Blacksmithing
:* Blacksmithing
:* Jewelcrafting
:* Jewelcrafting
:* Enchanting
:* Inscription
:* Inscription
=== Identity ===
; full_name
: This is the full name of your character, from a role-playing perspective. 
: Default: the name of the page.
; honorary
: The title which prefixes your character's name, e.g. Ambassador, Doctor, Lady, etc.
: Default: none.
; title
: The title of your character.  This can be an in-game title or part of your RP persona.
: Default: none.
; image
: A portrait of your character, this shoudl be the name of a fiel on the wiki, specified as "Image:XXXXX".
; house
:  Name of the house with which your character is aligned, this is purely an RP attribute.
: Default: none.
; assoc
: Organizations, groups, or societies which your character is affiliated.
: Default: none.
; birth
: Your character's birthplace.
: Default: none.
; home
: Home is where the hearthstone is ... but you can list whatever location your character considers home.
: Default: none.
=== Vital Statistics ===
; age
: Default: none.
; height
: Default: none.
; weight
: Default: none.
; eyes
: Default: none.
; hair
: Default: none.
; skin
: Default: none.


== Appearance ==
== Appearance ==


</noinclude>
</noinclude>
<div class="floatright">
<div class="floatright">
{| border="1px" cellspacing="0" width="280px"  
{| border="1px" cellspacing="0" width="300px"  
  |-
  |-
  | colspan="2" align="center" | {{#if: {{{image|}}} | [[{{{image}}}]] | No Image }}
  | colspan="2" align="center" | [[ {{#if: {{{image|}}} | {{{image}}} |  
  {{#switch: {{{class|}}}
    | Death Knight = Image:Icon_of_the_Scourge.jpg
    | Druid = Image:Druid_crest.jpg
    | Hunter = Image:Hunter_crest.jpg
    | Mage = Image:Mage_crest.jpg
    | Paladin = Image:Paladin_crest.jpg
    | Priest = Image:Priest_crest.jpg
    | Rogue = Image:Rogue_crest.jpg
    | Shaman = Image:Shaman_crest.jpg
    | Warlock = Image:Warlock_crest.jpg
    | Warrior = Image:Warrior_crest.jpg
    | Image:Banner_of_the_Horde.jpg
  }}
}} |300px]]
  |-
  |-
  | colspan="2" align="center" style="border-bottom: 0; font-size: 130%;" | {{{full_name}}}  
  | colspan="2" align="center" style="border-bottom: 0; font-size: 130%;" | {{{honorary|}}} {{{full_name}}}  
  |-
  |-
  | colspan="2" align="center" style="border-top: 0;" | {{{title|}}}  
  | colspan="2" align="center" style="border-top: 0;" | {{{title|}}}  
  |-
  |-
  | Game Name
  | Game Name
  | {{{game_name}}}
  | {{armory|{{{game_name|PAGENAME}}}}}
  |-
  |-
  | Race
  | Race
  | {{{race|Unknown}}}
  | {{#rmatch:{{{race|}}}|/((Blood{{!}}Night) Elf{{!}}Troll{{!}}Tauren{{!}}Orc{{!}}Undead{{!}}Draenei{{!}}Dwarf{{!}}Gnome{{!}}Human{{!}}Goblin{{!}}Worgen{{!}}Pandaren)/|$1|Unknown}}
  |-
  |-
  | Gender
  | Gender
  | {{{gender|Unknown}}}
  | {{#rmatch:{{{gender|}}}|/(Male{{!}}Female)/|$1|Unknown}}
  |-
  |-
  | Class
  | Class
  | {{{class|Unknown}}}
  | {{#rmatch:{{{class|}}}|/(Death Knight{{!}}Druid{{!}}Hunter{{!}}Mage{{!}}Paladin{{!}}Priest{{!}}Rogue{{!}}Shaman{{!}}Warlock{{!}}Warrior)/|$1|Unknown}}
  |-
  |-
  | Professions
  | Professions
  | {{{prof|None}}}
  | {{{profs|None}}}
|-
| Guild
| [[{{{guild|Alea Iacta Est}}}]]
{{#if: {{{assoc|}}} |
  {{!}}-
  {{!}} Affiliations
  {{!}} {{{assoc|}}}
}}
  |}
  |}
</div>
</div>
<includeonly>
<includeonly>
{{#if: {{NAMESPACE}} | | [[Category:Characters]] }}
{{#if: {{NAMESPACE}} | | [[Category:Characters]] }}
 
{{#if: {{NAMESPACE}} | | {{#if: {{#rmatch:{{{race|}}}|/((Blood{{!}}Night) Elf{{!}}Troll{{!}}Tauren{{!}}Orc{{!}}Undead{{!}}Draenei{{!}}Dwarf{{!}}Gnome{{!}}Human)/|$1}} | [[Category:{{#rmatch:{{{race|}}}|/((Blood{{!}}Night) Elf{{!}}Troll{{!}}Tauren{{!}}Orc{{!}}Undead{{!}}Draenei{{!}}Dwarf{{!}}Gnome{{!}}Human)/|$1}}_Characters]] }} }}
{{#rmatch: {{{race}}| /blood +elf/i    | [[Category:Blood_Elf_Characters]] }}
{{#if: {{NAMESPACE}} | | {{#if: {{#rmatch:{{{class|}}}|/(Death Knight{{!}}Druid{{!}}Hunter{{!}}Mage{{!}}Paladin{{!}}Priest{{!}}Rogue{{!}}Shaman{{!}}Warlock{{!}}Warrior)/|$1}} | [[Category:{{#rmatch:{{{class|}}}|/(Death Knight{{!}}Druid{{!}}Hunter{{!}}Mage{{!}}Paladin{{!}}Priest{{!}}Rogue{{!}}Shaman{{!}}Warlock{{!}}Warrior)/|$1}}_Characters]] }} }}
{{#rmatch: {{{race}}} | /orc/i          | [[Category:Orc_Characters]]      }}
{{#if: {{NAMESPACE}} | | {{#rreplace: {{{profs|}}} | /(\S+)/g | [[Category:$1_Crafters]] }} }}
{{#rmatch: {{{race}}}  | /tauren/i        | [[Category:Tauren_Characters]]    }}
{{#rmatch: {{{race}}}  | /troll/i        | [[Category:Troll_Characters]]    }}
{{#rmatch: {{{class}}} | /hunter/i        | [[Category:Hunter_Characters]]      }}
{{#rmatch: {{{race}}} | /undead/i        | [[Category:Undead_Characters]]    }}
{{#rmatch: {{{race}}}  | /draenei/i      | [[Category:Draenei_Characters]]  }}
{{#rmatch: {{{race}}}  | /dwarf/i        | [[Category:Dwarf_Characters]]    }}
{{#rmatch: {{{race}}}  | /gnome/i        | [[Category:Gnome_Characters]]     }}
{{#rmatch: {{{race}}| /human/i        | [[Category:Human_Characters]]    }}
{{#rmatch: {{{race}}} | /night +elf/i    | [[Category:Night_Elf_Characters]] }}
 
{{#rmatch: {{{class}}} | /death +knight/i | [[Category:Death_Knight_Characters]] }}
{{#rmatch: {{{class}}} | /druid/i        | [[Category:Druid_Characters]]        }}
 
{{#rmatch: {{{class}}} | /mage/i          | [[Category:Mage_Characters]]        }}
{{#rmatch: {{{class}}} | /paladin/i      | [[Category:Paladin_Characters]]      }}
{{#rmatch: {{{class}}} | /priest/i        | [[Category:Priest_Characters]]      }}
{{#rmatch: {{{class}}} | /rogue/i        | [[Category:Rogue_Characters]]        }}
{{#rmatch: {{{class}}} | /shaman/i        | [[Category:Shaman_Characters]]       }}
{{#rmatch: {{{class}}} | /warlock/i      | [[Category:Warlock_Characters]]      }}
{{#rmatch: {{{class}}} | /warrior/i      | [[Category:Warrior_Characters]]     }}
 
</includeonly>
</includeonly>

Latest revision as of 05:48, 9 September 2013

The CharBox template automatically categorizes the article for your character and creates a summary table of the character attributes. Note that this template will accomodate non-AIE and Alliance characters. Please feel free to add a page for any of your alts.

Usage

{{charbox
| full_name=
| game_name=
| guild=
| image=
| honorary=
| title=
| house=
| race=
| gender=
| class=
| profs=
| assoc=
| age=
| height=
| weight=
| eyes=
| hair=
| skin=
| birth=
| home=
}}

Attributes

WoW Specific

game_name
This is the in-game name that WoW recognizes for your character.
Default: the name of the page.
guild
This is for alts in other guilds.
Default: Alea Iacta Est, of course!
race
Valid values include:
  • Blood Elf
  • Orc
  • Tauren
  • Troll
  • Undead
  • Draenei
  • Dwarf
  • Gnome
  • Human
  • Night Elf
  • Worgen
  • Goblin
  • Pandaren
gender
Male or Female.
class
Valid values include:
  • Death Knight
  • Druid
  • Goblin
  • Hunter
  • Mage
  • Paladin
  • Priest
  • Rogue
  • Shaman
  • Warlock
  • Warrior
profs
Separate by spaces. Major professions--valid values include:
  • Alchemy
  • Enchanting
  • Engineering
  • Herbalism
  • Leatherworking
  • Tailoring
  • Skinning
  • Mining
  • Blacksmithing
  • Jewelcrafting
  • Inscription

Identity

full_name
This is the full name of your character, from a role-playing perspective.
Default: the name of the page.
honorary
The title which prefixes your character's name, e.g. Ambassador, Doctor, Lady, etc.
Default: none.
title
The title of your character. This can be an in-game title or part of your RP persona.
Default: none.
image
A portrait of your character, this shoudl be the name of a fiel on the wiki, specified as "Image:XXXXX".
house
Name of the house with which your character is aligned, this is purely an RP attribute.
Default: none.
assoc
Organizations, groups, or societies which your character is affiliated.
Default: none.
birth
Your character's birthplace.
Default: none.
home
Home is where the hearthstone is ... but you can list whatever location your character considers home.
Default: none.

Vital Statistics

age
Default: none.
height
Default: none.
weight
Default: none.
eyes
Default: none.
hair
Default: none.
skin
Default: none.

Appearance

Banner of the Horde.jpg
{{{full_name}}}
Game Name

PAGENAME

Race Unknown
Gender Unknown
Class Unknown
Professions None
Guild Alea Iacta Est