টেমপ্লেট:ট্র্যাক গেজ
ব্যবহৃত লুয়া: |
Usage
[সম্পাদনা]The first parameter specifies the gauge:
{{RailGauge|1435mm}}
→ ১,৪৩৫ মিলিমিটার (৪ ফুট ৮ ১⁄২ ইঞ্চি)
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.5mm, 45.5in, 0.65in), but not in fractions (45১⁄২in). Using a thousands-separator is not possible (1,435mm).
The names of some twenty rail gauges are recognised, and can be used:
{{RailGauge|Iberian}}
→ ১,৬৬৮ মিলিমিটার (৫ ফুট ৫ ২১⁄৩২ ইঞ্চি)
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 |
১,৪৩৫ মিলিমিটার (৪ ফুট ৮ ১⁄২ ইঞ্চি) | standard gauge |
1435 mm |
১,৪৩৫ মিলিমিটার (৪ ফুট ৮ ১⁄২ ইঞ্চি) | standard gauge |
sg |
১,৪৩৫ মিলিমিটার (৪ ফুট ৮ ১⁄২ ইঞ্চি) | standard gauge |
56.5in |
৪ ফুট ৮ ১⁄২ ইঞ্চি (১,৪৩৫ মিলিমিটার) | standard gauge, this way imperial units first |
1m |
১,০০০ মিলিমিটার (৩ ফুট ৩ ৩⁄৮ ইঞ্চি) | 1m is recognised, but not many more in m . Better use mm
|
16.5 mm |
১৬.৫ মিলিমিটার (০.৬৫ ইঞ্চি) | HO scale model railway |
16.5 in |
১৬ ১⁄২ ইঞ্চি (৪১৯ মিলিমিটার) | Miniature railway |
84.25in |
৭ ফুট ১⁄৪ ইঞ্চি (২,১৪০ মিলিমিটার) | Brunel gauge |
7ft0.25in |
৭ ফুট ১⁄৪ ইঞ্চি (২,১৪০ মিলিমিটার) | |
7 ft 0.25 in |
৭ ফুট ১⁄৪ ইঞ্চি (২,১৪০ মিলিমিটার) | |
7'0.25" |
৭ ফুট ১⁄৪ ইঞ্চি (২,১৪০ মিলিমিটার) | |
7 ft 1/4in |
৭ ফুট ১⁄৪ ইঞ্চি (২,১৪০ মিলিমিটার) | Input not recognised (so no metric value), output copies the input |
65in |
৬৫in | 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}} → ১৪ ইঞ্চি (৩৫৬ মিলিমিটার)
- {{RailGauge|14in}} → ১৪ ইঞ্চি (৩৫৬ মিলিমিটার)
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. - Allthough 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}}
|
১,৪৩৫ মিলিমিটার (৪ ফুট ৮ ১⁄২ ইঞ্চি) আদর্শ গেজ | |
allk=on | Adds a wikilink to the alternate name where applicable | {{RailGauge|sg|allk=on}}
|
১,৪৩৫ মিলিমিটার (৪ ফুট ৮ ১⁄২ ইঞ্চি) আদর্শ গেজ | |
first=imp first=met |
Puts the requested measure first (metric, imperial) | {{RailGauge|1000mm|first=imp}}
|
৩ ফুট ৩ ৩⁄৮ ইঞ্চি (১,০০০ মিলিমিটার) | |
disp=or | Uses an "or" as a separator rather than parentheses | {{RailGauge|sg|disp=or}}
|
১,৪৩৫ মিলিমিটার or ৪ ফুট ৮ ১⁄২ ইঞ্চি | |
disp=s | Uses a slash as a separator rather than parentheses | {{RailGauge|sg|disp=s}}
|
১,৪৩৫ মিলিমিটার / ৪ ফুট ৮ ১⁄২ ইঞ্চি | |
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}}
|
১,৪৩৫ মিলিমিটার | |
wrap=y | Will allow the output to break before the parentheses if column width is narrower than output |
{{RailGauge|sg|wrap=y}}
|
১,৪৩৫ মিলিমিটার (৪ ফুট ৮ ১⁄২ ইঞ্চি) | |
unitlink=on | Adds wikilinks to the measurement unit labels | {{RailGauge|sg|unitlink=on}}
|
১,৪৩৫ মিলিমিটার (৪ ফুট ৮ ১⁄২ ইঞ্চি) |
Gauge color key
[সম্পাদনা]The colors below are used as legend colors for specific gauges টেমপ্লেট:Rail gauge color legend
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.
TemplateData
[সম্পাদনা]The template formats a rail gauge (length) into standard notation and adds the conversion into imperial/metric size
প্যারামিটার | বিবরণ | ধরন | অবস্থা | |
---|---|---|---|---|
Rail gauge definition | 1 | Rail gauge by definition, in mm or ft in. Also can accept: ' '', m, gauge name) | স্ট্রিং | প্রয়োজনীয় |
Alternative name link | allk | =on: Add gauge name (if known) and link to its wiki page | স্ট্রিং | ঐচ্ছিক |
Alternative name | al | =on: Add gauge name (if known) | স্ট্রিং | ঐচ্ছিক |
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 | স্ট্রিং | ঐচ্ছিক |
Which units to mention first | first | =met: metric first; =imp: imperial first (default: as defined) | স্ট্রিং | ঐচ্ছিক |
Allow line wrapping of text | wrap | wrap=y allows line-breaking at the separator | স্ট্রিং | ঐচ্ছিক |
Link top measurement units | lk | =on: adds links | স্ট্রিং | ঐচ্ছিক |
Sources
[সম্পাদনা]- Light Rail Transit Association (LRTA)
- Morrisson, Allen (২০১৩)। "Electric transport in latin america"। 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। ২০০৪।
- "S-3.2 Trackwork Standard Scales (metric)" (পিডিএফ)। NMRA। ২০১০।
References
[সম্পাদনা]- ↑ NMRA 70.64mm
- ↑ NMRA 70.69mm
- ↑ "Toy railway"। ১৯৩৯-১২-০৮। সংগ্রহের তারিখ ২০১৩-১১-১০।
- ↑ Philip Pacey। "A visitors'guide to Nordic (Scandinavian) narrow gauge railways"। সংগ্রহের তারিখ ২০১৩-০৮-০৬।
- ↑ "Collection" (Dutch ভাষায়)। Decauville Spoorweg Museum। সংগ্রহের তারিখ ২০১৩-০৮-০৬।
In de collectie bevinden zich voertuigen met 350, ..., 550, ..., 620, ... mm spoorwijdte.
- ↑ Andrew Goodwin; Stephen Goodwin; Dave Meller (২০০৪)। "Kruszwica sugar works"। সংগ্রহের তারিখ ২০১৩-০৮-০৬। Existed until 1923.
- ↑ "Faxe Jernbane" (danish ভাষায়)। সংগ্রহের তারিখ ২০১৩-০৮-০৬। 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 [da:Faxe Jernbane]: "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"। জুন ২০০৬। সংগ্রহের তারিখ ২০১৩-১১-১২। Authors list-এ
|প্রথমাংশ1=
এর|শেষাংশ1=
নেই (সাহায্য)