Difference between revisions of "Template:Npcbox"
(rmv hhealth obsolete category, rmv unused labels (previously used by mana and hhealth), rmv hlevel (no longer displayed). If anything, heroic level will always be the max level of the expansion, no scaling.) |
m |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <onlyinclude><includeonly>{{Infobox |
+ | <onlyinclude><includeonly>{{Infobox |
|bodystyle=width:21.5em |
|bodystyle=width:21.5em |
||
|above-icon= {{#if:{{{faction|}}}|{{FactionIcon|{{{faction}}}}}}} |
|above-icon= {{#if:{{{faction|}}}|{{FactionIcon|{{{faction}}}}}}} |
||
|above = {{{name|{{PAGENAME}}}}} |
|above = {{{name|{{PAGENAME}}}}} |
||
− | |image = {{#ifeq:{{lc:{{{image}}}}}|no||{{#ifexist:File:{{{image|}}}|[[File:{{{image}}}|frameless|200x300px|Image of {{{name|{{PAGENAME}}}}}]]|{{NPC placeholder image|race={{{race|{{#explode:{{#explode:{{#replace:{{#replace:{{{races}}}|]}}|[}}|,|0}}|(|0}}}}}|gender={{{gender|{{{sex|}}}}}}|creature={{{creature}}}|image={{{image|}}}}}}}}} |
+ | |image = {{#if:{{{slides|}}}|{{SlidesToTabber|{{{slides}}}|{{#if:{{{imgsize|}}}|{{{imgsize}}}|200x300px}}}}|{{#ifeq:{{lc:{{{image}}}}}|no||{{#ifexist:File:{{{image|}}}|[[File:{{{image}}}|frameless|200x300px|Image of {{{name|{{PAGENAME}}}}}]]|{{NPC placeholder image|race={{{race|{{#explode:{{#explode:{{#replace:{{#replace:{{{races}}}|]}}|[}}|,|0}}|(|0}}}}}|gender={{{gender|{{{sex|}}}}}}|creature={{{creature}}}|image={{{image|}}}}}}}}}}} |
|caption = {{{caption|}}} |
|caption = {{{caption|}}} |
||
|label1 = Title |
|label1 = Title |
||
Line 16: | Line 16: | ||
|data6 = {{{character|{{{class|}}}}}} |
|data6 = {{{character|{{{class|}}}}}} |
||
|label7 = Resource |
|label7 = Resource |
||
− | |data7 = {{#if:{{{resource|}}}|{{#switch:{{lc:{{{resource|}}}}}|mana=<span class="cc-shaman">[[Mana]]</span>|energy=<span class="cc-rogue">[[Energy]]</span>|{{{resource}}}}} |
+ | |data7 = {{#if:{{{resource|}}}|{{#switch:{{lc:{{{resource|}}}}}|mana=<span class="cc-shaman">[[Mana (game resource)|Mana]]</span>|energy=<span class="cc-rogue">[[Energy]]</span>|{{{resource}}}}}}}{{#if:{{{energy|}}}|<span class="cc-rogue">[[Energy]]</span>}} |
|label11= Reaction |
|label11= Reaction |
||
|data11 = {{{aggro|}}} |
|data11 = {{{aggro|}}} |
||
Line 49: | Line 49: | ||
-->}}<!-- end of infobox |
-->}}<!-- end of infobox |
||
− | Obsolete parameters -->{{#if:{{{ |
+ | Obsolete parameters -->{{#if:{{{cost|}}}|[[Category:Articles using the cost parameter]]}}{{#ifeq:{{{energy|-1}}}|-1||[[Category:Articles using the energy parameter]]|}}{{#if:{{{energy|}}}|[[Category:Articles using the energy parameter]]}}{{#if:{{{races|}}}|{{#if:{{{creature|}}}||[[Category:Articles using the races parameter without creatures]]}}}}<!-- |
Categories |
Categories |
Latest revision as of 23:51, 13 January 2021
This template defines the table "NPCs". View table.
Use the NPC box to help summarize the vital stats of a particular mob or NPC.
Usage
![]() | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
Title |
Destroyer of Worlds Servant of Cthulhu | ||||||||||
Gender | Male | ||||||||||
Race | Ogre (Humanoid) | ||||||||||
Level |
Retail: 60 Elite Classic: 43 Rare Elite | ||||||||||
Class | Monk | ||||||||||
Resource | Mana | ||||||||||
Reaction | Alliance Horde | ||||||||||
Affiliation(s) | Undercity | ||||||||||
Occupation | World destroyer | ||||||||||
Former occupation(s) | Chambermaid | ||||||||||
Location | Great Sea[30, 20] | ||||||||||
Status | Alive | ||||||||||
Relative(s) | Deathwing | ||||||||||
Mentor(s) | Old Gods | ||||||||||
Student(s) | Wrathion | ||||||||||
Companion(s) | Sylvanas Windrunner | ||||||||||
Pet family | Core hound | ||||||||||
| |||||||||||
Source(s): Some RPG source book |
{{Npcbox |name = |image = |faction = |title = |level = |type = |classiclvl = |classictype = |class = |race = |creature = |aggro = |affiliation = |gender = |occupation = |foccupation = |location = |status = |relatives = |mentors = |students = |companions = |instance = |pet = |source = }}
- faction
- Specify one of "Horde", "Alliance", "Neutral", or "Combat" (for mobs). Used to create the crest of the infobox
- name
- The name of the NPC. Defaults to {{PAGENAME}}.
- image
- The filename of an image to include (Image will be scaled down to 200px width or 300px height, whichever is greater). See Wowpedia:Nopics for placeholder images to use.
- title
- The title of the NPC that appears in brackets below the name, e.g. <Destroyer of Worlds>
- gender
- The sex of the NPC. Specify "Male" or "Female". Default not shown.
- race
- The race/model (for undead, use "<specific undead type>" (like Ghoul), "Undead (<specific type>), <race> (formerly)" or just "Undead") of the NPC. Braces automatically included (braces not necessary).
- creature
- In game classification. (e.g. Humanoid, Beast, Demon, Mechanical, etc).
- level
- The level of the NPC using the {{Level}} template. Use "Max" for flight masters and city guards or "??" for bosses.
- type
- Specify "Elite" if the NPC is Elite, like a city guard or "Boss" if the NPC is a Boss (city or instance). Defaults to Normal which is not shown.
- classiclvl
- The level for the NPC in World of Warcraft: Classic. Use "??" for bosses.
- classictype
- The type for the NPC in World of Warcraft: Classic. See the type parameter for more information.
- resource
- the type of resource the NPC has. Mana, energy, rage, etc.
- aggro
- displays if the NPC is aggressive to horde or alliance; use {{aggro}} or {{reputation}} (Friendly/Hostile)
- affiliation
- The affiliations of the character, if they have more than one.
- faffiliation
- The affiliations this character used to be part of.
- location
- The specific subzone or coordinates of the NPC. Braces necessary
- class
- One of the character classes in WoW; unit or lore class if character is pre-WoW. As many can be listed as needed.
- occupation
- the character's role and/or position
- foccupation
- the character's former role and/or position
- status
- The current status of a character; use only the following options: "Alive" ("Active" or "Inactive"), "Deceased" ("Killable" or "Defeatable"), "Unknown"
- relatives
- spouses, siblings, parents, children, any other family members. Please put the relationship in parenthesis.
- mentors
- If the character wields magic, then that person's teacher can be listed here.
- students
- If the character had an apprentice, or students then those characters can be listed here.
- companions
- Friends or group members.
- source
- Game(s) (or other sources) where character is seen.
- instance
- putting the instance name here will add a collapsible info box for the instance bosses (assuming the instance page is set up correctly)
Pet Information (for beast mobs)
- pet
- Creature pet family, such as "cat" or "turtle". Defaults to hidden.