This is a template for generating a symbol indicating the direction of on- / off-ramps for a highway interchange. This template can be used on route junction lists, reducing clutter by replacing otherwise lengthy descriptions (e.g. "eastbound exit and westbound entrance only") in the case of incomplete interchanges.

The corresponding description will instead be used as alt text of the symbol image. It will show up as a tooltip when hovering over the symbol.

The design of the symbols are inspired by the icons used in the official interactive map of the Shuto Expressway.

Note: This template only supports left-hand traffic highways at the moment.

Usage edit

Incomplete interchange edit

For incomplete interchanges, specify the following parameters:

  • |dir= - Describes the direction of the road junction list, from top to bottom.
    • ns - from north to south
    • sn - from south to north
    • ew - from east to west
    • we - from west to east
    • ac - circular route, clockwise direction
    • ca - circular route, anticlockwise direction
  • |quads= - Describes the on- / off-ramps of which the incomplete interchange is composed of. The ramps are referred to by their quadrant number.
    • A list of possible values are shown below. (dir1 and dir2 is determined by |dir=)
Symbol |quads= alt text
1 dir2 exit only
2 dir1 entrance only
3 dir1 exit only
4 dir2 entrance only
12 dir2 exit and dir1 entrance only
13 dir1 and dir2 exits only
14 dir2 exit and entrance only
23 dir1 exit and entrance only
24 dir1 and dir2 entrances only
34 dir1 exit and dir2 entrance only
123 no dir2 entrance
124 no dir1 exit
134 no dir1 entrance
234 no dir2 exit
  • |text= - Additional text added next to the symbol. Typically describes the destinations of the interchange.
    • If not supplied, only the symbol will be displayed.
  • |noonly= - If true, the word "only" is not appended to the end of the alt text.

Complete interchange edit

For complete interchanges (i.e. with exits and entrances on both directions), do not specify the |dir= and |quads= parameters.

Examples edit

Source Output
{{Intsym}} complete interchange
{{Intsym|text=[[Castle Peak Road]]}}
complete interchangeCastle Peak Road
{{Intsym|dir=ns|quads=1}} southbound exit only
{{Intsym|dir=ew|quads=4|noonly=true}} westbound entrance
{{Intsym|dir=ca|quads=234|text=[[Castle Peak Road]]}}
no anticlockwise exitCastle Peak Road
{{Intsym|dir=we|quads=12|text={{Jct|country=HKG|Route|5|location1=[[Tsuen Wan]]}}
eastbound exit and westbound entrance only Route 5 – Tsuen Wan