Template talk:Infobox mountain pass

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconInfoboxes
WikiProject iconThis template is within the scope of WikiProject Infoboxes, a collaborative effort to improve the coverage of Infoboxes on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
WikiProject iconMountains Template‑class
WikiProject iconThis template is part of WikiProject Mountains, a project to systematically present information on mountains. If you would like to participate, you can choose to edit the article attached to this page (see Contributing FAQ for more information), or visit the project page where you can join the project and/or contribute to the discussion.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconCycling Template‑class
WikiProject iconThis template is within the scope of WikiProject Cycling, a collaborative effort to improve the coverage of cycling on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Traversed[edit]

The change from transversed to traversed is absolutely correct. However, it now needs to be changed in each of the articles using this template. Nationalparks 05:06, 15 December 2006 (UTC)[reply]

In the meantime, I put "Transversed by" in as an undocumented parameter.
—wwoods 00:12, 17 December 2006 (UTC)[reply]

Pyreneean mountain passes[edit]

I have been adding bits to Tour de France pages, and was surprised how few articles there are on the mountain passes, especially in the Pyrenees. I'll quite happily start creating articles about some of the climbs to be used in this year's tour, but before I do so can I briefly comment on the Template:Infobox Mountain Pass that's currently in use. If you compare the template on Col d'Aubisque with its French equivalent, I hope you'll agree that the French one is far more informative. Would there be any objection to me creating an improved template based on the French one? Daemonic Kangaroo 12:41, 3 July 2007 (UTC)[reply]

I think it's time we improve this template and as you said in WikiProject Cycling the french one [1] looks fine. It would be better if some member of Wikiproject Mountains could give another view on the matter before someone changes the template.Drunt 13:43, 17 September 2007 (UTC)[reply]
Unless someone has a better idea I think we should add the same information that french template currently displays:
{{Infobox mountain pass
| nom= 
| image= 
| légende= 
| altitude= 
| massif= 
| latitude= 
| longitude= 
| pays1= 
| pays2= 
| vallée1= 
| vallée2= 
| loc1= 
| loc2= 
| ville1= 
| ville2= 
| déclivité_moy1= 
| déclivité_moy2= 
| déclivité_max1= 
| déclivité_max2= 
| kilométrage1= 
| kilométrage2= 
| accès1= 
| accès2= 
| fermeture_hivernale= 
| carte= 
}}

lalitude/longitude could be just coordinates. Maybe adding percentages is too technically? Should this template also be used for roads up to ski stations(Alpe d'Huez) or other one-road climbs(Angliru)?Drunt (talk) 20:14, 8 December 2007 (UTC)[reply]

Use of national flags?[edit]

In fixing a few pass articles just now, I note that national flags have been used to decorate the infoboxes. There doesn't seem to be any purpose to their presence but decoration, and I'm of a mind to take them out; unless there's already been a discussion justifying their presence? See WP:FLAGCRUFT.Skookum1 (talk) 17:36, 9 June 2009 (UTC)[reply]

coordinates generated by this infobox[edit]

The problem I see with {{Infobox mountain pass}} passing geocoordinates to {{Infobox mountain/main}} is that {{Infobox mountain/main}} transcludes {{Coord}} with type:mountain hardcoded, whereas {{Infobox mountain pass}} ought to have type:pass.

There are a couple ways to fix this. One would be to break free of {{Infobox mountain/main}}. Another would be to add an optional coord_type= parameter to {{Infobox mountain/main}}. Any opinions on how to proceed? --Stepheng3 (talk) 03:50, 1 March 2010 (UTC)[reply]

I like using {{Infobox mountain/main}}, because the two infoboxes share a lot of code and formatting. I like your suggestion about an optional coord_type: I am happy to implement it. —hike395 (talk) 04:51, 1 March 2010 (UTC)[reply]
 Done --- I checked the Mountain testcases and Wolf Creek Pass --- the coordinates seem to be the correct type. Let me know if you see any problems. —hike395 (talk) 05:06, 1 March 2010 (UTC)[reply]
Well done. Thanks for the quick response. --Stepheng3 (talk) 05:15, 1 March 2010 (UTC)[reply]

Geobox[edit]

I have proposed that we delete {{geobox}}. That may effect this templates. You are invited to participate in the Geobox deletion dicussion. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:43, 6 January 2012 (UTC).[reply]

Fix typo[edit]

There was a typo in the child parameter. Must this template be admin protected? It only has c. 600 transclusions and has never been vandalized.

Copy Template:Infobox mountain pass/sandbox to Tempate:Infobox mountain pass and replace {{template sandbox notice}} with {{Documentation}}. —hike395 (talk) 10:24, 22 April 2012 (UTC)[reply]

Hi Hike395. The template is only semi-protected so I fixed it myself. I'm sorry for the error and thanks for picking up on it. –droll [chat] 15:45, 22 April 2012 (UTC)[reply]

Map, Photo, width and size parameters not working?[edit]

I have done a bit of cleanup work on Khawak Pass. One thing I did was move an image of a map into the Infobox. I wanted to change the image size to 300px. It didn't change from the default 280px (photo) or 272px (map).

I tried this:

|photo=[[Image:Mountain passes of Afghanistan2.png |300px]]
|photo_width=400

(Yes, I know that normally one isn't supposed to use the [[Image:Mountain passes of Afghanistan2.png |300px]]. But, doing so proves that the image size can be changed within the confines of the template.)

That made the image the correct size. Ahead of the image (above in the Infobox) the image was: [[Image: and below the image:|280px]]; sort of like this:

[[Image:|280px]]

(except that here the extraneous text is on the sides—you get the idea) The markup for that is:

[[Image:[[Image:Mountain passes of Afghanistan2.png |300px]]|280px]]

which I think is a good mimic of what the template is doing.

From this I'm guessing that there is something wrong with the template code that is forcing the default width values to be used regardless of what the |photo_width= value is. If it were working correctly, one would think that the extraneous text following the image would match |photo_width=400 that I used in my test case.

All of this is the same if I used map parameters instead of photo parameters.

Trappist the monk (talk) 03:44, 22 July 2012 (UTC)[reply]

Red X Won't fix This is by design. 280px and 272px are are maximum sizes. Any size specified that is larger that the maximum is set to the maximum. If left unspecified, the maximum size is used. —hike395 (talk) 04:05, 22 July 2012 (UTC)[reply]
What are the design constraints? What is it about this infobox that requires images and maps be a certain size or smaller? This infobox is the first one that I've encountered where image-size limits have been imposed by the template rather than by the article's community of editors. Similarly, why two different maximums for map and photo images?
Trappist the monk (talk) 11:48, 22 July 2012 (UTC)[reply]

Template broken?[edit]

Recent changes to this template, or perhaps to templates used within it, appear to be broken. For example, see Grimsel Pass or Furka Pass. The coordinates are followed by an unexpected string like this (for the Furka pass):

{{#coordinates:46|34|22|N|08|25|00|E|type:pass_region:CH_scale:50000_ |primary |name=}}

I get the same effect on both Google Chrome and Microsoft Internet Exploder. My knowledge of complex template syntax isn't up to resolving this. Can somebody take a look at it. -- chris_j_wood (talk) 11:41, 31 October 2014 (UTC)[reply]

I will investigate. Looks likes it might be a problem in {{coord}} —hike395 (talk) 05:50, 1 November 2014 (UTC)[reply]
Looks like it was fixed today. —hike395 (talk) 06:23, 1 November 2014 (UTC)[reply]