Template:NPC infobox: Difference between revisions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
:{{{holds-aggro}}}}} | :{{{holds-aggro}}}}} | ||
;Location(s) | ;Location(s) | ||
:[[{{{location1|Location needed}}}]] {{#if:{{{location2|}}}| | :[[{{{location1|Location needed}}}]]<p style="font-size:.9em>([[{{{map|Map needed}}}]])</p> {{#if:{{{location2|}}}| | ||
; | ; | ||
:[[{{{location2}}}]]}} {{#if:{{{location3|}}}| | :[[{{{location2}}}]]}} {{#if:{{{location3|}}}| | ||
Line 29: | Line 29: | ||
:[[{{{goal}}}]]}}{{#if:{{{service|}}}| | :[[{{{goal}}}]]}}{{#if:{{{service|}}}| | ||
;Services | ;Services | ||
:[[{{{service}}}]][[Category:{{{service}}}]] | :[[{{{service}}}]][[Category:{{{service}}}]]}}{{#if:{{{id|}}}| | ||
;id | ;id | ||
:{{{id}}}}} | :{{{id}}}}} | ||
Line 48: | Line 46: | ||
{{!}}} | {{!}}} | ||
| {{clear}} }} | | {{clear}} }} | ||
{{#if:{{{N-coord|}}}|{{#if:{{{E-coord|}}} | |||
|'''Interactive map''' | |||
{{Interactive map | |||
|map={{{map}}} | |||
|N={{{N-coord}}} | |||
|E={{{E-coord}}} | |||
|name={{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
|description= | |||
|radius={{{radius}}} | |||
|center= | |||
|circle=on | |||
|zoom= | |||
|height=250 | |||
|width=250 | |||
}}}}}} | |||
[[Category:{{{location1}}}]] | |||
[[Category:NPC]] | [[Category:NPC]] | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
Line 64: | Line 78: | ||
|aggressive= | |aggressive= | ||
|holds-aggro= | |holds-aggro= | ||
|map= | |||
|location1...location5= | |location1...location5= | ||
|N-coord= | |||
|E-coord= | |||
|radius= | |||
|goal= | |goal= | ||
|service= | |service= | ||
|id= | |id= | ||
|gallery1...gallery5= | |gallery1...gallery5= | ||
Line 84: | Line 101: | ||
; aggressive : Optional. Include if NPC is naturally aggressive. Options: yes, no | ; aggressive : Optional. Include if NPC is naturally aggressive. Options: yes, no | ||
; holds-aggro : Optional. Include if NPC can lose aggro or stays focused on original target. Options: yes, no | ; holds-aggro : Optional. Include if NPC can lose aggro or stays focused on original target. Options: yes, no | ||
; map : Required. Include world or instance map this NPC spawns in. Options: | |||
:: Glorious Imperial Territory | |||
:: Idios | |||
:: Depthless Orifice | |||
:: Great Rebellion | |||
:: Snow Storm | |||
:: The Forest of the Abandoned | |||
:: The Valley Of Blood | |||
; location1...location5 : Required. The area(s) or zone(s) the NPC can be found. Separate additional locations with location2, location3, etc. | ; location1...location5 : Required. The area(s) or zone(s) the NPC can be found. Separate additional locations with location2, location3, etc. | ||
; N-coord : Optional. In-game N coordinate (N from world map, or y from /location). | |||
; E-coord : Optional. In-game E coordinate (E from world map, or x from /location). | |||
; radius : Optional. Include to increase circle radius (min. 1). | |||
; goal : Optional. Specific quest or challenge this NPC is affiliated with. If entering multiple goals, put each new goal on a new line. | ; goal : Optional. Specific quest or challenge this NPC is affiliated with. If entering multiple goals, put each new goal on a new line. | ||
; service : Optional. The service provided by the NPC. Options: | ; service : Optional. The service provided by the NPC. Options: | ||
Line 106: | Line 134: | ||
::Summoned guardian | ::Summoned guardian | ||
::Stat Reset | ::Stat Reset | ||
; | ; id : Optional. NPC asset id from Editor. | ||
; gallery1...gallery5 : Optional. Images related to the NPC. | ; gallery1...gallery5 : Optional. Images related to the NPC. | ||
; gallery-text1...gallery-text5 : Optional. Image descriptions. | ; gallery-text1...gallery-text5 : Optional. Image descriptions. |
Revision as of 02:57, 20 August 2024
Description
This is the NPC infobox template. It should be transcluded in the following format:
{{NPC infobox |name= |icon= |image= |image-size= |race= |level= |rank= |aggressive= |holds-aggro= |map= |location1...location5= |N-coord= |E-coord= |radius= |goal= |service= |id= |gallery1...gallery5= |gallery-text1...gallery-text5= }}
Parameters
- name
- Optional. Only include if the name of the NPC differs from the article name. Defaults to the name of the article:
{{PAGENAME}}
- icon
- Optional. Include if NPC has a unique icon, like a shop or quest giver.
- image
- Required. Image of the NPC.
- image-size
- Optional. Include if NPC image is much taller than it is wide. Options: tall, wide. Defaults to wide.
- 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.
- level
- Optional. The level or levels of the NPC.
- rank
- Optional. Should be one of the following: World boss, Area boss. Defaults to normal
- challenging
- Optional. Include only if NPC is normal rank, but considered significantly more difficult than other monsters of the same level.
- aggressive
- Optional. Include if NPC is naturally aggressive. Options: yes, no
- holds-aggro
- Optional. Include if NPC can lose aggro or stays focused on original target. Options: yes, no
- map
- Required. Include world or instance map this NPC spawns in. Options:
- Glorious Imperial Territory
- Idios
- Depthless Orifice
- Great Rebellion
- Snow Storm
- The Forest of the Abandoned
- The Valley Of Blood
- location1...location5
- Required. The area(s) or zone(s) the NPC can be found. Separate additional locations with location2, location3, etc.
- N-coord
- Optional. In-game N coordinate (N from world map, or y from /location).
- E-coord
- Optional. In-game E coordinate (E from world map, or x from /location).
- radius
- Optional. Include to increase circle radius (min. 1).
- goal
- Optional. Specific quest or challenge this NPC is affiliated with. If entering multiple goals, put each new goal on a new line.
- service
- Optional. The service provided by the NPC. Options:
- Apprentice Blacksmith
- Armor Shop
- Blacksmith
- Grocer
- Guild Cloak Shop
- Guild Manager
- Magic Goods
- Material Shop
- Mercenary Manager
- Mobile Shop
- Weapon Shop
- Fame
- Arena Manager
- Quest
- Bank
- Guard
- Mercenary
- Summoned guardian
- Stat Reset
- id
- Optional. NPC asset id from Editor.
- gallery1...gallery5
- Optional. Images related to the NPC.
- gallery-text1...gallery-text5
- Optional. Image descriptions.
Example
La Bark
- Race
- Canine
- Level
- 31
- Rank
- World boss
- Location(s)
- Depthless Orifice
Image(s) |
Location in Depthless Orifice (all-PVP zone) |
{{NPC infobox |name=La Bark |image=Boss-labark.png |race=Canine |level=31 |rank=world boss |location1=Depthless Orifice |gallery1=Depthless_Orifice-labark.png |gallery-text1=Location in Depthless Orifice (all-PVP zone) }}
TODO
- Add coordinates parameter if/when kartographer is enabled
- Add properties to parameters
- Add difficulty parameter
- Non-boss: "This NPC may be challenging for characters of similar level."
- Boss: Easy, Intermediate, Challenging (may write a difficulty page to summarize terms)