Template:WSDOT State Highway Log/doc
This is a documentation subpage for Template:WSDOT State Highway Log. It may contain usage information, categories and other content that is not part of the original template page. |
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
or2005A
refers to the log published May 4, 2005, containing 2004 data;2005B
refers to the log published April 26, 2006, containing 2005 data.
- For example, to cite the 2010 log, use
- 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
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