User:Lyger/Template/Sandbox

From Guild Wars Wiki
Jump to navigationJump to search
Lyger/Template/Sandbox
No image available
Campaign
Region
Type Dungeon
Party size 8
Exit(s) None


Usage[edit]

Typical use of the template for dungeons:

{{Dungeon infobox
| name = 	 
| image = [[Image:{{PAGENAME}}.jpg|196px]]
| campaign = 
| region = 
| exits = 
| chest = 
| partysize =
| quest = 
| level1map = 
| level1MapText = Level 1
| level2map = 
| level2MapText = Level 2
| level3map = 
| level3MapText = Level 3
| level4map = 
| level4MapText = Level 4
| level5map = 
| level5MapText = Level 5
| locationmap = 
| locationtext = 
| dungeonpic = 
| dungeonpictext = 
| bosspic = 
| bosspictext = 
}}

All the parameters of the template:

{{Dungeon infobox
| name = 	 
| image = [[Image:{{PAGENAME}}.jpg|196px]]
| campaign = 
| region = 
| exits = 
| chest = 
| partysize =
| quest = 
| level1map = 
| level1MapText =
| level2map = 
| level2MapText =
| level3map = 
| level3MapText =
| level4map = 
| level4MapText =
| level5map = 
| level5MapText =
| locationmap = 
| locationtext = 
| dungeonpic = 
| dungeonpictext = 
| bosspic = 
| bosspictext = 
}}

Parameters[edit]

These are the accepted parameters:

name
Optional. Defaults to the name of the article ({{PAGENAME}}).
image
Optional. The image should be the one that appears in the world map, preferably in .jpg format and sized at 196 pixels. See also the image use policy.
campaign
Mandatory. The campaign this location appears in.
region
Mandatory. The region this location appears in.
partysize
Optional. The maximum party size in the dungeon. Defaults to 8.
levels
Optional. The number of levels for the dungeon.
chest
Optional. The final reward chest for the dungeon.
quest
Optional. The required quest for the dungeon.
exits
Optional. List all possible exits (excluding map travel and missions). Multiple exits must be separated by <br> tags. Defaults to "None".
level1map..level5map
Optional. The map of the corresponding dungeon level.
level1maptext..level5maptext
Optional. Caption that appears below the corresponding levelmap picture. Defaults to "Level (level number) (Click to enlarge)". Useless if corresponding levelmap picture is not provided.
locationmap
Optional. The map of how to get to the dungeon.
locationmaptext
Optional. Caption that appears below the corresponding locationmap picture. Defaults to "(Click to enlarge)". Useless if corresponding locationmap picture is not provided.
dungeonpic
Optional. A picture to display an extra feature of the dungeon.
dungeonpictext
Optional. Caption that appears below the corresponding dungeonpic picture. Defaults to "(Click to enlarge)". Useless if corresponding dungeonpic picture is not provided.
bosspic
Optional. A picture to display a picture of the end dungeon boss.
bosspictext
Optional. Caption that appears below the corresponding bosspic picture. Defaults to "(Click to enlarge)". Useless if corresponding bosspic picture is not provided.

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 and location type.
  • campaign and region should be omitted if unknown or inapplicable; to prevent broken links if values such as "None" or "Unknown" is passed in.

Examples[edit]

{{Dungeon infobox
| campaign = Eye of the North
| image = [[Image:Catacombs of Kathandrax.jpg|196px]]
| region = Charr Homelands
| levels = 3
| exits = [[Sacnoth Valley]]
| chest = [[Chest of Kathandrax]]
| quest = [[Kathandrax's Crusher]]
| level1map = [[Image:Catacombs of Kathandrax Level 1 v2.jpg | 175 px]]
| level1MapText = Catacombs of Kathandrax Level 1
| level2map = [[Image:Catacombs of Kathandrax Level 2 v2.jpg | 175 px]]
| level2MapText = Catacombs of Kathandrax Level 2
| level3map = [[Image:Catacombs of Kathandrax Level 3 v2.jpg | 175 px]]
| level3MapText = Catacombs of Kathandrax Level 3
| bosspic = [[Image:Catacombs of Kathandrax Level 3 Boss Room.jpg | 175 px]]
| bosspictext = Level 3 Boss Room
| locationmap = [[File:Getting to Catacombs of Kathandrax.JPG | 175 px]]
| locationmaptext = Getting there from [[Doomlore Shrine]]
}}

Notes[edit]