Редактирование: Шаблон:NPC infobox

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск

Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.

Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.

На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.

Текущая версия Ваш текст
Строка 1: Строка 1:
<includeonly><!--
+
{{infobox status|{{{status|{{#ifeq:{{{historical|n}}}|y|historical}} }}} }}<!--
-->{{#set: Has context=NPC}}<!-- Default properties for the type of page
+
 
-->{{infobox status|{{{status|}}}|{{{status notes|}}}|date={{{status date|}}} }}<!--
+
-->{{#set:Has game context=NPC}}<!-- Default properties for the type of page
-->{{infobox requires|{{{requires|}}} }}<!--
 
 
--><div class="infobox npc">
 
--><div class="infobox npc">
 
{{#if: {{{icon|}}}
 
{{#if: {{{icon|}}}
   | <div class="icon">[[Has game icon::File:{{{icon}}}|40x40px]]</div>
+
   | <div class="icon">[[File:{{{icon}}}|40x40px]]</div>
 
   | {{#if: {{{service|}}}
 
   | {{#if: {{{service|}}}
     | {{#vardefine:first service|{{#explode:{{{service}}}|,|0}}}}<!-- grab the first item in the list for the icon
+
     | {{#arraymap:{{{service}}}|,|@@@|{{#if: {{#var:icon|}} || {{#vardefine:icon|@@@}} }}}}<!-- grab the first item in the list for the icon
  -->{{#vardefine:icon|{{#switch: {{lc:{{#var:first service}}}}
+
--><div class="icon">[[File:{{#switch: {{lc:{{#var:icon|}}}}
         | armorsmith                = Armorsmith.png
+
         | renown heart          = Renown heart NPC
         | reinforce armor          = Reinforce Armor.png
+
         | armorsmith            = Armorsmith
 
         | crest collector
 
         | crest collector
         | bandit crest collector   = Bandit Crest Collector.png
+
         | bandit crest collector = Bandit Crest Collector
         | collections instructor   = Basic Collections.png
+
         | collections instructor = Basic Collections
         | dungeon information       = Dungeon (map icon).png
+
         | dungeon merchant       = Dungeon Merchant
        | dungeon merchant          = Dungeon Merchant.png
 
        | fishmonger                = Merchant.png
 
        | fishing supplies          = Merchant.png
 
 
         | gift
 
         | gift
         | gift exchange             = Peppermint.png
+
         | gift exchange         = Peppermint
        | guild armorer            = Guild Armorer.png
+
         | guild commendation trader = Guild Commendation Trainer (map icon)
         | guild commendation trader = Guild Commendation Trainer (map icon).png
+
         | guild armorer
         | guild promoter            = Guild Commendation Trader.png
+
         | guild weaponsmith     = Guild vendor
         | guild weaponsmith         = Guild Weaponsmith.png
+
         | weaponsmith           = Weaponsmith
         | weaponsmith               = Weaponsmith.png
 
 
         | karma merchant
 
         | karma merchant
 
         | karma vendor
 
         | karma vendor
         | karma                     = Karma Merchant.png
+
         | karma                 = Karma merchant
        | ley line crystal merchant = Ley Line Crystal.png
+
         | cultural armorsmith   = Cultural armorsmith
         | cultural armorsmith       = Cultural Armorsmith.png
+
         | cultural weaponsmith   = Karma weaponsmith
         | cultural weaponsmith     = Cultural Weaponsmith.png
+
         | master armorsmith     = Master Armorsmith
         | master armorsmith         = Master Armorsmith.png
+
         | master artificer       = Master Artificer
         | master artificer         = Master Artificer.png
+
         | master chef           = Master Chef
         | master chef               = Master Chef.png
+
         | master huntsman       = Master Huntsman
         | master huntsman           = Master Huntsman.png
+
         | master jeweler         = Master Jeweler
         | master jeweler           = Master Jeweler.png
+
         | master leatherworker   = Master Leatherworker
         | master leatherworker     = Master Leatherworker.png
+
         | master tailor         = Master Tailor
        | master scribe            = Master Scribe.png
+
         | master weaponsmith     = Master Weaponsmith
         | master tailor             = Master Tailor.png
+
         | merchant            
         | master weaponsmith       = Master Weaponsmith.png
+
         | event merchant         = Merchant
        | mount rental              = <!-- none -->
+
         | repairs               = Repairs  
        | 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.png
+
         | hero challenge         = Hero challenge
         | trading post             = Trading post.png
+
         | trading post           = Trading post
        | transport facilitator    = Transport Facilitator (map icon).png
 
 
         | living world
 
         | living world
 
         | living story
 
         | living story
         | ls                       = Living Story (map icon).png
+
         | ls                     = Living Story (map icon)
 
         | living story scout
 
         | living story scout
 
         | living world scout
 
         | living world scout
         | ls scout                 = Living Story Scout.png
+
         | ls scout               = Living Story Scout
 
         | living story waypoint
 
         | living story waypoint
 
         | ls waypoint
 
         | ls waypoint
         | ls wp                     = Living Story waypoint.png
+
         | ls wp                 = Living Story waypoint
 
         | living story collector
 
         | living story collector
         | ls collector             = Living Story Collector.png
+
         | ls collector           = Living Story Collector
         | geode merchant
+
         | geode merchant        = Merchant tier 1
         | zephyrite merchant        = Tier 01 Zephyrite Merchant (map icon).png
+
         | belcher's bluff       = Belcher's Bluff (map icon)
         | belcher's bluff           = Belcher's Bluff (map icon).png
+
         | activity               = Activity (map icon)
         | activity                 = Activity (map icon).png
+
         | mystic forge attendant = Mystic Forge
         | mystic forge attendant   = Mystic Forge.png
+
         | guild claiming         = Blank
         | guild claiming           = Blank.png
+
         | #default               = {{#ifexist: File:{{#var:icon}}.png|{{#var:icon}}|Skill}}
        | guild                    = Guild Services.png
+
       }}.png|40x40px]]</div>
        | 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">
{{#ifeq:{{{image}}}|no|<!-- Not visible or necessary-->|<p class="image_wrapper">{{#if:{{{image|}}}
+
<p class="image_wrapper">{{#if:{{{image|}}}
  | [[Has appearance::File:{{{image}}}|240x300px]]
+
  | {{#ifeq:{{{image}}}|no|{{clear}}<!-- Not visible or necessary-->| [[Has appearance::File:{{{image}}}|240x300px]] }}
   | {{#vardefine:default image|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.jpg}} {{#if: {{ifimage|{{#var:default image}}|exists}}
+
   | {{#vardefine:default|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.jpg}} {{#ifexist:{{#var:default}} <!-- Default file name to display -->
         | [[Has appearance::{{#var:default image}}|240x300px]]
+
         | [[Has appearance::{{#var:default}}|240x300px]]
         | [[{{#var:default image}}|Upload an image of this NPC.]]<!-- Red link to file upload page -->
+
         | [[{{#var:default}}|Upload an image of this NPC.]] <!-- Red link to file upload page -->
 
     }}
 
     }}
}}</p>}}{{#switch:{{lc:{{{random|no}}}}}|y|yes=<center><small>(Внешний вид этого персонажа может меняться случайным образом.)</small></center>}}
+
}}
{{#switch: {{lc:{{{race|}}}}}
+
</p>
| 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|}}}|,|@@@|{{#switch:{{lc:@@@}}
+
:{{#arraymap:{{{race|}}}|,|@@@|{{#ifeq:{{lc:@@@}}|various|Various|[[Has race::{{ucfirst:@@@}}]]}}
| 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}}}|,|@@@|{{#switch:{{lc:@@@}}
+
:{{#arraymap: {{{profession}}}|,|@@@|[[Is for profession::{{ucfirst:@@@}}]]|<br>}}
| monk = [[Monk (lore)|Monk]]
+
}} {{#ifeq: {{{level|0}}} | 0 | {{#set:Has NPC level=0}} |
| 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|Ранг]]
:{{#arraymap: {{{rank}}}|,|@@@|{{#switch:{{lc:@@@}}
+
:[[Has NPC rank::{{#switch:{{lc:{{{rank}}}}}
| critter
+
| critter
| ambient
+
| ambient
| ambient creature = [[Has NPC rank::Ambient]]
+
| ambient creature = Ambient
| bronze
+
| bronze
| vet
+
| veteran = Veteran
| veteran = [[Has NPC rank::Veteran]]
+
| silver
| silver
+
| elite = Elite
| elite = [[Has NPC rank::Elite]]
+
| gold
| champ
+
| champion = Champion
| champion
+
| purple
| gold = [[Has NPC rank::Champion]]
+
| legendary = Legendary
| purple
+
| epic = Epic
| legendary = [[Has NPC rank::Legendary]]
+
| basic
| epic
+
| normal
| world boss = [[Has NPC rank::Epic]]
+
| #default = Normal
| basic
+
}}]]|<!--default if {rank} not set-->{{#set:Has NPC rank=Normal}}}}
| normal
+
{{infobox location| {{{location|}}} }}
| #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|Организация]]
:{{#arraymap:{{{organization|}}}|,|@@@|{{#switch: {{lc:@@@}}                    <!--Temporary code for family property -->
+
:{{#switch:{{lc:{{{organization}}}}}
| ascalonian ghosts = [[Has organization::Ascalonian ghost|Ascalonian ghosts]] {{#set:Has family=Ascalonian ghost}}
+
| druids = [[Druid (group)|Druids]]
| bandits = [[Has organization::Bandit|Bandits]] {{#set:Has family=Bandit}}
+
| #default = [[{{{organization}}}]]
| bloodstone ghosts = [[Has organization::Bloodstone ghost|Bloodstone ghosts]] {{#set:Has family=Bloodstone ghost}}
+
}}}}{{#if: {{{warband|}}} | {{#ifeq:{{ucfirst:{{{race}}}}}|Charr|<!-- Only charr belong to warbands -->
| celestial = [[Has organization::Celestial (group)|Celestials]] {{#set:Has family=Celestial (group)}}
+
;[[Warband|Отряд]]
| corsairs = [[Has organization::Corsair|Corsairs]] {{#set:Has family=Corsair}}
+
:[[Is part of warband::{{#replace:{{{warband}}}| Warband|}} Warband]]
| druids = [[Has organization::Druid (group)|Druids]] {{#set:Has family=Druid (group)}}
+
}}}}{{ #if: {{{service|}}} |
| 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:@@@}}
+
:{{#arraymap:{{{service|}}}|,|@@@|{{#switch: {{lc:@@@}} <!-- Parse multiple services then set properties. -->
| repeatable heart
+
| renown heart        = [[Has service::Renown heart]]
| renown heart npc
+
| bandit crest collector
| renown heart        = [[Has service::Renown Heart|Renown Heart]]
+
| crest collector      = [[Has service::Bandit Crest Collector]]
| reinforce armor      = [[Has service::Reinforce Armor|Reinforce Armor]]
+
| guild promoter      = [[Has service::Guild Promoter]]
| bandit crest collector
+
| guild registrar      = [[Has service::Guild Registrar]]
| crest collector      = [[Has service::Bandit Crest Collector]]
+
| guild weaponsmith    = [[Has service::Guild Weaponsmith]]
| guild promoter      = [[Has service::Guild Promoter (historical)]]
+
| guild armorer        = [[Has service::Guild Armorer]]
| guild registrar      = [[Has service::Guild Registrar]]
+
| guild commendation  = [[Has service::Guild Commendation Trader]]
| guild weaponsmith    = [[Has service::Guild Weaponsmith]]
+
| trading post        = [[Has service::Trading post]]
| guild armorer        = [[Has service::Guild Armorer]]
+
| weaponsmith          = [[Has service::Weaponsmith (vendor)]]
| guild commendation  = [[Has service::Guild Commendation Trader]]
+
| armorsmith          = [[Has service::Armorsmith (vendor)]]
| trading post        = [[Has service::Trading Post]]
+
| karma merchant  
| weaponsmith          = [[Has service::Weaponsmith (vendor)|Weaponsmith]]
+
| karma vendor  
| armorsmith          = [[Has service::Armorsmith (vendor)|Armorsmith]]
+
| karma                = [[Has service::Karma merchant]]
| karma merchant
+
| speed boons          = [[Has service::Speed boons]]
| karma vendor
+
| skill challenge
| karma                = [[Has service::Karma merchant]]
+
| hero challenge      = [[Has service::Hero challenge]]
| laurel merchant      = [[Has service::Laurel Merchant]]
+
| renown heart       
| living world merchant = [[Has service::Merchant|Living World Merchant]]
+
| renown heart npc    = [[Has service::Renown heart NPC]]    
| living world scout  = [[Has service::Scout|Living World Scout]]
+
| repair  
| speed boons          = [[Has service::Speed boons]]
+
| repairs              = [[Has service::Repairs]]
| skill challenge
+
| belcher's bluff      = [[Has service::Belcher's Bluff]]
| hero challenge      = [[Has service::Hero challenge]]
+
| activity            = [[Has service::Activity]]
| race organizer      = [[Has service::Race Organizer]]
+
| master armorsmith    = [[Has service::Master armorsmith]]
| repair
+
| master artificer    = [[Has service::Master artificer]]
| repairs              = [[Has service::Repairs]]
+
| master chef          = [[Has service::Master chef]]
| belcher's bluff      = [[Has service::Belcher's Bluff]]
+
| master huntsman      = [[Has service::Master huntsman]]
| activity            = [[Has service::Activity]]
+
| master jeweler      = [[Has service::Master jeweler]]
| master armorsmith    = [[Has service::Master armorsmith]]
+
| master leatherworker = [[Has service::Master leatherworker]]
| master artificer    = [[Has service::Master artificer]]
+
| master tailor        = [[Has service::Master tailor]]
| master chef          = [[Has service::Master chef]]
+
| master weaponsmith  = [[Has service::Master weaponsmith]]
| master huntsman      = [[Has service::Master huntsman]]
+
| #default            = [[Has service::{{ucfirst:@@@}}]]
| 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|@@@|[[Has NPC goal::@@@]]|<br>}}
+
:{{#arraymap: {{{goal}}}|\n|@@@|[[@@@]]|<br>}}
 
}}
 
}}
 
</div>
 
</div>
{{#if: {{{gallery1|}}}{{ifimage|{{PAGENAME}} location.jpg|exists}}{{{coordinates|}}}{{{path|}}} |
+
{{#if: {{{map1|}}}{{#ifexist:File:{{PAGENAME}} location.jpg|exists}} |
{{{!}} style="width:100%"
+
{{{!}} class="expandable" style="width:100%"
{{!}} '''Изображения'''
+
{{!}} '''Карты'''
 
{{!}}- style="text-align:center;"
 
{{!}}- style="text-align:center;"
 
{{!}}
 
{{!}}
{{#if: {{{gallery1|}}}{{ifimage|{{PAGENAME}} location.jpg|exists}} | [[File:{{{gallery1|{{PAGENAME}} location.jpg}}}|250x200px]]
+
[[File:{{{map1|{{PAGENAME}} location.jpg}}}|250x160px]]
<p style="font-size:.9em;">{{{gallery1-text|Click to enlarge.}}}</p> }}{{#if: {{{gallery2|}}} | [[File:{{{gallery2|}}}|250x200px]]
+
<p style="font-size:.9em;">{{{map1-text|Нажмите, чтобы увеличить}}}</p> {{   #if: {{{map2|}}} | [[File:{{{map2|}}}|250x160px]]
<p style="font-size:.9em;">{{{gallery2-text|Click to enlarge.}}}</p> }}{{#if: {{{gallery3|}}} | [[File:{{{gallery3|}}}|250x200px]]
+
<p style="font-size:.9em;">{{{map2-text|Нажмите, чтобы увеличить}}}</p> }}{{ #if: {{{map3|}}} | [[File:{{{map3|}}}|250x160px]]
<p style="font-size:.9em;">{{{gallery3-text|Click to enlarge.}}}</p> }}{{#if: {{{gallery4|}}} | [[File:{{{gallery4|}}}|250x200px]]
+
<p style="font-size:.9em;">{{{map3-text|Нажмите, чтобы увеличить}}}</p> }}{{ #if: {{{map4|}}} | [[File:{{{map4|}}}|250x160px]]
<p style="font-size:.9em;">{{{gallery4-text|Click to enlarge.}}}</p> }}{{#if: {{{gallery5|}}} | [[File:{{{gallery5|}}}|250x200px]]
+
<p style="font-size:.9em;">{{{map4-text|Нажмите, чтобы увеличить}}}</p> }}{{ #if: {{{map5|}}} | [[File:{{{map5|}}}|250x160px]]
<p style="font-size:.9em;">{{{gallery5-text|Click to enlarge.}}}</p> }}{{#if: {{{coordinates|}}}{{{path|}}}{{{bounds|}}}
+
<p style="font-size:.9em;">{{{map5-text|Нажмите, чтобы увеличить}}}</p> }}
| {{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|In-game description|[[Has game description::{{#arraymap:{{{description|}}}|,|@@@|@@@|&nbsp;•&nbsp;}}]] }} }}<!--
+
{{Quotation|Внутриигровое описание|[[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]]
   | choya = [[Category:Choya]]
+
   | deer = [[Category:Deer]]
 
   | 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]]
Строка 273: Строка 189:
 
   | 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 toy = [[Category:Wintersday toys]]
+
   | wintersday creature = [[Category:Wintersday creatures]]
  | warden (race) = [[Category:Wardens (race)]]
 
 
   | critter
 
   | critter
 
   | ambient
 
   | ambient
 
   | ambient creature = [[Category:Ambient creatures]]
 
   | ambient creature = [[Category:Ambient creatures]]
  | object =  [[Category:Object NPCs]]
+
   | various =  
   | various = [[Category:NPCs with various races]]
+
   | #default = [[Category:{{ucfirst:{{{race|}}}s}}]]
  | dragonvoid
 
  | void = [[Category:Void]]
 
  | unknown = [[Category:NPCs with unknown race]]
 
   | #default = [[Category:{{ucfirst:@@@s}}]]
 
 
   }}|}}
 
   }}|}}
   | [[Category:NPCs with unknown race]] }}
+
   | [[Category:NPCs with no race specified]] }}
{{#if:{{{profession|}}}|
+
  {{#if: {{{organization|}}} | [[Category:{{{organization}}}]] }}
  {{#arraymap:{{{profession|}}}|,|@@@|{{#switch: {{lc:@@@}}
+
   {{#ifeq: {{lc:{{{goal|}}}}} | guild bounty | [[Category:Guild bounties]] }}
  | tempest
+
   {{#arraymap:{{{service|}}}|,|@@@|{{#switch:{{lc:@@@}} <!-- Parse multiple services then set categories. -->
  | weaver
+
     | renown heart              = [[Category:Renown heart NPCs]]
  | 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]]
 +
    | trading post              = [[Category:Trading Post NPCs]]
 +
    | karma merchant
 +
    | karma vendor
 +
    | karma                    = [[Category:Karma merchants]]
 +
    | repair
 +
    | repairs                  = [[Category:Repairs]]
 +
    | speed boons              = [[Category:Speed boon NPCs]]
 
     | skill challenge
 
     | skill challenge
     | hero challenge            = [[Category:Hero challenges]]
+
     | hero challenge            = [[Category:Hero challenge NPCs]]      
     | karma merchant
+
     | belcher's bluff          = [[Category:Belcher's Bluff NPCs]]
    | karma vendor
+
     | activity                  = [[Category:Activity NPCs]]
     | karma                    = [[Category:Karma merchants]]
 
 
     | 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: {{{coordinates|}}}
+
   {{#if: {{{race|}}} | {{#set:Has family={{{race}}}}} }}{{#if: {{{organization|}}} | {{#set:Has family={{{organization}}}}} }}<!--Temporary code for family property -->
    | {{#ifexpr: {{#len: {{{coordinates|}}} }} < 1000
+
}}<noinclude>
      | {{#set:
+
=== Parameters ===
          | Has x coordinate = {{#replace:{{#explode: {{{coordinates|}}} |,|0}}|[|}}
+
; name : Optional. Defaults the name of the article (<code><nowiki>{{PAGENAME}}</nowiki></code>).
          | Has y coordinate = {{#replace:{{#explode: {{{coordinates|}}} |,|1}}|]|}}
+
; description : Optional. The description of the abilites of the NPC, listed under the health bar. Use a comma-separated list of the abilities.
        }}
+
; 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>).
    | {{#if: {{{path|}}}
+
; race : Required. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, use "Various".
      | {{#ifexpr: {{#len: {{{path|}}} }} < 1000
+
; location : Required. The area(s) or zone(s) the NPC can be found. Use a comma-separated list of locations.
          | {{#set:
+
; organization : Optional. The organization/affiliation the NPC belongs to.
            | Has x coordinate = {{#replace:{{#explode: {{{path|}}} |,|0}}|[|}}
+
; level : Optional. The level of the NPC.
            | Has y coordinate = {{#replace:{{#explode: {{{path|}}} |,|1}}|]|}}
+
; rank : Optional. Should be one of the following: normal, veteran, elite, champion, legendary.
            }}
+
; 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.
  {{#switch: {{lc:{{{service|}}}}}
+
; map1-text ... map5-text : Optional. Map image descriptions.
  | hero challenge = {{#set: | Has hero challenge id = {{{id|-1-999}}} }}
+
; 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.
  | 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}}} }}
+
; status : Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).
  }}
+
; 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 =  
Строка 453: Строка 277:
 
| service =  
 
| service =  
 
| goal =  
 
| goal =  
| gallery1...gallery5 =  
+
| map1 =  
| gallery1-text...gallery5-text =  
+
| map1-text =
| requires =  
+
| map2 =
| status =  
+
| map2-text =
| status notes =  
+
| map3 =
 +
| map3-text =
 +
| map4 =
 +
| map4-text =  
 +
| map5 =  
 +
| map5-text =  
 +
| historical =  
 
}}</pre>
 
}}</pre>
  
=== Parameters ===
+
== Example ==
; 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
Строка 545: Строка 301:
 
| rank = Legendary
 
| rank = Legendary
 
| profession = Thief
 
| profession = Thief
| service = Guild Armorer
+
| service = Jeweler, Weaponsmith
| gallery1 = User Lucian Shadowborn map.jpg
+
| location = Maguuma Jungle, The Grove, Divinity's Reach
| gallery1-text = Location in Magumma Jungle
+
| map1 = User Lucian Shadowborn map.jpg
| gallery2 = User Lucian Shadowborn map.jpg
+
| map1-text = Location in Magumma Jungle
| gallery2-text = Location in The Grove
+
| map2 = User Lucian Shadowborn map.jpg
| gallery3 = User Lucian Shadowborn map.jpg
+
| map2-text = Location in The Grove
| gallery3-text = Location in Divinity's Reach
+
| map3 = User Lucian Shadowborn map.jpg
 +
| map3-text = Location in Divinity's Reach
 
}}
 
}}
 
</pre>
 
</pre>
Строка 557: Строка 314:
 
{{NPC infobox
 
{{NPC infobox
 
| name = Caithe
 
| name = Caithe
| location = Maguuma Jungle; The Grove; Divinity's Reach
+
| description = Firstborn, Steals Boons, Immobilizes Foes
 
| 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 = Elite, Legendary
+
| rank = Legendary
 
| profession = Thief
 
| profession = Thief
| service = Guild Armorer
+
| service = Jeweler, Weaponsmith
| gallery1 = User Lucian Shadowborn map.jpg
+
| location = Maguuma Jungle, The Grove, Divinity's Reach
| gallery1-text = Location in Magumma Jungle
+
| map1 = User Lucian Shadowborn map.jpg
| gallery2 = User Lucian Shadowborn map.jpg
+
| map1-text = Location in Magumma Jungle
| gallery2-text = Location in The Grove
+
| map2 = User Lucian Shadowborn map.jpg
| gallery3 = User Lucian Shadowborn map.jpg
+
| map2-text = Location in The Grove
| gallery3-text = Location in Divinity's Reach
+
| map3 = User Lucian Shadowborn map.jpg
 +
| map3-text = Location in Divinity's Reach
 
}}
 
}}
 +
 
{{clear}}
 
{{clear}}
  

Пожалуйста, учтите, что любой ваш вклад в проект «Guild Wars 2 wiki» может быть отредактирован или удалён другими участниками. Если вы не хотите, чтобы кто-либо изменял ваши тексты, не помещайте их сюда.
Вы также подтверждаете, что являетесь автором вносимых дополнений, или скопировали их из источника, допускающего свободное распространение и изменение своего содержимого (см. Guild Wars 2 wiki:Авторские права). НЕ РАЗМЕЩАЙТЕ БЕЗ РАЗРЕШЕНИЯ ОХРАНЯЕМЫЕ АВТОРСКИМ ПРАВОМ МАТЕРИАЛЫ!

Чтобы изменить эту страницу, пожалуйста, ответьте на приведённый ниже вопрос (подробнее):

Отменить | Справка по редактированию (в новом окне)

Эта страница относится к одной скрытой категории: