Template:Charbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Adding Worgen and Pandaren) |
||
(22 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= | ||
| | | house= | ||
| race= | | race= | ||
| gender= | | gender= | ||
| class= | | class= | ||
| | | profs= | ||
| | | assoc= | ||
| age= | |||
| height= | |||
| weight= | |||
| eyes= | |||
| hair= | |||
| skin= | |||
| birth= | |||
| home= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 21: | Line 32: | ||
== Attributes == | == Attributes == | ||
=== WoW Specific === | |||
; 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. | |||
; | ; guild | ||
: | : 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 | ||
; | ; profs | ||
: Major professions | : Separate by spaces. Major professions--valid values include: | ||
:* Alchemy | :* Alchemy | ||
:* Enchanting | |||
:* Engineering | |||
:* Herbalism | :* Herbalism | ||
:* Leatherworking | :* Leatherworking | ||
Line 72: | Line 87: | ||
:* Blacksmithing | :* Blacksmithing | ||
:* Jewelcrafting | :* Jewelcrafting | ||
:* 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=" | {| border="1px" cellspacing="0" width="300px" | ||
|- | |- | ||
| colspan="2" align="center" | {{#if: {{{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 | ||
| {{{ | | {{{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: {{{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]] }} }} | |||
</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
{{{full_name}}} | |
Game Name | |
Race | Unknown |
Gender | Unknown |
Class | Unknown |
Professions | None |
Guild | Alea Iacta Est |