Template:WSDOT State Highway Log/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

This template will create a citation, with link, to the appropriate State Highway Log from the Washington State Department of Transportation. The template will fill in the author, date, title, location, and publisher as long as the year is provided.

Note: Prior to 2005, state highway logs were titled with the year they were published instead of the year of their data.

Usage

{{WSDOT State Highway Log |year= |page= |pages= |link= |style= |access-date=}}

Parameters

  • year: the year of the log, found in the title or URL. This parameter is required.
    • For example, to cite the 2010 log, use 2010.
    • 2005 is split into two logs (2005 and 2005B) because of a transition to a new title style. 2005 or 2005A refers to the log published May 4, 2005, containing 2004 data; 2005B refers to the log published April 26, 2006, containing 2005 data.
  • page or pages: the specific page number, if appropriate.
  • link: set to yes to link Washington State Department of Transportation in the citation.
  • style: by default, the template uses {{cite report}}, but can be changed to {{cite web}} using style=alt.
  • access-date: the date the file was accessed.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:WSDOT State Highway Log in articles based on its TemplateData.

TemplateData for WSDOT State Highway Log

<templatedata> { "description": "Citation template for state highway logs from the Washington State Department of Transportation", "params": { "year": { "description": "the year of publication", "type": "string", "required": true }, "page": { "aliases": [ "pages" ], "description": "the page or pages of the log being cited", "type": "number" }, "access-date": { "description": "date the log was accessed", "type": "date" }, "link": { "description": "set to link the publisher" } } } </templatedata>

See also