Template:Maryland HLR/doc

From Wikipedia, the free encyclopedia

Maryland HLR is a template that simplifies and better organizes reference calls to the Maryland State Highway Administration's (MDSHA) Highway Location Reference (HLR), an annual publication that serves as a major resource for articles about portions of the Maryland highway system. The HLR provides milepoint and length data, crossroad names and classification, segment traffic data, and some bridge and signage information about all state highways, which include Interstate Highways, U.S. Highways, and Maryland state highways and all levels of classification from freeways to service roads. The resource also includes county maps of state highways and updates to the state highway system within particular counties within the relevant year. Each annual edition—the editions from between 1999 and 2015 are accessible online—is split into a document for each of the 23 counties of Maryland. There is also an HLR document for the independent city of Baltimore (usually referenced as Baltimore City) for 2005.

Usage[edit]

In its most basic form, this template provides a link to the HLR webpage of the MDSHA website. There are no mandatory parameters; however, there are several optional parameters that make the template very useful for referencing information in the publication.

  • year: a four-digit year between 1999 and 2022. The default value is 2022.
  • countyX: name of the county. Replace X with a number between 1 and 9. Use the properly spelled name of the county without the generic County at the end. For St. Mary's County, you must use the abbreviation for Saint; Saint Mary's will not work. Up to nine counties may be included in each use of this template. Use Baltimore City for the HLR document for Baltimore only if the year parameter is 2005; otherwise, the output will be incorrect. Baltimore City must be called in the county1 parameter. There is no prohibition on calling other counties in the same template as calling Baltimore City, but that would only occur in the very unlikely situation you were referencing the county HLR of the same year as the Baltimore City HLR referenced.
  • pageX: page number referenced in the HLR document for county X.
  • pagesX: same as pageX, but takes multiple pages. There is no prohibition on using both page parameters for the same county, but the output will be messy.
  • link: set to yes to link Maryland State Highway Administration.
  • access-date: date the HLR was accessed. Date may be in any format. (Alias: accessdate)

The county HLR files are accessed from the Maryland State Highway Administration website. The Baltimore City HLRs are stored on a third-party website.

Examples[edit]

Most basic use
{{Maryland HLR}}

Highway Information Services Division (December 31, 2022). Highway Location Reference. Maryland State Highway Administration.


Generic use when only referring to the entire HLR
{{Maryland HLR |link=yes |year=2010 |accessdate=February 1, 2012}}

Highway Information Services Division (December 31, 2010). Highway Location Reference. Maryland State Highway Administration. Retrieved February 1, 2012.


Single county example
{{Maryland HLR |year=2016 |county1=Garrett |accessdate=September 18, 2016}}

Highway Information Services Division (December 31, 2016). Highway Location Reference. Maryland State Highway Administration. Retrieved September 18, 2016.


Multiple county example
{{Maryland HLR |year=2012 |county1=St. Mary's |county2=Calvert |county3=Anne Arundel |county4=Prince George's |accessdate=2013-07-27}}

Highway Information Services Division (December 31, 2012). Highway Location Reference. Maryland State Highway Administration. Retrieved 2013-07-27.


Page example
{{Maryland HLR |year=2008 |county1=Dorchester |county2=Caroline |pages1=15–20 |page2=34 |accessdate=July 6, 2008}}

Highway Information Services Division (December 31, 2008). Highway Location Reference. Maryland State Highway Administration. Retrieved July 6, 2008.


Pages example
{{Maryland HLR |year=2002 |county1=Worcester |pages1=18,20–22 |accessdate=March 12, 2010}}

Highway Information Services Division (December 31, 2002). Highway Location Reference. Maryland State Highway Administration. Retrieved March 12, 2010.


Standard use for citing lengths for Baltimore
{{Maryland HLR |year=2005 |county1=Baltimore City |accessdate=26 January 2012}}

Highway Information Services Division (December 31, 2005). Highway Location Reference. Maryland State Highway Administration. Retrieved 26 January 2012.


Incorrect use for Baltimore
{{Maryland HLR |year=2009 |county1=Baltimore City |accessdate=2011-03-14}}

Highway Information Services Division (December 31, 2009). Highway Location Reference. Maryland State Highway Administration. Retrieved 2011-03-14.


Two-name counties test
{{Maryland HLR |year=2016 |county1=St. Mary's |county2=Queen Anne's |county3=Anne Arundel |county4=Prince George's |accessdate=18 September 2017}}

Highway Information Services Division (December 31, 2016). Highway Location Reference. Maryland State Highway Administration. Retrieved 18 September 2017.


Extreme case
U.S. Route 40 in Maryland
{{Maryland HLR |year=2016 |county1=Garrett |county2=Allegany |county3=Washington |county4=Frederick |county5=Carroll |county6=Howard |county7=Baltimore |county8=Harford |county9=Cecil |accessdate=September 18, 2017}}

Highway Information Services Division (December 31, 2016). Highway Location Reference. Maryland State Highway Administration. Retrieved September 18, 2017.

Note: Because the only HLR document for Baltimore is from 2005, a separate template instance needs to be used to reference the length for the city's portion of US 40.

See also[edit]

  • Template:Maryland SRC report, a template for referencing Maryland State Roads Commission reports.\
  • Template:Maryland road map, a template for referencing official Maryland state highway maps that show the entire state and include insets of major cities for various years beginning in 1910.
  • Template:Maryland grid map, a template for referencing the official state highway grid maps that show the details of the state and local highway systems.