Template:Location disambiguation 2
Usage[edit]
Add the template to the top of location articles:
- {{Location disambiguation 2}}
For most articles, autodetection will automatically list all related locations. If not, see the below for examples to manually add, repoint, or ignore articles as needed.
Parameter list[edit]
All parameters are optional and shall only be used to override autodetection, if required.
- first unnamed parameter : The name of the location without any disambiguation suffix (e.g. Arborstone, not Arborstone (explorable area)). Usually taken from the article's name.
Article overrides (set to none to remove the article)
- mission = name of the article about the mission
- outpost = name of the article about the outpost
- explorable = name of the article about the explorable area
- explorablewik = name of the article about the explorable area during War in Kryta
- explorablewoc = name of the article about the explorable area during Winds of Change
- quest = name of the primary quest (mostly for Eye of the North primary quests vs. zaishen missions)
- zquest = name of the Zaishen Mission quest
- zvanquish = name of the Zaishen Vanquish quest
- landmark = name of the Landmark
- other = name of a freely configurable article
- otherdesc = description of the article given by other=. (if one of these two is given, the other is required as well)
- disambigdesc = the description of an article that shall be disambiguated more verbosely, mostly used for nightfall. Wikify as needed. See examples.
- disambigarticle = first article fitting the parameter above
- disambigarticle2 = second article fitting the parameter above
Examples[edit]
General usage[edit]
- Normal usage. (Doesn't find any other articles, since this is not a location article)
- {{Location disambiguation 2}} →
- If the location is named differently than the article
- {{Location disambiguation 2 | Arborstone}} →
Adding articles that aren't autodetected[edit]
- Manually specify the landmark, needed here because it does not follow the naming convention of The Great Northern Wall (landmark)
- {{Location disambiguation 2 | The Great Northern Wall | landmark=Great Northern Wall}} →
- Articles that don't fit existing categories, add both other= and otherdesc= to add one more article with a custom description
- {{Location disambiguation 2 | Eye of the North | other=Guild Wars Eye of the North | otherdesc=an Expansion}} →
- {{Location disambiguation 2 | The Falls | other=The Falls (NPC) | otherdesc=a creature}} →
Removing articles that are erroneously detected[edit]
- Haiju Lagoon (mission) is not about a regular mission, but would be detected as such.
- {{Location disambiguation 2 | Haiju Lagoon}} →
- Remove the mission by giving mission=none
- {{Location disambiguation 2 | Haiju Lagoon | mission=none}} →
- Better yet, we'll specify the mission as belonging to another category, using other=. This also removes it from autodetection.
- {{Location disambiguation 2 | Haiju Lagoon | other=Haiju Lagoon (mission) | otherdesc=the mission during Dragon Festival}} →
- While Riverside Province (explorable area) is an explorable, it belongs to War in Kryta.
- {{Location disambiguation 2 | Riverside Province)}} →
- Some additional code could fix that, if desired.
- {{Location disambiguation 2 | Riverside Province | explorable=none | explorablewik=Riverside Province (explorable area)}} →
Disambiguating Nightfall missions and explorables[edit]
In Nightfall, missions and explorables have different names, i.e. Blacktide Den -> Lahtenda Bog, or Consulate Docks/Pogahn Passage -> Gandara, the Moon Fortress. Use the disambig* parameters here.
- on Blacktide Den:
- {{Location disambiguation 2 | Blacktide Den | disambigdesc=the [[explorable area]] | disambigarticle=Lahtenda Bog}} →
- on Lahtenda Bog:
- {{Location disambiguation 2 | Lahtenda Bog | disambigdesc=the [[mission]] | disambigarticle=Blacktide Den}} →
- on Gandara, the Moon Fortress:
- {{Location disambiguation 2 | Gandara, the Moon Fortress | disambigdesc=the [[mission]]s | disambigarticle=Consulate Docks | disambigarticle2=Pogahn Passage}} →
Punctuation in title[edit]
In a tiny number of cases, the template's parser might have trouble with correctly identifying articles with titles using punctuation. This can be resolved in one of two ways:
(1) On the page itself, use the {{PAGENAME}} magic word, e.g.
- {{Location disambiguation 2|explorable=none|explorablewik={{PAGENAME}}}}
(2) On other pages, substitute the html/ascii code version of the punctuation. For example, use ' instead of an apostrophe:
- {{Location disambiguation 2|D'Alessio Seaboard|explorable=none|explorablewik=D'Alessio Seaboard (explorable area)}}
- (this only needs to be done for the first parameter)
Full example[edit]
- One with all links:
- {{Location disambiguation 2 | Template:Location disambiguation 2 | outpost=Main Page | mission=Main Page | explorable=Main Page | explorablewik=Main Page | explorablewoc=Main Page | quest=Main Page | zquest=Main Page | zvanquish=Main Page | landmark=Main Page | other=Guild Wars | otherdesc=other stuff}} →