Template:Location infobox

From Guild Wars Wiki
Jump to navigationJump to search
Location infobox
No image available
Campaign
Region
Type
Party size 8
Exit(s) None


Usage[edit]

All the parameters of the template:

{{Location infobox
| name = 
| image = [[File:{{PAGENAME}}.jpg|200px]]
| campaign = 
| region = 
| region_parent =
| type = 
| quest =
| levels = 
| chest =
| partysize = 
| exits = 
| pic1 = 
| pic1-text = 
| pic2 = 
| pic2-text = 
| pic3 = 
| pic3-text = 
| pic4 = 
| pic4-text = 
| pic5 = 
| pic5-text = 
| pic6 = 
| pic6-text = 
| pic7 = 
| pic7-text = 
| alliance services = 
| arena guard =
| armorer =
| artisan =
| collector =
| consumables =
| dye trader =
| faction ambassador = y
| festival hat maker =
| guild ambassador =
| guild emblemer =
| guild registrar =
| henchman =
| hero armorer =
| hero skill trainer =
| historian =
| kurzick bureaucrat =
| luxon scavenger =
| material trader =
| merchant =
| pet tamer =
| priest of balthazar =
| profession changer =
| rare material trader =
| rare scroll trader =
| records keeper =
| rune trader =
| scribe =
| skill trainer =
| storage =
| storage upgrades =
| weaponsmith =
}}

Parameters[edit]

These are the accepted parameters:

name
Optional. Defaults to the name of the article ({{PAGENAME}}).
image
Optional. The image should preferably be in .jpg format and sized at 200 pixels. The one that appears in the world map for Towns and Outposts. Explorable area pictures shall represent a topographical view without repeating present Landmark images. See also the image use policy.
campaign
Mandatory. Where this location belongs. Can be a campaign, expansion, special event, Beyond chapter or storyline. For a list of possible parameters, see Template:Infobox campaign row.
Note: this parameter is named campaign for backwards compatibility.
region
Mandatory. The region this location appears in.
region_parent
Optional. If the campaign parameter is not a campaign, set this to the campaign the region belongs to.
type
Mandatory. Recognized types: "Port", "Town", "Outpost", "Mission outpost", "Explorable area", "Landmark" or "Dungeon".
partysize
Optional. The maximum party size in this location. Does not apply to type "Explorable area". Defaults to 8.
levels
Optional. The number of levels for a dungeon.
chest
Optional. The final reward chest for dungeon use and some elite missions.
quest
Optional. A required quest, typically used for dungeons.
exits
Optional. List all possible exits (excluding map travel and missions). Multiple exits must be separated by <br> tags. Defaults to "None".
pic1..7
Optional. If provided, the given image is displayed below the NPC services.
pic1..7-text
Optional. Caption that appears below the corresponding pic. Defaults to "(Click to enlarge)". Useless if corresponding pic is not provided.
<NPC type>
Optional. List all possible NPC services. Simply add the relevant parameters and omit all that does not apply. These parameters provide automatic categorization. Note that the actual value of these parameters is irrelevant, as long as one is provided.
statue
Optional. Use it to list available statues of the gods which offer blessings. Multiple statues should be separated by <br> tags.
levels
Optional. Use it to specify the number of levels in a dungeon.

The following parameters are used for WIKI consistency checking and are not explicitly used by this template:
If more than one link points to the page, a digit, starting with 1, is appended to each additional instance of these parameters.

ingame name
The name of the location as it appears in game texts. This should match the page name.
game link type
The first part of the game link name.
game link num
The numeric part of the game link name.

Notes[edit]

  • This template auto-categorises the page on which this template is applied based on the parameter values; categorising them based on regional location, location type, and NPC services.
  • campaign and region should be omitted if unknown or inapplicable; to prevent broken links if values such as "None" or "Unknown" is passed in.
  • type can only accept the recognized types listed above.

Examples[edit]

Typical usage[edit]

Typical use of the template for towns:

{{Location infobox
| name = 	 
| image = [[File:{{PAGENAME}}.jpg|200px]]
| campaign = 
| region = 
| type = Town
| exits = 
| armorer = y
| artisan = y
| collector = y
| dye trader = y
| guild ambassador = y
| guild emblemer = y
| guild registrar = y
| henchman = y
| material trader = y
| merchant = y
| rare material trader = y
| rare scroll trader = y
| rune trader = y
| skill trainer = y
| storage = y
| weaponsmith = y
}}

Typical use of the template for outposts:

{{Location infobox
| name = 	 
| image = [[File:{{PAGENAME}}.jpg|200px]]
| campaign = 
| region = 
| type = Outpost
| partysize = 4
| exits = 
| henchman = y
| merchant = y
| storage = y
}}

Other NPC services:

| arena guard = y
| pet tamer = y
| priest of balthazar = y
| profession changer = y

Additional NPC services since various updates:

| festival hat maker = y
| records keeper = y
| storage upgrades = y

NPC services specific to Factions locations:

| alliance services = y
| faction ambassador = y
| kurzick bureaucrat = y
| luxon scavenger = y

NPC services specific to Nightfall locations:

| hero armorer = y
| hero skill trainer = y

NPC services specific to the Bonus Mission Pack:

| historian = y
| scribe = y

Specific examples[edit]

{{Location infobox
| image = [[File:Nebo Terrace.jpg|200px]] 
| campaign = Prophecies
| region = Kryta
| type = Explorable area
| exits = [[Beetletun]]<br>[[Bergen Hot Springs]]<br>[[Cursed Lands]]<br>[[North Kryta Province]]
| artisan = y
| collector = y
| statue = [[Dwayna]]
| pic1 = [[File:Nebo Terrace map.jpg|200px]]
| pic1-text = Nebo Terrace
}}
{{Location infobox
| name = Consulate Docks
| image = [[File:Consulate Docks screenshot.jpg|200px]]
| campaign = Nightfall
| region = Istan
| type = Mission outpost
| exits = [[Consulate]]
| armorer = y
| henchman = y
| merchant = y
| storage = y
| pic1 = [[File:Consulate Docks map.jpg|200px]]
}}

Notes[edit]