Template:NPC infobox: Difference between revisions

From FHX Wiki
mNo edit summary
(added location parameter)
Line 14: Line 14:
;Rank
;Rank
:Normal}}
:Normal}}
<noinclude>{{infobox location|{{{location|}}}}}</noinclude>
;Location
:[[{{{location1}}}]] {{#if:{{{location2|}}}|[[{{{location2}}}]]}} {{#if:{{{location3|}}}|[[{{{location3}}}]]}} {{#if:{{{location4|}}}|[[{{{location4}}}]]}} {{#if:{{{location5|}}}|[[{{{location5}}}]]}}
{{#if:{{{goal|}}}|
{{#if:{{{goal|}}}|
;Part of
;Part of
Line 46: Line 47:
|level=
|level=
|rank=
|rank=
|location=
|location1...location5=
|goal=
|goal=
|service=
|service=
Line 59: Line 60:
; level : Optional. The level or levels of the NPC.
; level : Optional. The level or levels of the NPC.
; rank : Optional. Should be one of the following: boss. Defaults to normal
; rank : Optional. Should be one of the following: boss. Defaults to normal
; location : This parameter is work in progress. Required. The area(s) or zone(s) the NPC can be found. Use a semi-colon separated list of locations.
; location1...location5 : Required. The area(s) or zone(s) the NPC can be found. Separate additional locations with location2, location3, etc.
; 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 or services provided by the NPC. Use a comma-separated list of services. Options:
; service : Optional. The service or services provided by the NPC. Use a comma-separated list of services. Options:
Line 89: Line 90:
|level=31
|level=31
|boss=yes
|boss=yes
|location=Depthless Orifice
|location1=Depthless Orifice
|gallery1=Depthless_Orifice-labark.png
|gallery1=Depthless_Orifice-labark.png
|gallery-text1=Location in Depthless Orifice (all-PVP zone)
|gallery-text1=Location in Depthless Orifice (all-PVP zone)
Line 100: Line 101:
|level=31
|level=31
|boss=yes
|boss=yes
|location=Depthless Orifice
|location1=Depthless Orifice
|gallery1=Depthless_Orifice-labark.png
|gallery1=Depthless_Orifice-labark.png
|gallery-text1=Location in Depthless Orifice (all-PVP zone)
|gallery-text1=Location in Depthless Orifice (all-PVP zone)

Revision as of 16:20, 27 June 2024

Description

This is the NPC infobox template. It should be transcluded in the following format:

{{NPC infobox
|name=
|image=
|race=
|level=
|rank=
|location1...location5=
|goal=
|service=
|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}}
image
Required. Image of the NPC.
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: boss. Defaults to normal
location1...location5
Required. The area(s) or zone(s) the NPC can be found. Separate additional locations with location2, location3, etc.
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 or services provided by the NPC. Use a comma-separated list of services. 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
Stat Reset
gallery1...gallery5
Optional. Images related to the NPC.
gallery-text1...gallery-text5
Optional. Image descriptions.

Example

</noinclude>Page Template:NPC infobox/styles.css has no content.

La Bark

Race
Wolf
Level
31
Rank
Normal
Location
Depthless Orifice


Image(s)

Location in Depthless Orifice (all-PVP zone)

{{NPC infobox
|name=La Bark
|image=Boss-labark.png
|race=Wolf
|level=31
|boss=yes
|location1=Depthless Orifice
|gallery1=Depthless_Orifice-labark.png
|gallery-text1=Location in Depthless Orifice (all-PVP zone)
}}

TODO

  • Add icon parameter (would be useful for shops/services)
  • Add coordinates parameter if/when kartographer is enabled