Template talk:Swimmingrecord

Location column

edit

Why is the Location field in reverse direction with country before city? Wouldn't it be easier to put in Template:Sort and keep the common way in Wikipedia and in record lists? // SMARTSKAFT | ¿ 20:36, 14 October 2008 (UTC)Reply

The issue is wanting to display the lagicon, then city, then country. Currently we have:
  • {{ {{{country}}} }}, [[{{{city}}}]]
which displays as:
Changing it to:
  • {{flagicon| {{{country}}} }} [[{{{city}}}]], {{{country}}}
would display:
  •   Brussels, BEL
Ideally I'd like to show the following as per normal wikipedia convention and other records lists:
Is there a template that outputs the country name given the ISO 3166-1 alpha-3 input? Currently the input for all the country fields are the 3-letter codes. The other issue you mention is getting it to sort first by country, then by city, which I agree, using Template:Sort will do the job. Yboy83 (talk) 21:12, 14 October 2008 (UTC)Reply
Use [[{{getalias|{{{country}}}}}|{{getalias|{{{country}}}|shortname}}]]. — Andrwsc (talk · contribs) 21:52, 14 October 2008 (UTC)Reply
Wonderful thanks! I'll be updating the documentation in the next few days. Yboy83 (talk) 22:21, 14 October 2008 (UTC)Reply

city

edit

I made the city optional in one case, in order to eliminate a link to N/A. Hope you don't mind, Lisatwo (talk) 18:45, 19 January 2009 (UTC)Reply

cityarticle field

edit

How does the cityarticle work? (Or is it not working?) I just tried to use it to turn Columbus, Ohio into Columbus, but all it did was make the country flag show up without a city.... -- Hooperswim (talk) 22:11, 16 March 2012 (UTC)Reply

You would do |city=Columbus|cityarticle=Columbus, Ohio
(I would prefer allowing something like city=[[Columbus, Ohio|Columbus]], but I don't know how.) TimBentley (talk) 19:07, 17 March 2012 (UTC)Reply
Thank you!. -- Hooperswim (talk) 20:27, 19 March 2012 (UTC)Reply

Could use some help on this one - trying to clean up links to the disambiguation page at Richmond in the article List of IPC world records in swimming – Men's short course. There are a few lines in that article's table listing the city as Richmond, Canada, and the link per this template just goes to the disambig page. If I knew which specific article to link to I could use the cityarticle parameter, but there are 6 different Richmonds in Canada according to the disambiguation page, and I have no idea which is right. And, because of the way the template creates the table and links, I cannot just use the [disambiguation needed] tag. If anyone knows which Richmond, Canada, article is the one, please update that article. Thanks! --LarryJeff (talk) 18:53, 13 April 2012 (UTC)Reply

edit

For some reason, this template is making a lot of links show up as disambiguation links - see the dab solver, about halfway down the page. Please fix! bd2412 T 20:19, 10 July 2015 (UTC)Reply

User:BD2412, was this fixed? Frietjes (talk) 17:13, 19 July 2015 (UTC)Reply
This instance has been fixed, but in the unconventional way of making redlinks of the surnames. Ideally, the template should not create a link for something that is merely a surname. bd2412 T 17:34, 19 July 2015 (UTC)Reply
User:BD2412, I changed the template syntax to remove autolinking and changed all the transclusions, so it is possible to fix these by standard methods. Frietjes (talk) 13:39, 27 July 2015 (UTC)Reply
Great, thanks! bd2412 T 13:42, 27 July 2015 (UTC)Reply