Template:MYSint/doc
| This is a documentation subpage for Template:MYSint. It may contain usage information, categories and other content that is not part of the original template page. |
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=|km2=|km_ref=|type=|exit=|name=|road=|notes=}}
This is a typical entry for roads with named exits or locations but unnumbered exit.
{{MYSint||name|state=|sspan=|district=|dspan=|location=|lspan=|km=|km2=|km_ref=|type=|name=|road=|notes=}}
This is a typical entry for roads without numbered or named exits.
{{MYSint|state=|sspan=|district=|dspan=|location=|lspan=|km=|km2=|km_ref=|type=|road=|notes=}}
In Sabah and Sarawak, 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=|km2=|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=|km2=|km_ref=|type=|place=}}
For "through to another road" or international borders roads, replace the |exit=, |name=, |road= and |notes= parameters with |place=, for example:
{{MYSint|exit|name|state=|sspan=|district=|dspan=|location=|lspan=|km=|km2=|km_ref=|type=[concur/trans]|place=Through to another road}}
Notes: concur used for the roads with same number (e g FT1 and AH2), trans used for the roads with different number or unsigned roads.
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=|km2=|km_ref=|kspan=|type=[trans/concur/closed/incomplete/unbuilt/toll/etc/hov]|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=|km2=|km_ref=|kspan=|type=[trans/concur/closed/incomplete/unbuilt/toll/etc/hov]|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/etc/hov],...}}
With the correct parameters this will generate a complete, MOS:RJL-compliant junction list.
Parameters
[edit]TemplateData documentation used by 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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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