قالب:Railway-routemap
This is a route-map template for a railway in خطأ: الوظيفة "main" غير موجودة..
- For information on using this template, refer to Wikipedia:Route diagram template.
- For pictograms used, see Wikipedia Commons:BSicon/Catalogue.
This is a universal template for all Route Diagram Templates (RDT). It adds the following text (without the surrounding box) to an RDT:
It will also place the template in the appropriate category (generally Category:Templates for railway lines in country or Category:Templates for railway lines of country.)
Usage
Country is specified by any valid ISO 3166-1 country code.
Additional codes
The template also recognizes these unofficial codes:
| Code | Location |
|---|---|
| AFR | Africa |
| CT or CAT | Catalonia |
| EU or EUR | Europe |
| NIL | Northern Ireland |
| UK | United Kingdom |
Optional parameters
Adding an optional second parameter will include the railway name as a link, for example,
{{Railway-routemap|UK|Stockton and Darlington Railway}}
will change the first line of the template to:
Including the optional named parameter |type= will change “a railway in Country” to “a alternate text in Country”. For example,
{{railway-routemap|FRA|type=high-speed rail line}}
will change the first line of the template to:
and,
{{railway-routemap|CAN|Yellow Line (Montreal Metro)|type=[[Rapid transit|subway]]}}
will change the first line of the template to:
The optional named parameter |the=anything will omit the word “the” before the linked page. For example,
{{railway-routemap|NL|the=x|Centraal Station|type=[[railway terminal]]}}
will change the first line of the template to:
The optional named parameter |place= will change “a railway in Country” to “a railway in place, Country”. For example,
{{railway-routemap|IN|place=[[Bangalore]]}}
will change the first line of the template to:
Categories
By default the template will be included in the appropriate category for that country. However, adding the parameter |cat=no will exclude the template from all categories. Note that this parameter is not case sensitive: i.e. |cat=NO produces the same result as |cat=no.
See also
- Category:Rail routemap templates for all country categories
- General
- {{Railway-routemap}}
- {{Bus-routemap}}
- {{Road-routemap}}
- {{Trail-routemap}}
- {{Waterway-routemap}}
- Specific
- {{UK-railway-routemap}} United Kingdom
- {{UK-waterway-routemap}} United Kingdom rivers and canals
- {{US-railway-routemap}} United States
- {{NYCS-routemap}} New York City Subway
| The above documentation is transcluded from قالب:Railway-routemap/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |