Template:MYSint
Location | km | Exit | Name | Destinations | Notes |
---|---|---|---|---|---|
– | | ||||
This template creates an entry in an MOS:RJL-compliant road junction list for a Malaysian road article, regardless of jurisdiction. It is a sister template to {{Jctint}} and is directly derived from {{Jctint/core}}.
Blank template
[edit]Single entry in the list
[edit]This is a typical entry for an expressway, or roads with numbered and named exits.
{{MYSint|exit|name|state=|sspan=|district=|dspan=|location=|lspan=|km=|km_ref=|type=|exit=|name=|road=|notes=}}
This is a typical entry for roads without numbered or named exits.
{{MYSint|state=|sspan=|district=|dspan=|location=|lspan=|km=|km_ref=|type=|road=|notes=}}
In Sabah, there are named but unnumbered intersections on some roads, in which case this can be used (note that the first parameter is empty).
{{MYSint||name|division=|divspan=|district=|dspan=|location=|lspan=|km=|km_ref=|type=|name=|road=|notes=}}
If a road is entirely within a single state/territory/division and/or a single district, feel free to omit the respective parameters.
To mark a notable or significant bridge, tunnel, layby, service area, toll plaza (the latter three are all notable) or other feature that isn't an exit, replace the |exit=
, |name=
, |road=
and |notes=
parameters with |place=
, for example:
{{MYSint|exit|name|state=|sspan=|district=|dspan=|location=|lspan=|km=–|km_ref=|type=|place=}}
Icons should not be used for such an entry: they would be considered excessive per MOS:ICONS and MOS:ACCESS. The only icons that should be used are for route markers just before a road name.
Here's every parameter supported by the template. Drop parameters that are unnecessary.
{{MYSint|[exit/old]|name|[state/territory/division]=|[sspan/tspan/divspan]=|district=|district_special=|dspan=|location=|lspan=|km=|km_ref=|kspan=|type=[trans/concur/closed/incomplete/unbuilt/toll]|place=|pspan=|old=|ospan=|exit=|espan=|name=|namespan=|road=|rspan=|notes=|nspan=}}
Complete table syntax
[edit]{{MYSinttop|[exit/old]|name|region_col=yes|region_type=[state/territory/division]|district_col=yes|location_ref=|km_ref=|old_ref=|exit_ref=|name_ref=|dest_ref=|notes_ref=|length=}}
{{MYSint|[exit/old]|name|[state/territory/division]=|[sspan/tspan/divspan]=|district=|district_special=|dspan=|location=|lspan=|km=|km_ref=|kspan=|type=[trans/concur/closed/incomplete/unbuilt/toll]|place=|pspan=|old=|ospan=|exit=|espan=|name=|namespan=|road=|rspan=|notes=|nspan=}}
{{Jctbtm|col=[total number of columns]|key=[trans/concur/closed/incomplete/unbuilt/toll],...}}
With the correct parameters this will generate a complete, MOS:RJL-compliant junction list. If table entries that don't fit the constraints of this template are required (e.g. the "through to another road" rows), they can be inserted in between the templates.
Parameters
[edit]TemplateData for MYSint
Creates an entry in a Manual of Style-compliant road junction list for a Malaysian road.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Exit number column(s) | 1 | Specify 'exit' to turn on the exit number column; specify 'old' to turn on both an old and new exit number columns; leave blank to omit.
| String | suggested |
Exit name column | 2 | Specify 'name' to turn on the exit name column, or leave blank to omit.
| String | suggested |
State/territory | state territory | In Peninsular Malaysia, name of the state or territory this junction is in. Omit if spanning from a previous entry, or if the state/territory column is not used. Automatically linked.
| String | suggested |
Division | division | In Sabah or Sarawak, name of the division this junction is in. Omit if spanning from a previous entry, or if the division column is not used. Automatically linked.
| String | suggested |
State/territory/division cell span | sspan tspan divspan | Number of rows to span the cell specified in the state, territory or division parameter.
| Number | suggested |
District | district | The district of the state or division this junction is in. Omit if spanning from a previous entry, or if the district column is not used. Automatically linked.
| String | suggested |
District (plain) | district_special | The district of the state or division this junction is in. Not automatically wikilinked. Use this instead of the normal parameter if the link needs to be disambiguated.
| Content | optional |
District cell span | dspan | Number of rows to span the cell specified in the district parameter.
| Number | suggested |
Location | location | The general location of the junction. There may not necessarily be one if it is distant enough from any significant settlement, in which case use a – (en dash). Omit if spanning from a previous entry. Not automatically wikilinked.
| Content | suggested |
Location cell span | lspan | Number of rows to span the cell specified in the location parameter.
| Number | suggested |
Kilometre marker | km | The distance of this junction from the zeroth kilometre. If a range is to be specified, separate with –<br /> (en dash followed by line break).
| Number | suggested |
Kilometre marker citation | km_ref | Citation for the specified kilometre marker. Use one of the existing citation templates instead of just plain text. | Template | optional |
Kilometre marker cell span | kspan | Number of rows to span the cell specified in the kilometre marker parameter.
| Number | optional |
Junction type | type | The special status of the junction; this will give the row a background colour. If this is used, further details must be specified in the notes cell, and the related key should be provided at the bottom of the table. Choose from one of: trans (route transition), concur (concurrency terminus), closed (closed permanently/for an extended period, or former junction), incomplete (junction does not allow all possible directions), unbuilt (under construction or unopened) or toll (junction is tolled as an exception to the rest of the road).
| String | optional |
Place | place | Name and details of the place (bridge, tunnel, service area, toll plaza, etc.). This spans the exit, name, destinations and notes columns. Omit if spanning from a previous entry.
| Content | optional |
Place cell span | pspan | Number of rows to span the cell specified in the place parameter.
| Number | optional |
Old exit number | old | The junction's old exit number, if there is one. Will only display if the first parameter is 'old'. Omit if spanning from a previous entry.
| Number | optional |
Old exit number cell span | ospan | Number of rows to span the cell specified in the old exit number parameter.
| Number | optional |
Exit number | exit | The junction's exit number, if there is one. Will only display if the first parameter is 'exit or 'old'. Omit if spanning from a previous entry.
| Number | suggested |
Exit number cell span | espan | Number of rows to span the cell specified in the exit number parameter.
| Number | optional |
Junction name | name | Name of the junction, if there is one. Will only display if the second parameter is 'name'. Do not wikilink. Omit if spanning from a previous entry.
| String | suggested |
Junction name cell span | namespan | Number of rows to span the cell specified in the junction name parameter.
| Number | optional |
Road(s) and destinations | road | Route marker(s), followed by name of immediate road(s) and destinations of the junction, as signposted. Link road names and destinations, except if they were recently used in the same table to avoid overlinking. Omit if spanning from a previous entry.
| Content | suggested |
Road cell span | rspan | Number of rows to span the cell specified in the road parameter.
| Number | optional |
Notes | notes | Any notes for the junction. If type is used, details of the restriction must be specified here. Omit if spanning from a previous entry.
| Content | suggested |
Notes cell span | nspan | Number of rows to span the cell specified in the notes parameter.
| Number | optional |
See also
[edit]- {{MYSinttop}}, this template's associated header
- {{Jctbtm}}, the general footer also used by other jurisdictions
- {{Jctint/core}} and Module:Jctint/core, the base template and module
- Template:Jctint/doc/suite, list of road junction list templates derived from the base template