మూస:RailGauge/doc
![]() | This is a documentation subpage for మూస:RailGauge. It contains usage information, categories and other content that is not part of the original మూస page. |
![]() | This template uses Lua: |
Usage[మార్చు]
The first parameter specifies the gauge:
{{RailGauge|1435mm}}
→ 1,435 మిమీ (4 అడుగులు 8 1⁄2 అం)
Most existing rail gauges can be entered by their definition using units mm, m, ft, in, ' or ". Spaces are allowed (both 45.5in and 45.5 in are valid). Sizes can be decimal (like 16.5 mm, 45.5 in or 0.65 in), but not in fractions (451⁄2 in). Using a thousands-separator is not possible (1,435 mm).
The names of some twenty rail gauges are recognised, and can be used:
{{RailGauge|Iberian}}
→ 1,668 మిమీ (5 అడుగులు 5 21⁄32 అం)
The template is case-insensitive (both Iberian and iberian are OK). Standard gauge even has abbreviations like sg. More on this below
Parameter input | Result | Note |
---|---|---|
1435mm |
1,435 మిమీ (4 అడుగులు 8 1⁄2 అం) | standard gauge |
1435 mm |
1,435 మిమీ (4 అడుగులు 8 1⁄2 అం) | standard gauge |
sg |
1,435 మిమీ (4 అడుగులు 8 1⁄2 అం) | standard gauge |
56.5in |
4 అడుగులు 8 1⁄2 అం (1,435 మిమీ) | standard gauge, this way imperial units first |
1m |
1,000 మిమీ (3 అడుగులు 3 3⁄8 అం) | 1m is recognised, but not many more in m . Better use mm
|
16.5 mm |
16.5 మిమీ (0.65 అం) | HO scale model railway |
16.5 in |
16 1⁄2 అం (419 మిమీ) | Miniature railway |
84.25in |
7 అడుగులు 1⁄4 అం (2,140 మిమీ) | Brunel gauge |
7ft0.25in |
7 అడుగులు 1⁄4 అం (2,140 మిమీ) | |
7 ft 0.25 in |
7 అడుగులు 1⁄4 అం (2,140 మిమీ) | |
7'0.25" |
7 అడుగులు 1⁄4 అం (2,140 మిమీ) | |
7 ft 1/4in |
7 ft 1/4in | Input not recognised (so no metric value), output copies the input |
65in |
65in | Input not recognised (so no metric value); output copies the input. This is a good way to enter an uncovered rail gauge on a page: other editors will notice (and can add a new gauge to the template!). |
- When an input value is not recognised by the template (see last two table examples), the template simply returns the input as it is:
- {{RailGauge|14in}} → 14 అం (356 మిమీ)
- {{RailGauge|14in}} → 14 అం (356 మిమీ)
The page with this unknown input is also listed in a maintenance category, in the background, that signals interested editors that there is a new rail gauge used in Wikipedia. More on this below.
- Some gauges in metric are defined in metres: 1m is recognised. However, it is not available for all metric defined gauges. Using
mm
is a safer bet. - Although some gauges are recognised without a unit (3 meaning 3ft), it is advised to always enter units. This will prevent confusion.
All input options[మార్చు]
All input options
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
- For a more technical overview, see {{RailGauge/entry check}}.
Optional parameters[మార్చు]
{{RailGauge | | al=on | allk=on | disp=s, 1, or | first=imp, met | wrap=y | unitlink=on }}
Parameter | What it does | Example (code) | Example (output) | |
---|---|---|---|---|
al=on | Adds the alternate name after the gauge measurement values | {{RailGauge|sg|al=on}}
|
1,435 మిమీ (4 అడుగులు 8 1⁄2 అం) standard gauge | |
allk=on | Adds a wikilink to the alternate name where applicable | {{RailGauge|sg|allk=on}}
|
1,435 మిమీ (4 అడుగులు 8 1⁄2 అం) standard gauge | |
first=imp first=met |
Puts the requested measure first (metric, imperial) | {{RailGauge|1000mm|first=imp}}
|
3 అడుగులు 3 3⁄8 అం (1,000 మిమీ) | |
disp=or | Uses an "or" as a separator rather than parentheses | {{RailGauge|sg|disp=or}}
|
1,435 మిమీ or 4 అడుగులు 8 1⁄2 అం | |
disp=s | Uses a slash as a separator rather than parentheses | {{RailGauge|sg|disp=s}}
|
1,435 మిమీ/4 అడుగులు 8 1⁄2 అం | |
disp=1 | Only shows the first measure (may be used when repeated on a page or in conjunction with first= to display the output only)
|
{{RailGauge|sg|disp=1}}
|
1,435 మిమీ | |
wrap=y | Will allow the output to break before the parentheses if column width is narrower than output |
{{RailGauge|sg|wrap=y}}
|
1,435 మిమీ (4 అడుగులు 8 1⁄2 అం) | |
unitlink=on | Adds wikilinks to the measurement unit labels | {{RailGauge|sg|unitlink=on}}
|
1,435 mm (4 ft 8 1⁄2 అంగుళం) |
Gauge color key[మార్చు]
The colors below are used as legend colors for specific gauges
color | RGB | {{RailGauge}} | inch dec | note | image key | |
---|---|---|---|---|---|---|
#EFFFC6 (239,255,198) |
3 మీ (9 అడుగులు 10 1⁄8 అం) | 3,000 mm (118.11 in) | ||||
#DCEBA3 (220,235,163) |
2,140 మిమీ (7 అడుగులు 1⁄4 అం) Brunel gauge | 2,140 mm (84.25 in) | ||||
#BBDF94 (187,223,148) |
1,676 మిమీ (5 అడుగులు 6 అం) Indian gauge | |||||
#83DC76 (131,220,118) |
1,668 మిమీ (5 అడుగులు 5 21⁄32 అం) Iberian gauge | 1,668 mm (65.67 in) | ||||
#5ABF56 (90,191,86) |
1,600 మిమీ (5 అడుగులు 3 అం) Irish gauge | |||||
#148A37 (20,138,55) |
1,524 మిమీ (5 అడుగులు) | |||||
#305C31 (48,92,49) |
1,520 మిమీ (4 అడుగులు 11 27⁄32 అం) Russian gauge | 1,520 mm (59.84 in) | ||||
#568DD0 (86,141,208) |
1,435 మిమీ (4 అడుగులు 8 1⁄2 అం) standard gauge | 1,435 mm (56.50 in) | ||||
#3E3D97 (62,61,151) |
1,372 మిమీ (4 అడుగులు 6 అం) | 1,372 mm (54.02 in) | ||||
#6A51B7 (106,81,183) |
1,067 మిమీ (3 అడుగులు 6 అం) Cape gauge | |||||
#A467CF (164,103,207) |
1,050 మిమీ (3 అడుగులు 5 11⁄32 అం) | 1,050 mm (41.34 in) | ||||
#C55E8D (197,94,141) |
1,000 మిమీ (3 అడుగులు 3 3⁄8 అం) metre gauge | 1,000 mm (39.37 in) | ||||
#BB0F15 (187,15,21) |
950 మిమీ (3 అడుగులు 1 3⁄8 అం) | 950 mm (37.40 in) | ||||
#E1392F (225,57,47) |
914 మిమీ (3 అడుగులు) | |||||
#E65000 (230,80,0) |
762 మిమీ (2 అడుగులు 6 అం) | |||||
#FF8A37 (255,138,55) |
750 మిమీ (2 అడుగులు 5 1⁄2 అం) | 750 mm (29.53 in) | ||||
#CDD54B (205,213,75) |
610 మిమీ (2 అడుగులు) | |||||
#E5C4A1 (229,196,161) |
600 మిమీ (1 అడుగులు 11 5⁄8 అం) | 600 mm (23.62 in) | ||||
Usage | ||||||
![]() | ||||||
![]() |
Maintenance categories[మార్చు]
Sometimes an input parameter is not recognised by the template (that is: it is not defined in the internal list). The article page with this {{RailGauge|some unknown gauge}} is added to a background "maintenance category" (named Category:Pages with incorrect use of RailGauge template). Interested editors will check that category. they can, edit that article page (for a spelling error), or propose to add that rail gauge to the template.
There are two categories under Category:Wikipedia rail gauge categories that can help in maintenance of the template.
- Category:Pages with incorrect use of RailGauge template: input to be checked. No error message on the page, but it needs attention.
- Category:Pages with no gauge entered in Infobox rail line: template {{Infobox rail line}} is used, but parameter
|gauge=
is empty.
Technical background[మార్చు]
This template uses the Lua module Module:RailGauge to format the gauge data. The data itself is stored at Module:RailGauge/data. Please see the /data subpage for information on how to add new gauges.
In the future, this module may be merged into the generic module:Convert. However, rail gauges can be normative, not scaled. For example, many model gauges are defined not calculated.
TemplateData[మార్చు]
The template formats a rail gauge (length) into standard notation and adds the conversion into imperial/metric size
పరామితి | వివరణ | Type | స్థితి | |
---|---|---|---|---|
Rail gauge definition | 1 | Rail gauge by definition, in mm or ft in. Also can accept: ' '', m, gauge name) | String | required |
Alternative name link | allk | =on: Add gauge name (if known) and link to its wiki page | String | optional |
Alternative name | al | =on: Add gauge name (if known) | String | optional |
Display converted gauge | disp | Separator of the second, converted value (imperial or metric): 1=none (first value only); =s: / (slash separator); =or: 'or' separator. Default: () brackets | String | optional |
Which units to mention first | first | =met: metric first; =imp: imperial first (default: as defined) | String | optional |
Allow line wrapping of text | wrap | wrap=y allows line-breaking at the separator | String | optional |
Link top measurement units | lk | =on: adds links | String | optional |
See also[మార్చు]
Sources[మార్చు]
- Light Rail Transit Association (LRTA)
- Morrisson, Allen (2013). "Electric transport in latin america". Cite has empty unknown parameter:
|1=
(help) Latin America is very well covered - "A world of trams and urban transit". Light Rail Transit Association (LRTA)). UK based, covering most countries
- Scaled rail models
- "S-3.1 Trackwork, Proto & Fine Scales". NMRA. 2004.
- "S-3.2 Trackwork Standard Scales (metric)" (PDF). NMRA. 2010.
References[మార్చు]
- ↑ NMRA 70.64mm
- ↑ NMRA 70.69mm
- ↑ "Toy railway". 1939-12-08. Retrieved 2013-11-10.
- ↑ Philip Pacey. "A visitors'guide to Nordic (Scandinavian) narrow gauge railways". Retrieved 2013-08-06.
- ↑ "Collection" (in Dutch). Decauville Spoorweg Museum. Retrieved 2013-08-06.
In de collectie bevinden zich voertuigen met 350, ..., 550, ..., 620, ... mm spoorwijdte.
CS1 maint: unrecognized language (link) - ↑ Andrew Goodwin; Stephen Goodwin; Dave Meller (2004). "Kruszwica sugar works". Retrieved 2013-08-06. Existed until 1923.
- ↑ "Faxe Jernbane" (in danish). Retrieved 2013-08-06.CS1 maint: unrecognized language (link) Google translated: In the following book, Østbanen 1879-2004, indicated gauge to 2 ½ feet or 791 mm. Nevertheless acquired Garde in 1866 a used German mine locomotive gauge 785 mm. This difference in gauge targets impossible did not [did not make impossible], however, use of the locomotive, which was in operation on the field all the way to 1921. This is perhaps one of the reasons for the doubts surrounding the runway actual gauge, there are several places specified for both 785 mm (evp have even one such example) and 791 mm. Thus mention Wikipedia []
- "There is no doubt about the route originally used gauge. Figures have admittedly several places in the literature as 791 mm, but in the delivery protocol of train factory Krauss set in 1874, 1907, 1914 and 1927 having delivered locomotives gauge 785 mm. It is somewhat unclear why mentioned one at the track width 791 mm. There should probably be a shift over the years, since Faxe Limestone Quarry around 1970 ordered 2 diesel locomotives in Schöma with a desired track width of 791 mm."
- ↑ "The Tramways of Santos (São Paulo state), Brazil". June 2006. Retrieved 2013-11-12. Missing pipe in:
|first1=
(help);|first1=
missing|last1=
(help)