Template:Jct

From Ava Zinn Wiki
Jump to: navigation, search


The Template:JctUS is a quick variation of Template:Jct, but only for U.S. roads. This template was written to handle over 1,730 road-junction formats, selected by parameters 1, 3, 5 and 7 as follows:

  • SH         – State Highway n
  • SR         – State Route n
  • SR-Bus   – State Route n Business
  • US         – U.S. Route n
  • US-Alt   – U.S. Route Alternate n
  • FM         – Farm to Market Road {2}
  • I            – Interstate n (highway I-n)
  • I-Spur – Interstate n Spur (highway I-n)
  • CR          – County Route n
  • Spur    – Spur
  • Toll    – Toll road
  • Parkway – Parkway (Pky)

Up to 4 roads can be specified at once. The parameter "to2=1" or "to3=1" must be specified to show "to" before road #2 or #3 (etc.), and 2nd road name as "name2=xx" with direction as "dir2=east" or similar.

Other codes can be implemented under the #switch on parameter {{{1}}}.

For parameter names, see: Template:Jct/doc.

See also[edit]