This is a documentation subpage for Template:SGPint. It may contain usage information, categories and other content that is not part of the original template page. |
This is a template for generating a junction list for Singapore expressways formatted as per MOS:RJL.
Usage
editThe basic syntax to create a junction table is shown below:
{{SGPinttop}}
{{SGPint
|location=
|lspan=
|km=
|flyover=
|exit=
|road=
|notes=
}}
{{jctbtm|col=7|keys=incomplete,trans}}
For a real-world example, refer to Pan Island Expressway.
Parameters
editTable columns
editRefer to MOS:RJL#Standard columns for a more in-depth style guide on how the parameters should be specified.
- Location: The location name of the specific flyover/exit.
|location=
specifies the location name to be displayed. This should generally refer to a planning area.|location_link=
overrides the wikilinked article name. Use this if the article name is not the same as the display name. Defaults to|location=
.|location_special=
overrides the wikicode that is generated. Defaults to a wikilink of the location name.
- km/mi: The kilometre-post/mile marker of the exit.
|km=
specifies the distance (in kilometres) of the exit from the start of the expressway. Will automatically convert to miles.
- Flyover: The name of the flyover.
|flyover=
specifies the name of the flyover/interchange that the exit is part of.|fspan=
specifies the row span for the Flyover cell.
- Exit: The exit number.
|exit=
specifies the exit number.|espan=
specifies the row span for the Exit cell.
- Destinations: The list of destinations for the exit.
|road=
specifies the list of destinations for this particular exit.|rspan=
specifies the row span for the Destinations cell.
- Notes: Additional notes for the exit.
|notes=
specifies the notes to add.|nspan=
specifies the row span for the Notes cell.- Important: Use
notes=none
if the previous row(s) specifiednspan
in order to prevent creating a new cell.
- Important: Use
Appearance
edit|type=
specifies the junction type. Refer to MOS:RJL#Colors for the full list.|jspan=
specifies the default row span for the row (defaults to 1). Can be overridden by other*span
parameters.|rcspan=
specifies the column span across the destination and notes columns (defaults to 1).
Examples
editSimple example
editSimple example that showcases the use of the most common parameters.
Location | km | mi | Flyover | Exit | Destinations | Notes |
---|---|---|---|---|---|---|
Clementi | 27.3 | 17.0 | Clementi North | 27 | AYE | |
28.8 | 17.9 | Toh Tuck | 28 | Clementi Avenue 6 | No westbound exit | |
1.000 mi = 1.609 km; 1.000 km = 0.621 mi
|
Source code
{{SGPinttop}}
{{SGPint
|location=Clementi
|location_link=Clementi, Singapore
|lspan=2
|km=27.3
|flyover=Clementi North
|exit=27
|road=[[Ayer Rajah Expressway|AYE]]
}}
{{SGPint
|km=28.8
|flyover=Toh Tuck
|exit=28
|road=Clementi Avenue 6
|notes=No westbound exit
|type=incomplete
}}
{{jctbtm|col=7|keys=incomplete,trans}}
Example without flyover column
editExample that excludes the flyover column (use the |noflyover=
parameter to indicate that the table should not include the column.
Location | km | mi | Exit | Destinations | Notes |
---|---|---|---|---|---|
Clementi | 27.3 | 17.0 | 27 | AYE | |
1.000 mi = 1.609 km; 1.000 km = 0.621 mi
|
Source code
{{SGPinttop|noflyover=true}}
{{SGPint
|location=Clementi
|location_link=Clementi, Singapore
|km=27.3
|exit=27
|road=[[Ayer Rajah Expressway|AYE]]
}}
{{jctbtm|col=6|keys=incomplete,trans}}
See also
edit- {{SGPinttop}}: Generates the junction table header, should be used in conjunction with this template.