Template:Charbox: Difference between revisions

From AIE Wiki
Jump to navigation Jump to search
m (Changed profession categories to be XXXXX_Crafters instead of XXXXX_Characters.)
(Adding Worgen and Pandaren)
 
(12 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 54: Line 54:
:* Human  
:* Human  
:* Night Elf
:* Night Elf
:* Worgen
:* Goblin
:* Pandaren


; gender
; gender
Line 62: Line 65:
:* Death Knight
:* Death Knight
:* Druid
:* Druid
:* Goblin
:* Hunter
:* Hunter
:* Mage
:* Mage
Line 72: Line 76:


; profs
; profs
: Major professions.  Valid values include:
: Separate by spaces. Major professions--valid values include:
:* Alchemy
:* Alchemy
:* Enchanting
:* Enchanting
Line 142: Line 146:
</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%;" | {{{honorary|}}} {{{full_name}}}  
  | colspan="2" align="center" style="border-bottom: 0; font-size: 130%;" | {{{honorary|}}} {{{full_name}}}  
Line 151: Line 169:
  |-
  |-
  | Game Name
  | Game Name
  | [http://www.wowarmory.com/character-sheet.xml?r=Earthen+Ring&n={{{game_name|PAGENAME}}} {{{game_name|PAGENAME}}}]
  | {{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
Line 176: Line 194:
<includeonly>
<includeonly>
{{#if: {{NAMESPACE}} | | [[Category:Characters]] }}
{{#if: {{NAMESPACE}} | | [[Category:Characters]] }}
{{#if: {{NAMESPACE}} | | {{#if: {{{race|}}} | [[Category:{{{race}}}_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]] }} }}
{{#if: {{NAMESPACE}} | | {{#if: {{{class|}}} | [[Category:{{{class}}}_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]] }} }}
{{#if: {{NAMESPACE}} | | {{#rreplace: {{{profs|}}} | /(\S+)/g | [[Category:$1_Crafters]] }} }}
{{#if: {{NAMESPACE}} | | {{#rreplace: {{{profs|}}} | /(\S+)/g | [[Category:$1_Crafters]] }} }}
</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