• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:TxDOT/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:TxDOT
This is the template sandbox page for Template:TxDOT (diff).
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:TxDOT

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[Edit template data]

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
The above documentation is transcluded from Template:TxDOT/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:TxDOT/sandbox&oldid=884444243"
Last edited on 21 February 2019, at 17:48

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 21 February 2019, at 17:48 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop