Jump to content

Template:MYSinttop/doc

From Wikipedia, the free encyclopedia

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

TemplateData for MYSinttop

Generates the header for 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
Region columnregion_col

Enter any value to turn on the region column; leave blank to omit.

Example
yes
Stringsuggested
Region typeregion_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.

Default
State/territory
Example
State
Stringsuggested
District columndistrict_col

Enter any value to turn on the district column; leave blank to omit.

Example
yes
Stringsuggested
Location column citationlocation_ref

Citation for the location column. Use one of the existing citation templates instead of just plain text.

Templateoptional
Kilometre marker column citationkm_ref

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

Templateoptional
Old exit number column citationold_ref

Citation for the old exit number column. Use one of the existing citation templates instead of just plain text.

Templateoptional
Exit number column citationexit_ref

Citation for the exit number column. Use one of the existing citation templates instead of just plain text.

Templateoptional
Exit name column citationname_ref

Citation for the exit name column. Use one of the existing citation templates instead of just plain text.

Templateoptional
Destination column citationdest_ref

Citation for the destination column. Use one of the existing citation templates instead of just plain text.

Templateoptional
Notes column citationnotes_ref

Citation for the notes column. Use one of the existing citation templates instead of just plain text.

Templateoptional

See also

[edit]