Jump to content

Template:MYSint/doc

From Wikipedia, the free encyclopedia

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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:MYSint in articles based on its TemplateData.

TemplateData for MYSint

Creates an entry in a Manual of Style-compliant road junction list for a Malaysian road.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
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.

Example
exit
Stringsuggested
Exit name column2

Specify 'name' to turn on the exit name column, or leave blank to omit.

Example
name
Stringsuggested
State/territorystate 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.

Example
Penang
Stringsuggested
Divisiondivision

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.

Example
Kuching
Stringsuggested
State/territory/division cell spansspan tspan divspan

Number of rows to span the cell specified in the state, territory or division parameter.

Default
1
Example
10
Numbersuggested
Districtdistrict

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.

Example
Penampang
Stringsuggested
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.

Example
[[Betong District, Sarawak|Betong]]
Contentoptional
District cell spandspan

Number of rows to span the cell specified in the district parameter.

Default
1
Example
5
Numbersuggested
Locationlocation

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.

Example
[[Bukit Besi]]
Contentsuggested
Location cell spanlspan

Number of rows to span the cell specified in the location parameter.

Default
1
Example
2
Numbersuggested
Kilometre markerkm

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).

Default
Example
48.9
Numbersuggested
Kilometre marker citationkm_ref

Citation for the specified kilometre marker. Use one of the existing citation templates instead of just plain text.

Templateoptional
Kilometre marker cell spankspan

Number of rows to span the cell specified in the kilometre marker parameter.

Default
1
Example
2
Numberoptional
Junction typetype

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).

Example
incomplete
Stringoptional
Placeplace

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.

Example
Awan Besar toll plaza (westbound; [[Barrier toll system|barrier system]])
Contentoptional
Place cell spanpspan

Number of rows to span the cell specified in the place parameter.

Default
1
Example
2
Numberoptional
Old exit numberold

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.

Example
140
Numberoptional
Old exit number cell spanospan

Number of rows to span the cell specified in the old exit number parameter.

Default
1
Example
2
Numberoptional
Exit numberexit

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.

Example
2603
Numbersuggested
Exit number cell spanespan

Number of rows to span the cell specified in the exit number parameter.

Default
1
Example
2
Numberoptional
Junction namename

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.

Example
Changkat Jering
Stringsuggested
Junction name cell spannamespan

Number of rows to span the cell specified in the junction name parameter.

Default
1
Example
2
Numberoptional
Road(s) and destinationsroad

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.

Example
{{MES-E(2)|22}} [[Senai–Desaru Expressway]]&nbsp;– [[Ulu Tiram]], [[Pasir Gudang]], [[Desaru]]
Contentsuggested
Road cell spanrspan

Number of rows to span the cell specified in the road parameter.

Default
1
Example
2
Numberoptional
Notesnotes

Any notes for the junction. If type is used, details of the restriction must be specified here. Omit if spanning from a previous entry.

Example
Westbound exit, eastbound entrance only.<br />Western terminus of concurrency with [[AH141]].
Contentsuggested
Notes cell spannspan

Number of rows to span the cell specified in the notes parameter.

Default
1
Example
2
Numberoptional

See also

[edit]