Шаблон:NPC infobox — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
 
(не показаны 2 промежуточные версии этого же участника)
Строка 1: Строка 1:
{{infobox status|{{{status|{{#ifeq:{{{historical|n}}}|y|historical}} }}} }}<!--
+
<includeonly><!--
 
+
-->{{#set: Has context=NPC}}<!-- Default properties for the type of page
-->{{#set:Has game context=NPC}}<!-- Default properties for the type of page
+
-->{{infobox status|{{{status|}}}|{{{status notes|}}}|date={{{status date|}}} }}<!--
 +
-->{{infobox requires|{{{requires|}}} }}<!--
 
--><div class="infobox npc">
 
--><div class="infobox npc">
 
{{#if: {{{icon|}}}
 
{{#if: {{{icon|}}}
   | <div class="icon">[[File:{{{icon}}}|40x40px]]</div>
+
   | <div class="icon">[[Has game icon::File:{{{icon}}}|40x40px]]</div>
 
   | {{#if: {{{service|}}}
 
   | {{#if: {{{service|}}}
     | {{#arraymap:{{{service}}}|,|@@@|{{#if: {{#var:icon|}} || {{#vardefine:icon|@@@}} }}}}<!-- grab the first item in the list for the icon
+
     | {{#vardefine:first service|{{#explode:{{{service}}}|,|0}}}}<!-- grab the first item in the list for the icon
--><div class="icon">[[File:{{#switch: {{lc:{{#var:icon|}}}}
+
  -->{{#vardefine:icon|{{#switch: {{lc:{{#var:first service}}}}
         | renown heart          = Renown heart NPC
+
         | armorsmith                = Armorsmith.png
         | armorsmith            = Armorsmith
+
         | reinforce armor          = Reinforce Armor.png
 
         | crest collector
 
         | crest collector
         | bandit crest collector = Bandit Crest Collector
+
         | bandit crest collector   = Bandit Crest Collector.png
         | collections instructor = Basic Collections
+
         | collections instructor   = Basic Collections.png
         | dungeon merchant       = Dungeon Merchant
+
        | dungeon information      = Dungeon (map icon).png
 +
         | dungeon merchant         = Dungeon Merchant.png
 +
        | fishmonger                = Merchant.png
 +
        | fishing supplies          = Merchant.png
 
         | gift
 
         | gift
         | gift exchange         = Peppermint
+
         | gift exchange             = Peppermint.png
         | guild commendation trader = Guild Commendation Trainer (map icon)
+
        | guild armorer            = Guild Armorer.png
         | guild armorer
+
         | guild commendation trader = Guild Commendation Trainer (map icon).png
         | guild weaponsmith     = Guild vendor
+
         | guild promoter            = Guild Commendation Trader.png
         | weaponsmith           = Weaponsmith
+
         | guild weaponsmith         = Guild Weaponsmith.png
 +
         | weaponsmith               = Weaponsmith.png
 
         | karma merchant
 
         | karma merchant
 
         | karma vendor
 
         | karma vendor
         | karma                 = Karma merchant
+
         | karma                     = Karma Merchant.png
         | cultural armorsmith   = Cultural armorsmith
+
        | ley line crystal merchant = Ley Line Crystal.png
         | cultural weaponsmith   = Karma weaponsmith
+
         | cultural armorsmith       = Cultural Armorsmith.png
         | master armorsmith     = Master Armorsmith
+
         | cultural weaponsmith     = Cultural Weaponsmith.png
         | master artificer       = Master Artificer
+
         | master armorsmith         = Master Armorsmith.png
         | master chef           = Master Chef
+
         | master artificer         = Master Artificer.png
         | master huntsman       = Master Huntsman
+
         | master chef               = Master Chef.png
         | master jeweler         = Master Jeweler
+
         | master huntsman           = Master Huntsman.png
         | master leatherworker   = Master Leatherworker
+
         | master jeweler           = Master Jeweler.png
         | master tailor         = Master Tailor
+
         | master leatherworker     = Master Leatherworker.png
         | master weaponsmith     = Master Weaponsmith
+
        | master scribe            = Master Scribe.png
         | merchant            
+
         | master tailor             = Master Tailor.png
         | event merchant         = Merchant
+
         | master weaponsmith       = Master Weaponsmith.png
         | repairs               = Repairs  
+
        | mount rental              = <!-- none -->
 +
        | pact supply network agent
 +
         | merchant
 +
         | event merchant           = Merchant.png
 +
         | repairs                   = Repairs.png
 +
        | research merchant        = Research Merchant (overhead icon).png
 +
        | race organizer            = Event dialogue (overhead icon).png
 +
        | renown heart              = Renown heart NPC.png
 +
        | repeatable heart          = Renown heart NPC repeatable.png
 
         | skill challenge
 
         | skill challenge
         | hero challenge         = Hero challenge
+
         | hero challenge           = Hero challenge.png
         | trading post           = Trading post
+
         | trading post             = Trading post.png
 +
        | transport facilitator    = Transport Facilitator (map icon).png
 
         | living world
 
         | living world
 
         | living story
 
         | living story
         | ls                     = Living Story (map icon)
+
         | ls                       = Living Story (map icon).png
 
         | living story scout
 
         | living story scout
 
         | living world scout
 
         | living world scout
         | ls scout               = Living Story Scout
+
         | ls scout                 = Living Story Scout.png
 
         | living story waypoint
 
         | living story waypoint
 
         | ls waypoint
 
         | ls waypoint
         | ls wp                 = Living Story waypoint
+
         | ls wp                     = Living Story waypoint.png
 
         | living story collector
 
         | living story collector
         | ls collector           = Living Story Collector
+
         | ls collector             = Living Story Collector.png
         | geode merchant        = Merchant tier 1
+
         | geode merchant
         | belcher's bluff       = Belcher's Bluff (map icon)
+
         | zephyrite merchant        = Tier 01 Zephyrite Merchant (map icon).png
         | activity               = Activity (map icon)
+
         | belcher's bluff           = Belcher's Bluff (map icon).png
         | mystic forge attendant = Mystic Forge
+
         | activity                 = Activity (map icon).png
         | guild claiming        = Blank
+
         | mystic forge attendant   = Mystic Forge.png
         | #default               = {{#ifexist: File:{{#var:icon}}.png|{{#var:icon}}|Skill}}
+
         | guild claiming           = Blank.png
       }}.png|40x40px]]</div>
+
        | guild                    = Guild Services.png
 +
        | proprietor                = Proprietor.png
 +
        | mastery insight
 +
        | mastery insight (path of fire) = Mastery point (Path of Fire).png
 +
        | mastery insight (end of dragons) = Mastery point (End of Dragons).png
 +
        | bonus event merchant
 +
        | living world merchant
 +
        | siren's landing merchant  = Vendor Star.png
 +
         | gardener                  = Gardener.png
 +
        | dragon arena              = Dragon Bash.png
 +
         | #default                 = {{ifimage|{{#var:first service}}.png|{{#var:first service}}.png|Skill.png}}
 +
       }}}}<!--
 +
  -->{{#if: {{#var:icon}} | <div class="icon">[[Has game icon::File:{{#var:icon}}|40x40px]]</div> }}
 
   }}
 
   }}
 
}}
 
}}
 
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p>
 
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p>
 
<div class="wrapper">
 
<div class="wrapper">
<p class="image_wrapper">{{#if:{{{image|}}}
+
{{#ifeq:{{{image}}}|no|<!-- Not visible or necessary-->|<p class="image_wrapper">{{#if:{{{image|}}}
  | {{#ifeq:{{{image}}}|no|{{clear}}<!-- Not visible or necessary-->| [[Has appearance::File:{{{image}}}|240x300px]] }}
+
  | [[Has appearance::File:{{{image}}}|240x300px]]
   | {{#vardefine:default|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.jpg}} {{#ifexist:{{#var:default}} <!-- Default file name to display -->
+
   | {{#vardefine:default image|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.jpg}} {{#if: {{ifimage|{{#var:default image}}|exists}}
         | [[Has appearance::{{#var:default}}|240x300px]]
+
         | [[Has appearance::{{#var:default image}}|240x300px]]
         | [[{{#var:default}}|Upload an image of this NPC.]] <!-- Red link to file upload page -->
+
         | [[{{#var:default image}}|Upload an image of this NPC.]]<!-- Red link to file upload page -->
 
     }}
 
     }}
}}
+
}}</p>}}{{#switch:{{lc:{{{random|no}}}}}|y|yes=<center><small>(Внешний вид этого персонажа может меняться случайным образом.)</small></center>}}
</p>
+
{{#switch: {{lc:{{{race|}}}}}
 +
| object = <!-- do not show if object --> {{#set:Has race=Object}}
 +
| <!-- empty --> =
 +
;[[Bestiary|Раса]]
 +
:Unknown {{#set:Has race=NPCs with unknown race}}
 +
| #default =
 
;[[Bestiary|Раса]]
 
;[[Bestiary|Раса]]
:{{#arraymap:{{{race|}}}|,|@@@|{{#ifeq:{{lc:@@@}}|various|Various|[[Has race::{{ucfirst:@@@}}]]}}
+
:{{#arraymap:{{{race|}}}|,|@@@|{{#switch:{{lc:@@@}}
 +
| object = <!-- suppress object for multiple race parameters -->{{#set:Has race=Object}}
 +
| various = Various {{#set:Has race=NPCs with various races}}
 +
| vision = [[Has race::Vision (race)|Vision]] {{#set:Has family=Vision (race)}}
 +
| phantasm = [[Has race::Phantasm (race)|Phantasm]] {{#set:Has family=Phantasm (race)}}
 +
| celestial = [[Has race::Celestial (group)|Celestial]] {{#set:Has family=Celestial (group)}}
 +
| warden (race) = [[Has race::Warden (race)|Warden]] {{#set:Has family=Warden (race)}}
 +
| raptor
 +
| raptor (race) = [[Has race::Raptor (race)|Raptor]] {{#set:Has family=Raptor (race)}}
 +
| spirit (race) = [[Has race::Spirit (race)|Spirit]] {{#set:Has family=Spirit (race)}}
 +
| griffon
 +
| griffon (race) = [[Has race::Griffon (race)|Griffon]] {{#set:Has family=Griffon (race)}}
 +
| #default = [[Has race::{{ucfirst:@@@}}]] {{#set:Has family={{ucfirst:@@@}}}}
 +
}}}}
 
}}{{#if:{{{profession|}}}|
 
}}{{#if:{{{profession|}}}|
 
;[[Profession|Профессия]]
 
;[[Profession|Профессия]]
:{{#arraymap: {{{profession}}}|,|@@@|[[Is for profession::{{ucfirst:@@@}}]]|<br>}}
+
:{{#arraymap: {{{profession}}}|,|@@@|{{#switch:{{lc:@@@}}
}} {{#ifeq: {{{level|0}}} | 0 | {{#set:Has NPC level=0}} |
+
| monk = [[Monk (lore)|Monk]]
 +
| ritualist = [[Ritualist (lore)|Ritualist]]
 +
| #default = [[{{ucfirst:@@@}}]]
 +
}}|<br>}}}}{{#ifeq: {{{level|0}}} | 0 | {{#set:Has NPC level=0}} |
 
;[[Experience|Уровень]]
 
;[[Experience|Уровень]]
 
:[[Has NPC level::{{{level}}}]]
 
:[[Has NPC level::{{{level}}}]]
}} {{#if: {{{rank|}}} |
+
}}{{#if: {{{rank|}}} |
 
;[[NPC rank|Ранг]]
 
;[[NPC rank|Ранг]]
:[[Has NPC rank::{{#switch:{{lc:{{{rank}}}}}
+
:{{#arraymap: {{{rank}}}|,|@@@|{{#switch:{{lc:@@@}}
| critter
+
| critter
| ambient
+
| ambient
| ambient creature = Ambient
+
| ambient creature = [[Has NPC rank::Ambient]]
| bronze
+
| bronze
| veteran = Veteran
+
| vet
| silver
+
| veteran = [[Has NPC rank::Veteran]]
| elite = Elite
+
| silver
| gold
+
| elite = [[Has NPC rank::Elite]]
| champion = Champion
+
| champ
| purple
+
| champion
| legendary = Legendary
+
| gold = [[Has NPC rank::Champion]]
| epic = Epic
+
| purple
| basic
+
| legendary = [[Has NPC rank::Legendary]]
| normal
+
| epic
| #default = Normal
+
| world boss = [[Has NPC rank::Epic]]
}}]]|<!--default if {rank} not set-->{{#set:Has NPC rank=Normal}}}}
+
| basic
{{infobox location| {{{location|}}} }}
+
| normal
 +
| #default = [[Has NPC rank::Normal]]
 +
}}|<br>}}|<!-- default if {rank} not set -->{{#set:Has NPC rank=Normal}}}}
 +
{{infobox location|{{{location|}}}}}
 
{{#if: {{{organization|}}} |
 
{{#if: {{{organization|}}} |
 
;[[:Category:Organizations|Организация]]
 
;[[:Category:Organizations|Организация]]
:{{#switch:{{lc:{{{organization}}}}}
+
:{{#arraymap:{{{organization|}}}|,|@@@|{{#switch: {{lc:@@@}}                    <!--Temporary code for family property -->
| druids = [[Druid (group)|Druids]]
+
| ascalonian ghosts = [[Has organization::Ascalonian ghost|Ascalonian ghosts]] {{#set:Has family=Ascalonian ghost}}
| #default = [[{{{organization}}}]]
+
| bandits = [[Has organization::Bandit|Bandits]] {{#set:Has family=Bandit}}
}}}}{{#if: {{{warband|}}} | {{#ifeq:{{ucfirst:{{{race}}}}}|Charr|<!-- Only charr belong to warbands -->
+
| bloodstone ghosts = [[Has organization::Bloodstone ghost|Bloodstone ghosts]] {{#set:Has family=Bloodstone ghost}}
;[[Warband|Отряд]]
+
| celestial = [[Has organization::Celestial (group)|Celestials]] {{#set:Has family=Celestial (group)}}
:[[Is part of warband::{{#replace:{{{warband}}}| Warband|}} Warband]]
+
| corsairs = [[Has organization::Corsair|Corsairs]] {{#set:Has family=Corsair}}
}}}}{{ #if: {{{service|}}} |
+
| druids = [[Has organization::Druid (group)|Druids]] {{#set:Has family=Druid (group)}}
 +
| holographic dragon minions = [[Has organization::Holographic dragon minion|Holographic dragon minions]] {{#set:Has family=Holographic dragon minion}}
 +
| pirates = [[Has organization::Pirate|Pirates]] {{#set:Has family=Pirate}}
 +
| primeval ghosts = [[Has organization::Primeval ghost|Primeval ghosts]] {{#set:Has family=Primeval ghost}}
 +
| saltspray dragon = [[Has organization::Saltspray dragon|Saltspray dragons]] {{#set:Has family=Saltspray dragon}}
 +
| settlers = [[Has organization::Settler (group)|Settlers]] {{#set:Has family=Settler (group)}}
 +
| zintl = [[Has organization::Zintl (tribe)|Zintl]] {{#set:Has family=Zintl (tribe}}
 +
| #default = [[Has organization::{{ucfirst:@@@}}]] {{#set:Has family={{ucfirst:@@@}}}}
 +
}}|<br>}}}}{{#if: {{{service|}}} |
 
;[[Service|Услуги]]
 
;[[Service|Услуги]]
:{{#arraymap:{{{service|}}}|,|@@@|{{#switch: {{lc:@@@}} <!-- Parse multiple services then set properties. -->
+
:{{#arraymap:{{{service|}}}|,|@@@|{{#switch: {{lc:@@@}}
| renown heart        = [[Has service::Renown heart]]
+
| repeatable heart
| bandit crest collector
+
| renown heart npc
| crest collector      = [[Has service::Bandit Crest Collector]]
+
| renown heart        = [[Has service::Renown Heart|Renown Heart]]
| guild promoter      = [[Has service::Guild Promoter]]
+
| reinforce armor      = [[Has service::Reinforce Armor|Reinforce Armor]]
| guild registrar      = [[Has service::Guild Registrar]]
+
| bandit crest collector
| guild weaponsmith    = [[Has service::Guild Weaponsmith]]
+
| crest collector      = [[Has service::Bandit Crest Collector]]
| guild armorer        = [[Has service::Guild Armorer]]
+
| guild promoter      = [[Has service::Guild Promoter (historical)]]
| guild commendation  = [[Has service::Guild Commendation Trader]]
+
| guild registrar      = [[Has service::Guild Registrar]]
| trading post        = [[Has service::Trading post]]
+
| guild weaponsmith    = [[Has service::Guild Weaponsmith]]
| weaponsmith          = [[Has service::Weaponsmith (vendor)]]
+
| guild armorer        = [[Has service::Guild Armorer]]
| armorsmith          = [[Has service::Armorsmith (vendor)]]
+
| guild commendation  = [[Has service::Guild Commendation Trader]]
| karma merchant  
+
| trading post        = [[Has service::Trading Post]]
| karma vendor  
+
| weaponsmith          = [[Has service::Weaponsmith (vendor)|Weaponsmith]]
| karma                = [[Has service::Karma merchant]]
+
| armorsmith          = [[Has service::Armorsmith (vendor)|Armorsmith]]
| speed boons          = [[Has service::Speed boons]]
+
| karma merchant
| skill challenge
+
| karma vendor
| hero challenge      = [[Has service::Hero challenge]]
+
| karma                = [[Has service::Karma merchant]]
| renown heart       
+
| laurel merchant      = [[Has service::Laurel Merchant]]
| renown heart npc    = [[Has service::Renown heart NPC]]    
+
| living world merchant = [[Has service::Merchant|Living World Merchant]]
| repair  
+
| living world scout  = [[Has service::Scout|Living World Scout]]
| repairs              = [[Has service::Repairs]]
+
| speed boons          = [[Has service::Speed boons]]
| belcher's bluff      = [[Has service::Belcher's Bluff]]
+
| skill challenge
| activity            = [[Has service::Activity]]
+
| hero challenge      = [[Has service::Hero challenge]]
| master armorsmith    = [[Has service::Master armorsmith]]
+
| race organizer      = [[Has service::Race Organizer]]
| master artificer    = [[Has service::Master artificer]]
+
| repair
| master chef          = [[Has service::Master chef]]
+
| repairs              = [[Has service::Repairs]]
| master huntsman      = [[Has service::Master huntsman]]
+
| belcher's bluff      = [[Has service::Belcher's Bluff]]
| master jeweler      = [[Has service::Master jeweler]]
+
| activity            = [[Has service::Activity]]
| master leatherworker = [[Has service::Master leatherworker]]
+
| master armorsmith    = [[Has service::Master armorsmith]]
| master tailor        = [[Has service::Master tailor]]
+
| master artificer    = [[Has service::Master artificer]]
| master weaponsmith  = [[Has service::Master weaponsmith]]
+
| master chef          = [[Has service::Master chef]]
| #default            = [[Has service::{{ucfirst:@@@}}]]
+
| master huntsman      = [[Has service::Master huntsman]]
 +
| master jeweler      = [[Has service::Master jeweler]]
 +
| master leatherworker = [[Has service::Master leatherworker]]
 +
| master tailor        = [[Has service::Master tailor]]
 +
| master weaponsmith  = [[Has service::Master weaponsmith]]
 +
| guild                = [[Has service::Guild Services]]
 +
| master weaponsmith  = [[Has service::Proprietor]]
 +
| fishing supplies    = [[Has service::Fishing Supplies]]
 +
| mastery insight | mastery insight (path of fire) | mastery insight (end of dragons) = [[Has service::Mastery Insight]]
 +
| #default            = [[Has service::{{ucfirst:@@@}}]]
 
}} |<br>}}
 
}} |<br>}}
}} {{ #if: {{{goal|}}} |
+
}} {{#if: {{{goal|}}} |
;Часть
+
;Part of
:{{#arraymap: {{{goal}}}|\n|@@@|[[@@@]]|<br>}}
+
:{{#arraymap: {{{goal}}}|\n|@@@|[[Has NPC goal::@@@]]|<br>}}
 
}}
 
}}
 
</div>
 
</div>
{{#if: {{{map1|}}}{{#ifexist:File:{{PAGENAME}} location.jpg|exists}} |
+
{{#if: {{{gallery1|}}}{{ifimage|{{PAGENAME}} location.jpg|exists}}{{{coordinates|}}}{{{path|}}} |
{{{!}} class="expandable" style="width:100%"
+
{{{!}} style="width:100%"
{{!}} '''Карты'''
+
{{!}} '''Изображения'''
 
{{!}}- style="text-align:center;"
 
{{!}}- style="text-align:center;"
 
{{!}}
 
{{!}}
[[File:{{{map1|{{PAGENAME}} location.jpg}}}|250x160px]]
+
{{#if: {{{gallery1|}}}{{ifimage|{{PAGENAME}} location.jpg|exists}} | [[File:{{{gallery1|{{PAGENAME}} location.jpg}}}|250x200px]]
<p style="font-size:.9em;">{{{map1-text|Нажмите, чтобы увеличить}}}</p> {{   #if: {{{map2|}}} | [[File:{{{map2|}}}|250x160px]]
+
<p style="font-size:.9em;">{{{gallery1-text|Click to enlarge.}}}</p> }}{{#if: {{{gallery2|}}} | [[File:{{{gallery2|}}}|250x200px]]
<p style="font-size:.9em;">{{{map2-text|Нажмите, чтобы увеличить}}}</p> }}{{ #if: {{{map3|}}} | [[File:{{{map3|}}}|250x160px]]
+
<p style="font-size:.9em;">{{{gallery2-text|Click to enlarge.}}}</p> }}{{#if: {{{gallery3|}}} | [[File:{{{gallery3|}}}|250x200px]]
<p style="font-size:.9em;">{{{map3-text|Нажмите, чтобы увеличить}}}</p> }}{{ #if: {{{map4|}}} | [[File:{{{map4|}}}|250x160px]]
+
<p style="font-size:.9em;">{{{gallery3-text|Click to enlarge.}}}</p> }}{{#if: {{{gallery4|}}} | [[File:{{{gallery4|}}}|250x200px]]
<p style="font-size:.9em;">{{{map4-text|Нажмите, чтобы увеличить}}}</p> }}{{ #if: {{{map5|}}} | [[File:{{{map5|}}}|250x160px]]
+
<p style="font-size:.9em;">{{{gallery4-text|Click to enlarge.}}}</p> }}{{#if: {{{gallery5|}}} | [[File:{{{gallery5|}}}|250x200px]]
<p style="font-size:.9em;">{{{map5-text|Нажмите, чтобы увеличить}}}</p> }}
+
<p style="font-size:.9em;">{{{gallery5-text|Click to enlarge.}}}</p> }}{{#if: {{{coordinates|}}}{{{path|}}}{{{bounds|}}}
 +
| {{Infobox map | coordinates = {{{coordinates|}}} | path = {{{path|}}} | bounds = {{{bounds|}}} | localtiles = {{{localtiles|}}} | requires = {{{requires|{{{release|}}}}}} | icon = {{#var:icon|{{{icon|}}}}} }} }}
 
{{!}}}
 
{{!}}}
 
| {{clear}} }}
 
| {{clear}} }}
 
</div>{{#if:{{{description|}}}|
 
</div>{{#if:{{{description|}}}|
{{Quotation|Внутриигровое описание|[[Has game description::{{#arraymap:{{{description|}}}|,|@@@|@@@|&nbsp;•&nbsp;}}]] }} }}<!--
+
{{Quotation|In-game description|[[Has game description::{{#arraymap:{{{description|}}}|,|@@@|@@@|&nbsp;•&nbsp;}}]] }} }}<!--
 
AUTOCATEGORIZATION
 
AUTOCATEGORIZATION
 
-->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace -->
 
-->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace -->
 
           {{#ifeq: {{{categorize|y}}} | n | do not categorize | <!-- categorize --> }}
 
           {{#ifeq: {{{categorize|y}}} | n | do not categorize | <!-- categorize --> }}
 
           {{#switch: {{lc:{{{status|}}}}} | historical | unimplemented | future = do not categorize }}
 
           {{#switch: {{lc:{{{status|}}}}} | historical | unimplemented | future = do not categorize }}
          {{#ifeq: {{lc:{{{historical}}}}} | y | do not categorize }}<!-- legacy support -->
 
 
  | <!-- Do not categorize --> |
 
  | <!-- Do not categorize --> |
  {{#if:{{{race|}}}|
+
  {{#if: {{{race|}}} |
   {{#arraymap:{{{race|}}}|,|@@@|{{#switch: {{lc:@@@}} <!-- Address plural form -->
+
   {{#arraymap:{{{race|}}}|,|@@@|{{#switch: {{lc:@@@}}<!-- Address plural form -->
 +
  | aberrant = [[Category:Aberrant]]
 
   | asuran
 
   | asuran
 
   | asura = [[Category:Asura]]
 
   | asura = [[Category:Asura]]
 +
  | awakened = [[Category:Awakened]]
 
   | branded = [[Category:Branded]]
 
   | branded = [[Category:Branded]]
 +
  | chak = [[Category:Chak]]
 
   | charr = [[Category:Charr]]
 
   | charr = [[Category:Charr]]
   | deer = [[Category:Deer]]
+
   | choya = [[Category:Choya]]
 
   | djinn = [[Category:Djinn]]
 
   | djinn = [[Category:Djinn]]
 
   | dredge = [[Category:Dredge]]
 
   | dredge = [[Category:Dredge]]
 
   | dwarf = [[Category:Dwarves]]
 
   | dwarf = [[Category:Dwarves]]
 +
  | echo = [[Category:Echoes]]
 +
  | exalted = [[Category:Exalted]]
 +
  | fallen = [[Category:Fallen]]
 
   | fish = [[Category:Fish]]
 
   | fish = [[Category:Fish]]
 +
  | forged = [[Category:Forged]]
 +
  | fungus = [[Category:Fungi]]
 +
  | god = [[Category:Six Human Gods]]
 
   | grawl = [[Category:Grawl]]
 
   | grawl = [[Category:Grawl]]
 +
  | griffon (race) = [[Category:Griffons]]
 
   | harpy = [[Category:Harpies]]
 
   | harpy = [[Category:Harpies]]
 +
  | heket = [[Category:Heket]]
 
   | hylek = [[Category:Hylek]]
 
   | hylek = [[Category:Hylek]]
 +
  | iboga = [[Category:Iboga]]
 
   | icebrood = [[Category:Icebrood]]
 
   | icebrood = [[Category:Icebrood]]
 +
  | irukandji = [[Category:Irukandji]]
 +
  | jacaranda = [[Category:Jacaranda]]
 +
  | junundu = [[Category:Junundu]]
 +
  | kappa = [[Category:Kappa]]
 
   | karka = [[Category:Karka]]
 
   | karka = [[Category:Karka]]
 +
  | kirin = [[Category:Kirin]]
 
   | kodan = [[Category:Kodan]]
 
   | kodan = [[Category:Kodan]]
 
   | krait = [[Category:Krait]]
 
   | krait = [[Category:Krait]]
Строка 189: Строка 273:
 
   | jotun = [[Category:Jotun]]
 
   | jotun = [[Category:Jotun]]
 
   | largos = [[Category:Largos]]
 
   | largos = [[Category:Largos]]
  | mechanical = [[Category:Mechanicals]]
 
 
   | mordrem = [[Category:Mordrem]]
 
   | mordrem = [[Category:Mordrem]]
 +
  | mursaat = [[Category:Mursaat]]
 +
  | naga = [[Category:Naga]]
 
   | norn = [[Category:Norn]]
 
   | norn = [[Category:Norn]]
  | oakheart
 
 
   | plant = [[Category:Plants]]
 
   | plant = [[Category:Plants]]
 +
  | raptor (race) = [[Category:Raptors]]
 
   | risen = [[Category:Risen]]
 
   | risen = [[Category:Risen]]
 
   | skale = [[Category:Skale]]
 
   | skale = [[Category:Skale]]
 
   | skelk = [[Category:Skelk]]
 
   | skelk = [[Category:Skelk]]
 +
  | sloth = [[Category:Sloth]]
 
   | skritt = [[Category:Skritt]]
 
   | skritt = [[Category:Skritt]]
 +
  | spirit of the wild = [[Category:Spirits of the Wild]]
 +
  | snowman = [[Category:Snowmen]]
 
   | colossus = [[Category:Colossuses]]
 
   | colossus = [[Category:Colossuses]]
  | forgotten = [[Category:Forgotten]]
 
 
   | steam
 
   | steam
 
   | steam creature = [[Category:Steam creatures]]
 
   | steam creature = [[Category:Steam creatures]]
   | sylvari = [[Category:Sylvari]]  
+
   | sylvari = [[Category:Sylvari]]
 +
  | spirit (race) = [[Category:Spirits]]
 
   | tengu = [[Category:Tengu]]
 
   | tengu = [[Category:Tengu]]
  | undead = [[Category:Undead]]
 
 
   | halloween
 
   | halloween
 
   | halloween creature = [[Category:Halloween creatures]]
 
   | halloween creature = [[Category:Halloween creatures]]
  | pixel
 
  | pixel creature = [[Category:Pixel creatures]]
 
 
   | wintersday
 
   | wintersday
   | wintersday creature = [[Category:Wintersday creatures]]
+
   | wintersday toy = [[Category:Wintersday toys]]
 +
  | warden (race) = [[Category:Wardens (race)]]
 
   | critter
 
   | critter
 
   | ambient
 
   | ambient
 
   | ambient creature = [[Category:Ambient creatures]]
 
   | ambient creature = [[Category:Ambient creatures]]
   | various =  
+
  | object =  [[Category:Object NPCs]]
   | #default = [[Category:{{ucfirst:{{{race|}}}s}}]]
+
   | various = [[Category:NPCs with various races]]
 +
  | dragonvoid
 +
  | void = [[Category:Void]]
 +
  | unknown = [[Category:NPCs with unknown race]]
 +
   | #default = [[Category:{{ucfirst:@@@s}}]]
 
   }}|}}
 
   }}|}}
   | [[Category:NPCs with no race specified]] }}
+
   | [[Category:NPCs with unknown race]] }}
   {{#if: {{{organization|}}} | [[Category:{{{organization}}}]] }}
+
{{#if:{{{profession|}}}|
   {{#ifeq: {{lc:{{{goal|}}}}} | guild bounty | [[Category:Guild bounties]] }}
+
   {{#arraymap:{{{profession|}}}|,|@@@|{{#switch: {{lc:@@@}}
   {{#arraymap:{{{service|}}}|,|@@@|{{#switch:{{lc:@@@}} <!-- Parse multiple services then set categories. -->
+
  | tempest
     | renown heart              = [[Category:Renown heart NPCs]]
+
  | weaver
 +
  | catalyst
 +
  | elementalist = [[Category:Elementalist NPCs]]
 +
  | dragonhunter
 +
  | firebrand
 +
  | willbender
 +
  | guardian = [[Category:Guardian NPCs]]
 +
  | berserker
 +
  | spellbreaker
 +
  | bladesworn
 +
  | warrior = [[Category:Warrior NPCs]]
 +
  | herald
 +
  | renegade
 +
  | vindicator
 +
  | revenant = [[Category:Revenant NPCs]]
 +
  | druid
 +
  | soulbeast
 +
  | untamed
 +
  | ranger = [[Category:Ranger NPCs]]
 +
  | daredevil
 +
  | deadeye
 +
  | specter
 +
  | thief = [[Category:Thief NPCs]]
 +
  | scrapper
 +
  | holosmith
 +
  | mechanist
 +
  | engineer = [[Category:Engineer NPCs]]
 +
  | chronomancer
 +
  | mirage
 +
  | virtuoso
 +
  | mesmer = [[Category:Mesmer NPCs]]
 +
  | reaper
 +
  | scourge
 +
  | harbinger
 +
  | necromancer = [[Category:Necromancer NPCs]]
 +
  | monk = [[Category:Monk NPCs]]
 +
  | ritualist = [[Category:Ritualist NPCs]]
 +
  }}|}} }}
 +
  {{#if: {{{organization|}}} | {{#arraymap:{{{organization|}}}|,|@@@|{{#switch:{{lc:@@@}}
 +
    | celestial                  = [[Category:Celestials]]
 +
    | saltspray dragon          = [[Category:Saltspray dragons]]
 +
    | #default                  = [[Category:@@@]]
 +
  }}|}} }}
 +
   {{#if: {{{goal|}}} | {{#arraymap:{{{goal|}}}|,|@@@|{{#switch:{{lc:@@@}}
 +
    | personal story            = [[Category:Story characters]]
 +
    | guild bounty               = [[Category:Guild bounties]]
 +
  }}|}} }}
 +
   {{#if: {{{service|}}} | {{#arraymap:{{{service|}}}|,|@@@|{{#switch:{{lc:@@@}} <!-- Parse multiple services then set categories. -->
 +
     | activity                  = [[Category:Activity NPCs]]
 +
    | reinforce armor          = [[Category:Reinforce Armor NPCs]]
 +
    | bank                      = [[Category:Bankers]]
 +
    | belcher's bluff          = [[Category:Belcher's Bluff NPCs]]
 +
    | directions                = [[Category:Direction NPCs]]
 +
    | fishing supplies          = [[Category:Fishing Supplies]]
 
     | guild bank                = [[Category:Guild bankers]]
 
     | guild bank                = [[Category:Guild bankers]]
     | guild commendation  
+
     | guild commendation
 
     | guild commendation trader = [[Category:Guild commendation traders]]
 
     | guild commendation trader = [[Category:Guild commendation traders]]
     | bank                      = [[Category:Bankers]]
+
     | skill challenge
     | trading post              = [[Category:Trading Post NPCs]]
+
     | hero challenge            = [[Category:Hero challenges]]
     | karma merchant  
+
     | karma merchant
     | karma vendor  
+
     | karma vendor
 
     | karma                    = [[Category:Karma merchants]]
 
     | karma                    = [[Category:Karma merchants]]
    | repair
 
    | repairs                  = [[Category:Repairs]]
 
    | speed boons              = [[Category:Speed boon NPCs]]
 
    | skill challenge
 
    | hero challenge            = [[Category:Hero challenge NPCs]]       
 
    | belcher's bluff          = [[Category:Belcher's Bluff NPCs]]
 
    | activity                  = [[Category:Activity NPCs]]
 
 
     | master huntsman          = [[Category:Master huntsmen]]
 
     | master huntsman          = [[Category:Master huntsmen]]
    | living world              = [[Category:Living World NPCs]]
 
 
     | mystic forge              = [[Category:Mystic Forge NPCs]]
 
     | mystic forge              = [[Category:Mystic Forge NPCs]]
 +
    | repeatable heart
 +
    | renown heart              = [[Category:Renown heart NPCs]]
 +
    | repair
 +
    | repairs                  = [[Category:Repairs]]
 +
    | skirmish merchant        = [[Category:Skirmish Merchants]]
 +
    | speed boons              = [[Category:Speed boon NPCs]]
 +
    | trading post              = [[Category:Trading Post NPCs]]
 +
    | ability-point reset merchant
 +
    | arena proprietor
 +
    | basic decorations
 +
    | dragon arena
 +
    | guild enhancements
 +
    | guild initiative notary
 +
    | guild mission
 +
    | guild miniature merchant
 +
    | guild weaponsmith
 +
    | heroics notary
 +
    | level 80 mentor
 +
    | ley line crystal merchant
 +
    | living world
 +
    | living world merchant
 +
    | market proprietor
 +
    | mine proprietor
 +
    | mining boost
 +
    | rally event
 +
    | resonance broker
 +
    | tavern proprietor
 +
    | treasury
 +
    | war materials
 +
    | war room proprietor
 +
    | workshop proprietor
 +
    | world ability master      = <!-- no category necessary -->
 +
    | mastery insight
 +
    | mastery insight (path of fire)
 +
    | mastery insight (end of dragons) = [[Category:Mastery insights]]
 
     | #default                  = [[Category:{{ucfirst:@@@}}s]]
 
     | #default                  = [[Category:{{ucfirst:@@@}}s]]
   }}|}}
+
   }}|}} }}
   {{#if: {{{race|}}} | {{#set:Has family={{{race}}}}} }}{{#if: {{{organization|}}} | {{#set:Has family={{{organization}}}}} }}<!--Temporary code for family property -->
+
   {{#if: {{{coordinates|}}}
}}<noinclude>
+
    | {{#ifexpr: {{#len: {{{coordinates|}}} }} < 1000
=== Parameters ===
+
      | {{#set:
; name : Optional. Defaults the name of the article (<code><nowiki>{{PAGENAME}}</nowiki></code>).
+
          | Has x coordinate = {{#replace:{{#explode: {{{coordinates|}}} |,|0}}|[|}}
; description : Optional. The description of the abilites of the NPC, listed under the health bar. Use a comma-separated list of the abilities.
+
          | Has y coordinate = {{#replace:{{#explode: {{{coordinates|}}} |,|1}}|]|}}
; icon : Optional. The creature icon. If no value is set the icon defaults to showing an icon chosen by the '''service''' parameter. If that too is unspecified, the icon is hidden.
+
        }}
; image : Optional. The NPC image should not include any text. Defaults to the page name (<code><nowiki>{{PAGENAME}}.jpg</nowiki></code>).
+
      }}
; race : Required. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, use "Various".
+
    | {{#if: {{{path|}}}
; location : Required. The area(s) or zone(s) the NPC can be found. Use a comma-separated list of locations.
+
      | {{#ifexpr: {{#len: {{{path|}}} }} < 1000
; organization : Optional. The organization/affiliation the NPC belongs to.
+
          | {{#set:
; level : Optional. The level of the NPC.
+
            | Has x coordinate = {{#replace:{{#explode: {{{path|}}} |,|0}}|[|}}
; rank : Optional. Should be one of the following: normal, veteran, elite, champion, legendary.
+
            | Has y coordinate = {{#replace:{{#explode: {{{path|}}} |,|1}}|]|}}
; profession : Optional. The profession of the NPC. Use a comma-seperated list if more than one profession is possible.
+
            }}
; service : The service or services provided by the NPC. Use a comma-seperated list of services.
+
        }}
; goal : Optional. Specific events or tasks this NPC is affiliated with. If entering multiple goals, put each new goal on a new line.
+
      }}
; map1 ... map5 : Optional. Map images of the NPC's location.
+
  }}
; map1-text ... map5-text : Optional. Map image descriptions.
+
  {{#switch: {{lc:{{{service|}}}}}
; categorize : Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
+
  | hero challenge = {{#set: | Has hero challenge id = {{{id|-1-999}}} }}
; status : Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).
+
  | mastery insight | mastery insight (central tyria) | mastery insight (heart of thorns) | mastery insight (path of fire) | mastery insight (icebrood saga) | mastery insight (end of dragons) = {{#set: | Has mastery id = {{{id|-999}}} }}
; historical : Optional. (legacy parameter). Duplicates function of setting <code>status = historical</code>. ''y'' displays the {{tl|historical content}} notice.
+
  }}
 
+
  {{#ifeq: {{{image}}} | no
 +
  | <!-- not required -->
 +
  | {{#ifexist: File:{{#if:{{{image|}}}|{{{image}}}|{{#replace:{{BASEPAGENAME}}|:|-}}.jpg}}<!--dealing with empty parameter as if it didn't exist-->| <!-- OK --> | [[Category:NPCs missing a screenshot]] }}
 +
  }}
 +
}}<!--
 +
--></includeonly> <!-- this trailing space is a whitespace fix --><noinclude>
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
 
{{NPC infobox
 
{{NPC infobox
 
| name =  
 
| name =  
| description =
 
 
| image =  
 
| image =  
 +
| random =
 
| location =  
 
| location =  
 +
| coordinates =
 
| race =  
 
| race =  
 
| organization =  
 
| organization =  
Строка 277: Строка 453:
 
| service =  
 
| service =  
 
| goal =  
 
| goal =  
| map1 =  
+
| gallery1...gallery5 =  
| map1-text =
+
| gallery1-text...gallery5-text =  
| map2 =
+
| requires =  
| map2-text =
+
| status =  
| map3 =
+
| status notes =  
| map3-text =
 
| map4 =
 
| map4-text =  
 
| map5 =  
 
| map5-text =  
 
| historical =  
 
 
}}</pre>
 
}}</pre>
  
== Example ==
+
=== Parameters ===
 +
; name : Optional. Only include if the name of the NPC differs from the article name. Defaults the name of the article: <code><nowiki>{{PAGENAME}}</nowiki></code>.
 +
; icon : Optional. Only include if the NPC has a unique icon. If no value is set the icon defaults to showing an icon chosen by the '''service''' parameter. If that too is unspecified, the icon is hidden.
 +
; image : Optional. Defaults to the page name: <code><nowiki>{{PAGENAME}}.jpg</nowiki></code>. Set to <code>no</code> to disable the image. Note that the NPC screenshot should not include any text. The [[Guild Wars 2 Wiki:Projects/Shared Model Project|Shared Model Project]] might be used for any already uploaded model.
 +
; random : Optional. Set to <code>yes</code> if the NPC's appearance changes randomly and in cases where the NPC might use models varied with each race. Commonly used for many generic NPCs and merchants. Defaults to no.
 +
; location : Required. The area(s) or zone(s) the NPC can be found. Use a semi-colon separated list of locations.
 +
; coordinates / path / bounds : Optional. The X and Y coordinates to the NPCs location. Displays and interactive map with a marker of the NPC's location. EG <code>[12345,31321]</code>. See {{tl|Infobox map}} for more details.
 +
; localtiles : Optional. If set, uses local wiki tiles instead of the API raster tiles. See [[:Category:Map raster tiles]].
 +
; race : Required. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, either list them all, comma-separated, or use "Various" instead of a huge list. For objects that are coded as NPCs in order to perform certain functions, use "object".
 +
; organization : Optional. The organization/affiliation the NPC belongs to.
 +
; level : Optional. The level or levels of the NPC.
 +
; rank : Optional. Should be one of the following: veteran, elite, champion, legendary or epic. Defaults to normal.
 +
; profession : Optional. The profession of the NPC. Use a comma-separated list if more than one profession is possible.
 +
; service : The [[service]] or services provided by the NPC. Use a comma-separated list of services. Options:
 +
:: armorsmith
 +
:: reinforce armor
 +
:: bandit crest collector
 +
:: collections instructor
 +
:: dungeon information
 +
:: dungeon merchant
 +
:: fishmonger
 +
:: fishing supplies
 +
:: gift
 +
:: guild commendation trader
 +
:: guild promoter
 +
:: guild armorer
 +
:: guild weaponsmith
 +
:: weaponsmith
 +
:: karma
 +
:: ley line crystal merchant
 +
:: cultural armorsmith
 +
:: cultural weaponsmith
 +
:: master armorsmith
 +
:: master artificer
 +
:: master chef
 +
:: master huntsman
 +
:: master jeweler
 +
:: master leatherworker
 +
:: master scribe
 +
:: master tailor
 +
:: master weaponsmith
 +
:: merchant
 +
:: race organizer
 +
:: repairs
 +
:: renown heart
 +
:: repeatable heart
 +
:: skill challenge
 +
:: hero challenge
 +
:: trading post
 +
:: transport facilitator
 +
:: living world
 +
:: living story
 +
:: living story scout
 +
:: living story waypoint
 +
:: living story collector
 +
:: living world merchant
 +
:: geode merchant
 +
:: belcher's bluff
 +
:: activity
 +
:: mystic forge attendant
 +
:: guild claiming
 +
:: guild
 +
:: proprietor
 +
:: mastery insight (path of firs)
 +
:: mastery insight (end of dragons)
 +
:: dragon arena
 +
; goal : Optional. Specific hero challenge events or Renown Heart tasks this NPC is affiliated with. If entering multiple goals, put each new goal on a new line.
 +
; gallery1 ... gallery5 : Optional. Images related to the NPC. The first image defaults to <code><nowiki>{{PAGENAME}}</nowiki> location.jpg</code>.
 +
; gallery1-text ... gallery5-text : Optional. Image descriptions.
 +
; categorize : Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
 +
; status : Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", and "unimplemented".
 +
; status notes : Optional. Allows provision of additional reason for the given status.
 +
; status date : Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
 +
; requires : Optional. The expansion or living world season required to access the content. Displays a notice of the required release. See {{tl|infobox requires}} for options.
 +
 
 +
=== Example ===
 
<pre>
 
<pre>
 
{{NPC infobox
 
{{NPC infobox
| name = Caithe
 
| description = Firstborn, Steals Boons, Immobilizes Foes
 
 
| image = Caithe 02 concept art.jpg
 
| image = Caithe 02 concept art.jpg
 +
| location = Maguuma Jungle; The Grove; Divinity's Reach
 
| race = Sylvari
 
| race = Sylvari
 
| organization = Destiny's Edge
 
| organization = Destiny's Edge
Строка 301: Строка 545:
 
| rank = Legendary
 
| rank = Legendary
 
| profession = Thief
 
| profession = Thief
| service = Jeweler, Weaponsmith
+
| service = Guild Armorer
| location = Maguuma Jungle, The Grove, Divinity's Reach
+
| gallery1 = User Lucian Shadowborn map.jpg
| map1 = User Lucian Shadowborn map.jpg
+
| gallery1-text = Location in Magumma Jungle
| map1-text = Location in Magumma Jungle
+
| gallery2 = User Lucian Shadowborn map.jpg
| map2 = User Lucian Shadowborn map.jpg
+
| gallery2-text = Location in The Grove
| map2-text = Location in The Grove
+
| gallery3 = User Lucian Shadowborn map.jpg
| map3 = User Lucian Shadowborn map.jpg
+
| gallery3-text = Location in Divinity's Reach
| map3-text = Location in Divinity's Reach
 
 
}}
 
}}
 
</pre>
 
</pre>
Строка 314: Строка 557:
 
{{NPC infobox
 
{{NPC infobox
 
| name = Caithe
 
| name = Caithe
| description = Firstborn, Steals Boons, Immobilizes Foes
+
| location = Maguuma Jungle; The Grove; Divinity's Reach
 
| image = Caithe 02 concept art.jpg
 
| image = Caithe 02 concept art.jpg
 +
| random = yes
 
| race = Sylvari
 
| race = Sylvari
 
| organization = Destiny's Edge
 
| organization = Destiny's Edge
 
| level = 80
 
| level = 80
| rank = Legendary
+
| rank = Elite, Legendary
 
| profession = Thief
 
| profession = Thief
| service = Jeweler, Weaponsmith
+
| service = Guild Armorer
| location = Maguuma Jungle, The Grove, Divinity's Reach
+
| gallery1 = User Lucian Shadowborn map.jpg
| map1 = User Lucian Shadowborn map.jpg
+
| gallery1-text = Location in Magumma Jungle
| map1-text = Location in Magumma Jungle
+
| gallery2 = User Lucian Shadowborn map.jpg
| map2 = User Lucian Shadowborn map.jpg
+
| gallery2-text = Location in The Grove
| map2-text = Location in The Grove
+
| gallery3 = User Lucian Shadowborn map.jpg
| map3 = User Lucian Shadowborn map.jpg
+
| gallery3-text = Location in Divinity's Reach
| map3-text = Location in Divinity's Reach
 
 
}}
 
}}
 
 
{{clear}}
 
{{clear}}
  

Текущая версия на 08:49, 2 октября 2022

Usage[править]

{{NPC infobox
| name = 
| image = 
| random = 
| location = 
| coordinates = 
| race = 
| organization = 
| level = 
| rank = 
| profession = 
| service = 
| goal = 
| gallery1...gallery5 = 
| gallery1-text...gallery5-text = 
| requires = 
| status = 
| status notes = 
}}

Parameters[править]

name 
Optional. Only include if the name of the NPC differs from the article name. Defaults the name of the article: {{PAGENAME}}.
icon 
Optional. Only include if the NPC has a unique icon. If no value is set the icon defaults to showing an icon chosen by the service parameter. If that too is unspecified, the icon is hidden.
image 
Optional. Defaults to the page name: {{PAGENAME}}.jpg. Set to no to disable the image. Note that the NPC screenshot should not include any text. The Shared Model Project might be used for any already uploaded model.
random 
Optional. Set to yes if the NPC's appearance changes randomly and in cases where the NPC might use models varied with each race. Commonly used for many generic NPCs and merchants. Defaults to no.
location 
Required. The area(s) or zone(s) the NPC can be found. Use a semi-colon separated list of locations.
coordinates / path / bounds 
Optional. The X and Y coordinates to the NPCs location. Displays and interactive map with a marker of the NPC's location. EG [12345,31321]. See {{Infobox map}} for more details.
localtiles 
Optional. If set, uses local wiki tiles instead of the API raster tiles. See Category:Map raster tiles.
race 
Required. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, either list them all, comma-separated, or use "Various" instead of a huge list. For objects that are coded as NPCs in order to perform certain functions, use "object".
organization 
Optional. The organization/affiliation the NPC belongs to.
level 
Optional. The level or levels of the NPC.
rank 
Optional. Should be one of the following: veteran, elite, champion, legendary or epic. Defaults to normal.
profession 
Optional. The profession of the NPC. Use a comma-separated list if more than one profession is possible.
service 
The service or services provided by the NPC. Use a comma-separated list of services. Options:
armorsmith
reinforce armor
bandit crest collector
collections instructor
dungeon information
dungeon merchant
fishmonger
fishing supplies
gift
guild commendation trader
guild promoter
guild armorer
guild weaponsmith
weaponsmith
karma
ley line crystal merchant
cultural armorsmith
cultural weaponsmith
master armorsmith
master artificer
master chef
master huntsman
master jeweler
master leatherworker
master scribe
master tailor
master weaponsmith
merchant
race organizer
repairs
renown heart
repeatable heart
skill challenge
hero challenge
trading post
transport facilitator
living world
living story
living story scout
living story waypoint
living story collector
living world merchant
geode merchant
belcher's bluff
activity
mystic forge attendant
guild claiming
guild
proprietor
mastery insight (path of firs)
mastery insight (end of dragons)
dragon arena
goal 
Optional. Specific hero challenge events or Renown Heart tasks this NPC is affiliated with. If entering multiple goals, put each new goal on a new line.
gallery1 ... gallery5 
Optional. Images related to the NPC. The first image defaults to {{PAGENAME}} location.jpg.
gallery1-text ... gallery5-text 
Optional. Image descriptions.
categorize 
Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
status 
Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", and "unimplemented".
status notes 
Optional. Allows provision of additional reason for the given status.
status date 
Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
requires 
Optional. The expansion or living world season required to access the content. Displays a notice of the required release. See {{infobox requires}} for options.

Example[править]

{{NPC infobox
| image = Caithe 02 concept art.jpg
| location = Maguuma Jungle; The Grove; Divinity's Reach
| race = Sylvari
| organization = Destiny's Edge
| level = 80
| rank = Legendary
| profession = Thief
| service = Guild Armorer
| gallery1 = User Lucian Shadowborn map.jpg
| gallery1-text = Location in Magumma Jungle
| gallery2 = User Lucian Shadowborn map.jpg
| gallery2-text = Location in The Grove
| gallery3 = User Lucian Shadowborn map.jpg
| gallery3-text = Location in Divinity's Reach
}}


Caithe

Caithe 02 concept art.jpg

(Внешний вид этого персонажа может меняться случайным образом.)
Раса
Sylvari
Профессия
Thief
Уровень
80
Ранг
Elite
Legendary
Локация
Maguuma Jungle; The Grove; Divinity's Reach
Организация
Destiny's Edge
Услуги
Guild Armorer
Изображения

User Lucian Shadowborn map.jpg

Location in Magumma Jungle

User Lucian Shadowborn map.jpg

Location in The Grove

User Lucian Shadowborn map.jpg

Location in Divinity's Reach

See also[править]