Jump to content

Template:TxDOT/doc

From Wikipedia, the free encyclopedia

This template is used for citing the various Highway Designation Files published by the Texas Department of Transportation. It uses {{cite web}} as a base template, so it falls into the Citation Style 1 (CS1) family of templates, but it can be set to emulate CS2 for compatibility with articles that use {{citation}}, which is CS2.

To use this template, insert the following code into the article:

{{TxDOT | type | number |access-date=}}

To use this for the various business routes, Interstates 35E and 35W, or Interstates 69E, 69C and 69W:

{{TxDOT | type | number | X |access-date=}}

For the type, in the first parameter substitute:

  • IH for Interstate Highways
  • US for US Highways
  • UA for US Highway Alternates
  • SH for State Highways
  • SS for State Highway Spurs
  • SL for State Highway Loops
  • FM for Farm to Market Roads
  • FS for Farm to Market Spurs
  • RM for Ranch to Market Roads
  • UR for Urban Roads
  • PR for Park Roads
  • RR for Ranch Roads
  • RE for Recreational Roads
  • BI for Business Interstate Highways
  • BU for Business US Highways
  • BS for Business State Highways
  • BF for Business Farm to Market Roads
  • PA for Principal Arterial State System Roads

For the route, the second parameter use just the numerical portion of the highway number.

For a suffixed Interstate, like Interstate 35W, or a business route, use the letter suffixed in the third parameter.

Other parameters:

  • access-date or accessdate: the date you accessed the Highway Definition File.
  • link: set to "no" to leave the publisher unlinked when repeating the template for a second or third usage on the same article.
  • mode: set to "cs2" to emulate the Citation Style 2 templates.
  • ref: for Harvard-style referencing, if necessary.

This template generates references to the Texas Department of Transportation's Highway Designation Files.

Template parameters

ParameterDescriptionTypeStatus
Type of route1

The type of route being referenced. For example, IH = Interstate Highway.

Linerequired
Route number2

The number of the route being referenced.

Numberrequired
Suffix3

A route suffix, if required. Use for suffixed interstates and business routes.

Lineoptional
Linklink

Set to "no" to leave the publisher unlinked when repeating the template for a second or third usage on the same article.

Default
yes
Unknownoptional
Accessdateaccessdate

The date the Highway Designation File was accessed.

Unknownoptional
Modemode

set to "cs2" to emulate the Citation Style 2 templates.

Lineoptional
Refref

For Harvard-style referencing, if necessary.

Unknownoptional