Template:MYSinttop
State/territory | District | Location | km | Exit | Name | Destinations | Notes |
---|---|---|---|---|---|---|---|
This template generates the table header for an MOS:RJL-compliant road junction list for a Malaysian road article, regardless of jurisdiction. It is a sister template to {{Jcttop}} and is directly derived from {{Jcttop/core}}.
Blank template
[edit]This is a typical entry for an expressway, or roads with numbered and named exits.
{{MYSinttop|exit|name|region_col=yes|region_type=|district_col=yes|location_ref=|km_ref=|old_ref=|exit_ref=|name_ref=|dest_ref=|notes_ref=}}
This is a typical entry for roads without numbered or named exits.
{{MYSinttop|region_col=|region_type=|district_col=|location_ref=|km_ref=|old_ref=|exit_ref=|name_ref=|dest_ref=|notes_ref=}}
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).
{{MYSinttop||name|region_col=|region_type=|district_col=|location_ref=|km_ref=|old_ref=|exit_ref=|name_ref=|dest_ref=|notes_ref=}}
If a road is entirely within a single state/territory/division and/or a single district, feel free to omit the respective parameters.
Parameters
[edit]TemplateData for MYSinttop
Generates the header for 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 |
Region column | region_col | Enter any value to turn on the region column; leave blank to omit.
| String | suggested |
Region type | region_type | The header for the region column. Accepted values are: 'state' or 'territory' (Peninsular Malaysia), or 'division' (East Malaysia). Any other value or omitting would output "State/territory". Presently, "territory" should not have any use.
| String | suggested |
District column | district_col | Enter any value to turn on the district column; leave blank to omit.
| String | suggested |
Location column citation | location_ref | Citation for the location column. Use one of the existing citation templates instead of just plain text. | Template | optional |
Kilometre marker column citation | km_ref | Citation for the kilometre marker column. Use one of the existing citation templates instead of just plain text. | Template | optional |
Old exit number column citation | old_ref | Citation for the old exit number column. Use one of the existing citation templates instead of just plain text. | Template | optional |
Exit number column citation | exit_ref | Citation for the exit number column. Use one of the existing citation templates instead of just plain text. | Template | optional |
Exit name column citation | name_ref | Citation for the exit name column. Use one of the existing citation templates instead of just plain text. | Template | optional |
Destination column citation | dest_ref | Citation for the destination column. Use one of the existing citation templates instead of just plain text. | Template | optional |
Notes column citation | notes_ref | Citation for the notes column. Use one of the existing citation templates instead of just plain text. | Template | optional |
See also
[edit]- {{MYSint}}, the template to generate entries
- {{Jctbtm}}, the general footer also used by other jurisdictions
- {{Jcttop/core}} and Module:Jcttop/core, the base template and module
- Template:Jctint/doc/suite, list of road junction list templates derived from the base template