Template talk:RailGauge
From Wikipedia, the free encyclopedia
Great idea, perhaps adding a link to standard gauge or other common gauges could be added in addition to just the length for gauges that have wikipedia articles? Thoughts? Looks great so far tho. ~ PaulC/T+ 21:00, 29 November 2007 (UTC)
- Thanks for the suggestion. We should be able to integrate that as an optional parameter; now to try it out... Slambo (Speak) 21:20, 29 November 2007 (UTC)
- There's one for standard gauge. I'll play with it a little more this week. Slambo (Speak) 22:01, 29 November 2007 (UTC)
Contents |
[edit] lk=on doesn't always work
It appears that the nested check for lk=on within the calls to convert aren't working properly. I haven't seen why yet, but I am looking into it. Slambo (Speak) 14:46, 21 March 2008 (UTC)
- Found and fixed the problem. lk=on now works for all the specs I tested. Please let me know if there is one I missed. Slambo (Speak) 15:05, 28 March 2008 (UTC)
[edit] ussg is OK for the States but is historically incorrect for the rest of the world
I note that the explicit gauge in some UK rail infoboxes is being replaced with template with parameter 'ussg'. I may be being nationalistic but I thought that the UK gave the world 'standard gauge' - something to do with George Stephenson and (possibly) Roman cart wheels.
So whilst I am quite happy if 'ussg' is used for railways in the USA, I would prefer the template to support 'uksg' as an alternative for the UK at least and possibly a country neutral version for other countries that measure standard gauge in (UK) imperial units (feet and inches) as opposed to metric units. (forgot I had not logged in - actually User:XTOV)
87.102.67.90 (talk) 15:03, 22 March 2008 (UTC)
- Standard gauge is standard gauge in most of the countries of the world. Regardless of whether you call it 4 feet 8.5 inches or 1435 mm, it's the same distance between the tracks. The British invented it, after considerable too-and-fro'ing the Americans eventually settled on the same distance, and everybody else (with a few exceptions) fell into line. It doesn't matter what it is as long as everybody's trains can run on everybody else's tracks. RockyMtnGuy (talk) 20:32, 22 March 2008 (UTC)
-
- More to the point, the article never displays "ussg", its just a convenient shorthand for the parameter. I take it as a good sign that we're arguing over the name of a parameter: if that's the case we must have finished all the work of completing the actual encyclopedia, right? Gwernol 20:54, 22 March 2008 (UTC)
If you use "sg" it will display metric first. This was chosen because of the row over the former {{standard gauge}} template on which units were displayed first. If you've got a better parameter value to use, it is a very simple matter to add it to the template. Slambo (Speak) 15:08, 28 March 2008 (UTC)
- I don't think sg is working as expected - it appears twice in the switch (if I read the code correctly). Railwayfan2005 (talk) 21:28, 21 May 2008 (UTC)
-
- There are two switch statements. One to specify which gauge to display, the second to specify which alternate name to display if al=on is given in the template call. {{RailGauge|sg}} produces "1,435 mm (4 ft 8½ in)", and {{RailGauge|sg|al=on}} produces "1,435 mm (4 ft 8½ in) standard gauge". Slambo (Speak) 10:53, 22 May 2008 (UTC)
- One day I'll get the hang of these switches... Railwayfan2005 (talk) 20:18, 22 May 2008 (UTC)
- There are two switch statements. One to specify which gauge to display, the second to specify which alternate name to display if al=on is given in the template call. {{RailGauge|sg}} produces "1,435 mm (4 ft 8½ in)", and {{RailGauge|sg|al=on}} produces "1,435 mm (4 ft 8½ in) standard gauge". Slambo (Speak) 10:53, 22 May 2008 (UTC)
[edit] Talk:Ferrocarril General Bartolomé Mitre & Ferrocarril General Bartolomé Mitre
5 ft 6 in (1,676 mm) Provincial gauge Somebody please get rid of the irrelevant "Provincial gauge" out of the template. Peter Horn 13:04, 12 May 2008 (UTC)
- 5 ft 6 in (1,676 mm) That got rid of the irrelevant "Provincial gauge". Peter Horn 00:11, 15 May 2008 (UTC)
[edit] Iberian rail gauges
Any reason why 1,672 mm, 1,668 mm and 1,664 mm (5 ft 5⅞ in, 5 ft 55⁄6 in and 5 ft 5½ in) were not included in the templates? See List of rail gauges#Broad gauge railways, by gauge and country etc. Peter Horn 00:06, 15 May 2008 (UTC)
[edit] Modification
Can 3 ft (914 mm), 5 ft (1,524 mm), 6 ft (1,829 mm) etc. etc. etc be modified to read 3 ft 0 in (914 mm) etc. etc. etc? Could " " be added to all RailGauge templates? Peter Horn 02:12, 19 May 2008 (UTC)
[edit] 5 ft 6 in (1,676 mm) Provincial gauge
Could some one change Provincial gauge to Broad gauge??? Peter Horn 02:22, 19 May 2008 (UTC)
[edit] Line Break
Can we have a parameter which forces a line break between the metric and imperial measurements? This would tidy up pages like List of locomotives in the UK National Collection where the natural line break falls between feet and inches. Railwayfan2005 (talk) 21:26, 21 May 2008 (UTC)

