Module talk:Location map/data/Australia Victoria

Latest comment: 14 years ago by Richardguk in topic Incorrect link
edit

This template generates a link to Victoria, which is a disambiguation page. It should generate a link to Victoria (Australia). I don't know how to fix it (templates are scary). DuncanHill (talk) 15:15, 17 March 2010 (UTC)Reply

There's a complicated interrelationship between several templates so the "Victoria" link is a kind of circular reference. As discussed at Template talk:Location map#Map correction, I've changed the code from
name = Victoria
to
name = Victoria (Australia){{!}}Victoria
which seems to have done the trick after a page purge. There don't seem to be any side effects on a sample of article pages but this depends on how the {{{name}}} parameter is used on other pages.
Richardguk (talk) 03:59, 29 May 2010 (UTC)Reply