Template:Intsym/doc

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.

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

Incomplete interchange
For incomplete interchanges, specify the following parameters:


 * dir - Describes the direction of the road junction list, from top to bottom.
 * - from north to south
 * - from south to north
 * - from east to west
 * - from west to east
 * - circular route, clockwise direction
 * - 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)


 * 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
For complete interchanges (i.e. with exits and entrances on both directions), do not specify the dir and quads parameters.