Template:Location disambiguation 2: differenze tra le versioni

Da Guild Wars - Wiki italiano non ufficiale.
Jump to navigation Jump to search
Nessun oggetto della modifica
Etichetta: Annullato
Nessun oggetto della modifica
Etichetta: Ripristino manuale
Riga 40: Riga 40:
   | format = Missione,,,
   | format = Missione,,,
  }}
  }}
  |Area esplorabile = explorable
  |Explorable area = explorable
  |Città
  |Town
  |Porto
  |Port
  |Avamposto = outpost
  |Outpost = outpost
  |Avventura = mission
  |Mission = mission
  |Missione = quest
  |Quest = quest
}}}}}}
}}}}}}



Versione delle 17:36, 23 nov 2023

Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .

Usage

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

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

General usage

Normal usage. (Doesn't find any other articles, since this is not a location article)
{{Location disambiguation 2}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .
If the location is named differently than the article
{{Location disambiguation 2 | Arborstone}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .

Adding articles that aren't autodetected

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}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .
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}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per an Expansion.
{{Location disambiguation 2 | The Falls | other=The Falls (NPC) | otherdesc=a creature}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .

Removing articles that are erroneously detected

Haiju Lagoon (mission) is not about a regular mission, but would be detected as such.
{{Location disambiguation 2 | Haiju Lagoon}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .
Remove the mission by giving mission=none
{{Location disambiguation 2 | Haiju Lagoon | mission=none}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .
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}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .
While Riverside Province (explorable area) is an explorable, it belongs to War in Kryta.
{{Location disambiguation 2 | Riverside Province)}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .
Some additional code could fix that, if desired.
{{Location disambiguation 2 | Riverside Province | explorable=none | explorablewik=Riverside Province (explorable area)}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .

Disambiguating Nightfall missions and explorables

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}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per . Per the explorable area, vedere Lahtenda Bog.
on Lahtenda Bog:
{{Location disambiguation 2 | Lahtenda Bog | disambigdesc=the [[mission]] | disambigarticle=Blacktide Den}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per . Per the mission, vedere Blacktide Den.
on Gandara, the Moon Fortress:
{{Location disambiguation 2 | Gandara, the Moon Fortress | disambigdesc=the [[mission]]s | disambigarticle=Consulate Docks | disambigarticle2=Pogahn Passage}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per . Per the missions, vedere Consulate Docks e Pogahn Passage.

Punctuation in title

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

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}} →
Disambig icon.png Questo articolo riguarda un Template. Questo nome è utilizzato anche per .