Template:MYSint/doc

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.

Single entry in the list
This is a typical entry for an expressway, or roads with numbered and named exits.

This is a typical entry for roads without numbered or named exits.

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

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,  ,   and   parameters with  , for example:

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.

Complete table syntax
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
{	"params": { "1": {			"label": "Exit number column(s)", "description": "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", "type": "string", "suggested": true },		"2": {			"label": "Exit name column", "description": "Specify 'name' to turn on the exit name column, or leave blank to omit.", "example": "name", "type": "string", "suggested": true },		"state": { "aliases": [ "territory" ],			"label": "State/territory", "description": "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", "type": "string", "suggested": true },		"division": { "label": "Division", "description": "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", "type": "string", "suggested": true },		"sspan": { "aliases": [ "tspan", "divspan" ],			"label": "State/territory/division cell span", "description": "Number of rows to span the cell specified in the state, territory or division parameter.", "example": "10", "type": "number", "suggested": true, "default": "1" },		"district": { "label": "District", "description": "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.", "type": "string", "suggested": true, "example": "Penampang" },		"district_special": { "label": "District (plain)", "description": "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", "type": "content" },		"dspan": { "label": "District cell span", "description": "Number of rows to span the cell specified in the district parameter.", "example": "5", "type": "number", "suggested": true, "default": "1" },		"location": { "label": "Location", "description": "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.", "type": "content", "suggested": true, "example": "Bukit Besi" },		"lspan": { "label": "Location cell span", "description": "Number of rows to span the cell specified in the location parameter.", "example": "2", "type": "number", "suggested": true, "default": "1" },		"km": { "label": "Kilometre marker", "description": "The distance of this junction from the zeroth kilometre. If a range is to be specified, separate with – (en dash followed by line break).", "example": "48.9", "type": "number", "suggested": true, "default": "–" },		"km_ref": { "label": "Kilometre marker citation", "description": "Citation for the specified kilometre marker. Use one of the existing citation templates instead of just plain text.", "type": "wiki-template-name" },		"kspan": { "label": "Kilometre marker cell span", "description": "Number of rows to span the cell specified in the kilometre marker parameter.", "example": "2", "type": "number", "default": "1" },		"type": { "label": "Junction type", "description": "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", "type": "string" },		"place": { "label": "Place", "description": "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 system)", "type": "content" },		"pspan": { "label": "Place cell span", "description": "Number of rows to span the cell specified in the place parameter.", "example": "2", "type": "number", "default": "1" },		"old": { "label": "Old exit number", "description": "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", "type": "number" },		"ospan": { "label": "Old exit number cell span", "description": "Number of rows to span the cell specified in the old exit number parameter.", "example": "2", "type": "number", "default": "1" },		"exit": { "label": "Exit number", "description": "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", "type": "number", "suggested": true },		"espan": { "label": "Exit number cell span", "description": "Number of rows to span the cell specified in the exit number parameter.", "example": "2", "type": "number", "default": "1" },		"name": { "label": "Junction name", "description": "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", "type": "string", "suggested": true },		"namespan": { "label": "Junction name cell span", "description": "Number of rows to span the cell specified in the junction name parameter.", "example": "2", "type": "number", "default": "1" },		"road": { "label": "Road(s) and destinations", "description": "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": " Senai–Desaru Expressway – Ulu Tiram, Pasir Gudang, Desaru", "type": "content", "suggested": true },		"rspan": { "label": "Road cell span", "description": "Number of rows to span the cell specified in the road parameter.", "example": "2", "type": "number", "default": "1" },		"notes": { "label": "Notes", "description": "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. Western terminus of concurrency with AH141.", "type": "content", "suggested": true },		"nspan": { "label": "Notes cell span", "description": "Number of rows to span the cell specified in the notes parameter.", "example": "2", "type": "number", "default": "1" }	},	"description": "Creates an entry in a Manual of Style-compliant road junction list for a Malaysian road.", "format": "inline" }