قالب:S-rail-national
This template is an alias of {{s-line}}, with several parameters renamed to conform with usage on the British National Rail system. Changes to the underlying functionality of {{s-line}} should be made to that template and not this one.
Usage
The renamed parameters are as follows:
|county1=instead of|state1=|county2=instead of|state2=|route=instead of|branch=|toc=instead of|line=
In addition, the parameter |system= is optional, and if omitted, defaults to |system=National Rail
This template takes one special parameter that {{s-line}} does not: |status=. By specifying either |status=Disused or |status=Historical, you make invoke those sets of templates instead of the templates for active lines.
TemplateData
S-rail-national
A specialised succession box for rail lines on the British National Rail system.
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| system | system | The system to which the line belongs, Defaults to 'National Rail'. | نص | اختياري |
| Train operating company | toc | Train operating company | نص | مطلوب |
| status | status | Can be either 'Disused' or 'Historical'. system should also be set in this case. | نص | اختياري |
| route | route | The route of a line e.g. 'Thameslink'. | نص | اختياري |
| previous | previous | The name of the previous station, should correspond to a specific template name | نص | مطلوب |
| next | next | The name of the next station, should correspond to a specific template name | نص | مطلوب |
| type | type | The left-hand line branch | نص | اختياري |
| type2 | type2 | The right-hand line branch | نص | اختياري |
| note | note | Information about the left-hand line branch | نص | اختياري |
| notemid | notemid | Information about the station itself | نص | اختياري |
| note2 | note2 | Information about the right-hand line branch | نص | اختياري |
| oneway1 | oneway1 | Indicates that trains do not operate towards the Previous station | نص | اختياري |
| oneway2 | oneway2 | Indicates that trains do not operate towards the Next station | نص | اختياري |
| through1 | through1 | Allows, instead of a previous station, service passing to another line on the system. | نص | اختياري |
| through2 | through2 | Allows, instead of a next station, service passing to another line on the system. | نص | اختياري |
| county1 | county1 | The county of a station. Useful for disambiguation. | نص | اختياري |
| county2 | county2 | The county of a station. Useful for disambiguation. | نص | اختياري |
| transfer | transfer | Used to show lines available by direct transfer at an adjoining station. | نص | اختياري |
| round1 | round1 | If set displays 'Reverses direction' in left cell | نص | اختياري |
| round2 | round2 | If set displays 'Reverses direction' in right cell | نص | اختياري |
| circular | circular | نص | اختياري | |
| circular1 | circular1 | نص | اختياري | |
| circular2 | circular2 | نص | اختياري | |
| rows1 | rows1 | Number of rows for left hand column | نص | اختياري |
| rowsmid | rowsmid | Number of rows for center hand column | نص | اختياري |
| rows2 | rows2 | Number of rows for right hand column | نص | اختياري |
| hide1 | hide1 | Hides the previous station, used when a previous row has 'rows1' set | نص | اختياري |
| hidemid | hidemid | Hides this station, used when a previous row has 'rowsmid' set | نص | اختياري |
| hide2 | hide2 | Hides the next station, used when a previous row has 'rows2' set | نص | اختياري |
See also
| The above documentation is transcluded from قالب:S-rail-national/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. |