(Commenting out health/mana/energy per the vote results.) |
(#setmainimage for OpenGraph) |
||
(51 intermediate revisions by 3 users 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 |
+ | |image = {{#if:{{{slides|}}}|{{SlidesToTabber|{{{slides}}}|{{#if:{{{imgsize|}}}|{{{imgsize}}}|200x300px}}}}|{{#ifeq:{{lc:{{{image}}}}}|no||{{#ifexist:File:{{{image|}}}|[[File:{{#setmainimage:{{{image}}}}}|frameless|200x300px|Image of {{{name|{{PAGENAME}}}}}]]|{{NPC placeholder image|race={{{race|{{#explode:{{#explode:{{#replace:{{#replace:{{{races}}}|]}}|[}}|,|0}}|(|0}}}}}|gender={{{gender|}}}|creature={{{creature}}}|image={{{image|}}}}}}}}}}} |
|caption = {{{caption|}}} |
|caption = {{{caption|}}} |
||
|label1 = Title |
|label1 = Title |
||
|data1 = {{#if:{{{title|}}}|<{{{title}}}>|{{{titles|}}}}} {{#if:{{{title ref|}}}|<ref>{{{title ref}}}</ref>}} |
|data1 = {{#if:{{{title|}}}|<{{{title}}}>|{{{titles|}}}}} {{#if:{{{title ref|}}}|<ref>{{{title ref}}}</ref>}} |
||
|label2 = Gender |
|label2 = Gender |
||
− | |data2 = {{{gender |
+ | |data2 = {{{gender|}}} |
|label3 = Race{{#if:{{{races|}}}|(s)}} |
|label3 = Race{{#if:{{{races|}}}|(s)}} |
||
− | |data3 = {{#if:{{{races|}}}|{{{races}}}|{{#ifeq:{{{race|}}}||Unknown|[[{{ucfirst:{{{race}}}}}]]}} |
+ | |data3 = {{#if:{{{races|}}}|{{{races}}}|{{#ifeq:{{{race|}}}||Unknown|{{#if:{{{displayrace|}}}|[[{{{race}}}|{{ucfirst:{{{displayrace}}}}}]]|[[{{ucfirst:{{{race}}}}}]]}}}}}}{{#if:{{{creature|}}}| ({{{creature}}})}} |
|label4 = Level |
|label4 = Level |
||
− | |data4 = {{#if:{{{classiclvl|}}}| & |
+ | |data4 = {{#if:{{{classiclvl|}}}|   '''Retail:''' }}{{Level|{{{level|}}}|{{{type|}}}}} {{{type|}}}{{#if:{{{classiclvl|}}}|<br>'''Classic:''' {{{classiclvl}}} {{{classictype|{{{type|}}}}}}}} |
− | |label5 = Heroic level |
||
− | |data5 = {{#if:{{{hlevel|}}}|{{{hlevel}}}[[Category:Articles using the hlevel parameter]] {{{type|}}}}} |
||
|label6 = Class |
|label6 = Class |
||
|data6 = {{{character|{{{class|}}}}}} |
|data6 = {{{character|{{{class|}}}}}} |
||
− | |label7 = |
+ | |label7 = Resource |
+ | |data7 = {{#if:{{{resource|}}}|{{#switch:{{lc:{{{resource|}}}}}|mana=<span class="cc-shaman">[[Mana (game resource)|Mana]]</span>|energy=<span class="cc-rogue">[[Energy]]</span>|mana/energy|mana / energy|mana, energy=<span class="cc-shaman">[[Mana (game resource)|Mana]]</span> / <span class="cc-rogue">[[Energy]]</span>|{{{resource}}}}}}}{{#if:{{{energy|}}}|<span class="cc-rogue">[[Energy]]</span>}} |
||
− | |data7 = <!--{{{health|}}}--> |
||
− | |label8 = <!--Heroic health--> |
||
− | |data8 = <!--{{{hhealth|}}} |
||
− | |label9 = <!--Mana--> |
||
− | |data9 = <!--{{{mana|}}}--> |
||
− | |label10 = <!--Energy--> |
||
− | |data10 = <!--{{#ifeq:{{{energy|}}}|-1|100|{{{energy|}}}}} --> |
||
|label11= Reaction |
|label11= Reaction |
||
|data11 = {{{aggro|}}} |
|data11 = {{{aggro|}}} |
||
Line 52: | Line 44: | ||
|data23 = {{{alignment|}}} |
|data23 = {{{alignment|}}} |
||
|label24= Pet family |
|label24= Pet family |
||
− | |data24 = {{#if:{{{pet|}}}|[[{{{pet}}}]]}} |
+ | |data24 = {{#if:{{{pet|}}}|[[{{{pet}}}#As a hunter pet|{{{pet}}}]]}} |
|data25 = {{#if:{{{instance|}}}|{{Instance bosses|[[{{{instance}}}|{{{instancename|{{{instance}}}}}}]]|{{{{{instance}}}}}}}}} |
|data25 = {{#if:{{{instance|}}}|{{Instance bosses|[[{{{instance}}}|{{{instancename|{{{instance}}}}}}]]|{{{{{instance}}}}}}}}} |
||
|below= {{#if:{{{source|}}}|Source(s): {{{source|}}}}}<!-- |
|below= {{#if:{{{source|}}}|Source(s): {{{source|}}}}}<!-- |
||
Line 61: | Line 53: | ||
-->{{#ifeq:{{{doc|-}}}|-|<!-- |
-->{{#ifeq:{{{doc|-}}}|-|<!-- |
||
-->{{#if:{{{rep|}}}|[[Category:{{{rep}}}]]}}<!-- |
-->{{#if:{{{rep|}}}|[[Category:{{{rep}}}]]}}<!-- |
||
+ | |||
HUNTER PETS |
HUNTER PETS |
||
− | + | Undead -->{{#if:{{{pet|}}}|{{#ifeq:{{lc:{{{creature}}}}}|undead|[[Category:Undead beasts]]}}}}<!-- |
|
− | + | FAMILIES -->{{#if:{{{pet|}}}|<!-- |
|
− | + | CURRENT -->{{#switch:{{lc:{{{pet}}}}}<!-- |
|
− | + | -s -->|basilisk|bat|bear|beetle|blood beast|boar|camel|carapid|carrion bird|cat|chimaera|core hound|courser|crab|crocolisk|devilsaur|direhorn|dragonhawk|feathermane|gorilla|gruffhorn|hound|hydra|hyena|lizard|mammoth|mechanical|monkey|moth|raptor|ravager|ray|riverbeast|rodent|scalehide|scorpid|serpent|shale beast|spider|spirit beast|sporebat|stag|stone hound|tallstrider|toad|turtle|warp stalker|wasp|water strider|wind serpent|worm=[[Category:Tamable {{lc:{{{pet}}}}}s]]<!-- |
|
+ | no -s -->|aqiri|lesser dragonkin|oxen|pterrordax|waterfowl=[[Category:Tamable {{lc:{{{pet}}}}}]]<!-- |
||
− | Ferocity -->|bat|carrion bird|cat|chimaera|clefthoof|core hound|courser|crocolisk|devilsaur|gorilla|ravager|ray|scalehide|scorpid|spider|tallstrider|wasp|wind serpent|wolf=[[Category:Ferocity beasts]]<!-- |
||
+ | other -->|bird of prey=[[Category:Tamable birds of prey]]|clefthoof=[[Category:Tamable clefthooves]]|fox=[[Category:Tamable foxes]]|wolf=[[Category:Tamable wolves]]<!-- |
||
− | Tenacity -->|bear|beetle|blood beast|carapid|crab|crane|direhorn|dragonhawk|feathermane|hydra|lizard|mammoth|oxen|riverbeast|spirit beast|stag|stone hound|toad|turtle|worm=[[Category:Tenacity beasts]]<!-- |
||
+ | REMOVED --- |
||
⚫ | |||
+ | -s -->|crane|dog|goat|krolusk|owl|porcupine|rhino|shale spider|silithid={{#if:{{#var:removed}}|[[Category:Tamable {{lc:{{{pet}}}s}}]]|[[Category:Beasts with incorrect pet family]]}}<!-- |
||
+ | -->|quilen={{#if:{{#var:removed}}|[[Category:Tamable quilen]]|[[Category:Beasts with incorrect pet family]]}}<!-- |
||
+ | NONE OF THOSE |
||
⚫ | |||
+ | -->}}}}<!-- |
||
+ | |||
+ | Professions -->{{#if:{{{profession|}}}|{{#arraydefine:profession|{{{profession|}}}|,}}{{#arrayprint:profession||@|[[Category:{{#switch:{{lc:@}}|mine|mining=Minable|skin|skinning=Skinnable|herb|herbalism=Gatherable|engineer|engineering|salvage=Salvageable|pickpocket=Pickpocketable}} mobs]]}}}}<!-- |
||
+ | |||
+ | -->{{#if:{{#var:classic}}|[[Category:Classic NPCs]]}}<!-- |
||
+ | |||
end doc -->}}<!-- |
end doc -->}}<!-- |
||
Cargo data |
Cargo data |
||
− | -->{{#cargo_store:_table=NPCs|Races={{{race|{{#replace:{{#replace:{{{races|}}}|]}}|[}}}}}|Gender={{{gender |
+ | -->{{#cargo_store:_table=NPCs|Races={{{race|{{#replace:{{#replace:{{{races|}}}|]}}|[}}}}}|Gender={{{gender|}}}|Affiliations={{{affiliation|}}}}}</includeonly></onlyinclude> |
{{#cargo_declare:_table=NPCs|Races=List (,) of String|Gender=String|Affiliations=List (,) of String}} |
{{#cargo_declare:_table=NPCs|Races=List (,) of String|Gender=String|Affiliations=List (,) of String}} |
||
{{Documentation}} |
{{Documentation}} |
Latest revision as of 21:38, 23 September 2023
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
Georgio the Destroyer | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Title |
Destroyer of Worlds Servant of Cthulhu | ||||||||||
Gender | Male | ||||||||||
Race | Ogre (Humanoid) | ||||||||||
Level |
Retail: 70 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 = |profession = |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). There shouldn't be more than 2 aggros in this field, anymore should be considered if they actually matter. {{Npclocations}} can be used for multiple different zone locations with a different aggro status.
- 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
- profession
- pickpocket, skinning, salvage, mining, herbalism (accepts multiple values, separated by a comma " , ") (etc. used on Infinite Saboteur to add categories that state they can be pickpocket and skinned)
- 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.