Template:Charbox: Difference between revisions

From AIE Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div>
{{#if: {{NAMESPACE}} | | [[Category:Characters]] }}
{{#switch: {{{race}}}
  | Blood Elf
  | Blood elf
  | blood elf = {{#if: {{NAMESPACE}} | | [[Category:Blood_Elf_Characters]]}}
  | Orc
  | orc = {{#if: {{NAMESPACE}} | | [[Category:Orc_Characters]]}}
  | Tauren
  | tauren = {{#if: {{NAMESPACE}} | | [[Category:Tauren_Characters]]}}
  | Troll
  | troll = {{#if: {{NAMESPACE}} | | [[Category:Troll_Characters]]}}
  | Forsaken
  | forsaken
  | Undead
  | undead = {{#if: {{NAMESPACE}} | | [[Category:Undead_Characters]]}}
}}
{{#rmatch: {{{class}}} | /death +knight/i | [[Category:Death_Knight_Characters]]}}
{{#rmatch: {{{class}}} | /druid/i        | [[Category:Druid_Characters]]}}
{{#rmatch: {{{class}}} | /hunter/i        | [[Category:Hunter_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]]}}
</div></includeonly>
<noinclude>
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 139: Line 106:
  |}
  |}
</div>
</div>
<includeonly>
{{#if: {{NAMESPACE}} | | [[Category:Characters]]
{{#rmatch: {{{race}}} | /blood +elf/i      | [[Category:Blood_Elf_Characters]]}}
{{#rmatch: {{{race}}} | /orc/i            | [[Category:Orc_Characters]]}}
{{#rmatch: {{{race}}} | /tauren/i          | [[Category:Tauren_Characters]]}}
{{#rmatch: {{{race}}} | /troll/i          | [[Category:Troll_Characters]]}}
{{#rmatch: {{{race}}} | /undead|forsaken/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}}} | /hunter/i        | [[Category:Hunter_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>

Revision as of 03:54, 13 March 2009

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=
| title=
| image=
| race=
| gender=
| class=
| prof1=
| prof2=
}}

Attributes

full_name
This is the full name of your character, from a role-playing perspective.
game_name
This is the in-game name that WoW recognizes for your character.
title
The title of your character. This can be an in-game title or part of your RP persona.
image
A portrait of your character, this shoudl be the name of a fiel on the wiki, specified as "Image:XXXXX".
race
Valid values include:
  • Blood Elf
  • Orc
  • Tauren
  • Troll
  • Undead
  • Draenei
  • Dwarf
  • Gnome
  • Human
  • Night Elf
gender
Male or Female.
class
Valid values include:
  • Death Knight
  • Druid
  • Hunter
  • Mage
  • Paladin
  • Priest
  • Rogue
  • Shaman
  • Warlock
  • Warrior
prof1
prof2
Major professions. Valid values include:
  • Alchemy
  • Herbalism
  • Leatherworking
  • Tailoring
  • Skinning
  • Mining
  • Blacksmithing
  • Jewelcrafting
  • Enchanting
  • Inscription

Appearance

No Image
{{{full_name}}}
Game Name {{{game_name}}}
Race Unknown
Gender Unknown
Class Unknown
Profession None
Profession None