Difference between revisions of "Template:IowaDOT"

From blackwiki
Jump to navigation Jump to search
imported>Fredddie
(not a journal)
imported>Fredddie
(cite all the years)
Line 1: Line 1:
 
{{#switch:{{{year|2013}}}
 
{{#switch:{{{year|2013}}}
|1965|1970|1982={{cite report
+
{{cite report
  |title={{{year}}} Volume of Traffic on the Primary Road System of Iowa
 
  |publisher={{#ifeq:{{{year}}}|1982
 
  |{{#ifeq:{{{link|}}}|no|Iowa Department of Transportation|[[Iowa Department of Transportation]]}}
 
  |{{#ifeq:{{{link|}}}|no|Iowa State Highway Commission|[[Iowa State Highway Commission]]}}
 
  }}
 
  |date={{{year}}}
 
  }}
 
|#default={{cite report
 
 
   |url=http://www.iowadot.gov/maps/trafbook/trafbook{{{year|2013}}}.pdf
 
   |url=http://www.iowadot.gov/maps/trafbook/trafbook{{{year|2013}}}.pdf
 
   |title={{{year|2013}}} Volume of Traffic on the Primary Road System of Iowa
 
   |title={{{year|2013}}} Volume of Traffic on the Primary Road System of Iowa
Line 16: Line 8:
 
   }}
 
   }}
 
  |date={{#switch:{{{year|}}}
 
  |date={{#switch:{{{year|}}}
   |1984|1994|1996|2000=August {{#expr:{{{year}}}+1}}
+
   |1934=March 25, 1935
 +
  |1938=September 26, 1938
 +
  |1941=April 30, 1942
 +
  |1949=January 1951
 +
  |1953|1984|1994|1996|2000=August {{#expr:{{{year}}}+1}}
 +
  |1956|1962=May {{#expr:{{{year}}}+1}}
 +
  |1959|1965=June {{#expr:{{{year}}}+1}}
 +
  |1968=March 1970
 +
  |1970=July 1971
 +
  |1972=April 1973
 +
  |1974=May 1, 1976
 +
  |1976|1978|1980|1982=December 31, {{{year}}}
 
   |1986|1998|1990|1992={{#expr:{{{year}}}+1}}
 
   |1986|1998|1990|1992={{#expr:{{{year}}}+1}}
 
   |1998=October 1999
 
   |1998=October 1999
Line 22: Line 25:
 
   }}
 
   }}
 
  |accessdate={{date|{{{1|2014-01-01}}}|mdy}}
 
  |accessdate={{date|{{{1|2014-01-01}}}|mdy}}
|format=PDF
 
 
  }}
 
  }}
}}{{#ifeq:{{{new|}}}|yes|[[Category:Iowa road articles needing KML|# {{PAGENAME}}]]}}<noinclude>[[Category:United States highway templates]]
+
}}<noinclude>[[Category:United States highway templates]]
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 02:29, 14 September 2019

Template documentation[view] [edit] [history] [purge]

This template creates a reference used to cite the lengths of Iowa highways

Template parameters

ParameterDescriptionTypeStatus
11

The date the logbook was accessed.

Daterequired
Yearyear

The year of the logbook that is being referenced.

Default
2013
Daterequired
Linklink

This will turn off the wikilink to Iowa Department of Transportation. Only accepts "no".

Stringoptional