Difference between revisions of "Template:Cite IowaDOT map/doc"

From blackwiki
Jump to navigation Jump to search
imported>Fredddie
(create doc)
 
imported>Debresser
m (Forgot this one.)
 
(11 intermediate revisions by 5 users not shown)
Line 5: Line 5:
 
This template is based on {{tl|Cite map}} so it falls into the [[Help:Citation Style 1|Citation Style 1]] (CS1) series of templates.
 
This template is based on {{tl|Cite map}} so it falls into the [[Help:Citation Style 1|Citation Style 1]] (CS1) series of templates.
 
== Usage ==
 
== Usage ==
<pre>{{cite IowaDOT map |year= |month |link= |alt= |inset= |section= |sections= |accessdate= }}</pre>
+
<pre>{{cite IowaDOT map |year={{subst:#time:Y}} |month= |link= |alt= |inset= |section= |sections= |access-date={{subst:#time:F j, Y}}}}</pre>
  
 +
== Parameters ==
 +
<templatedata>
 +
{
 +
"params": {
 +
"year": {
 +
"label": "year",
 +
"description": "The year the map was published, or RR for the railroad map",
 +
"type": "string",
 +
"required": true
 +
},
 +
"link": {
 +
"label": "link",
 +
"description": "Turns off the wikilink to Iowa Department of Transportation",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"access-date": {
 +
"label": "date",
 +
"description": "The date the map was accessed",
 +
"type": "date",
 +
"required": true
 +
},
 +
"alt": {
 +
"label": "alt",
 +
"description": "In some years, an alternate map was produced, only accepts \"yes\"",
 +
"type": "string"
 +
},
 +
"month": {
 +
"label": "month",
 +
"description": "In some years, more than one map was produced, accepts two-digit or three-letter abbreviated or full month names (01, Jan, or January)",
 +
"type": "string"
 +
},
 +
"inset": {
 +
"label": "inset",
 +
"description": "If citing a city inset, specify which city",
 +
"type": "string"
 +
},
 +
"section": {
 +
"label": "section",
 +
"description": "Section of the map (E4)",
 +
"type": "string"
 +
},
 +
"sections": {
 +
"label": "sections",
 +
"description": "If the citation spans more than one section of the map (E4–F4)",
 +
"type": "string"
 +
}
 +
},
 +
"description": "This template creates a reference for maps published by the Iowa Department of Transportation or the Iowa State Highway Commission"
 +
}
 +
</templatedata>
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Citation Style 1 specific-source templates]]
+
[[Category:United States highway citation templates|Iowa]]
[[Category:Specific-source templates]]
 
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 18:13, 30 August 2020

This template is used for referencing maps published by the Iowa Department of Transportation or the Iowa State Highway Commission. This template will fill out the appropriate details for each map in its listing. `

This template is based on {{Cite map}} so it falls into the Citation Style 1 (CS1) series of templates.

Usage

{{cite IowaDOT map |year={{subst:#time:Y}} |month= |link= |alt= |inset= |section= |sections= |access-date={{subst:#time:F j, Y}}}}

Parameters

This template creates a reference for maps published by the Iowa Department of Transportation or the Iowa State Highway Commission

Template parameters

ParameterDescriptionTypeStatus
yearyear

The year the map was published, or RR for the railroad map

Stringrequired
linklink

Turns off the wikilink to Iowa Department of Transportation

Stringsuggested
dateaccess-date

The date the map was accessed

Daterequired
altalt

In some years, an alternate map was produced, only accepts "yes"

Stringoptional
monthmonth

In some years, more than one map was produced, accepts two-digit or three-letter abbreviated or full month names (01, Jan, or January)

Stringoptional
insetinset

If citing a city inset, specify which city

Stringoptional
sectionsection

Section of the map (E4)

Stringoptional
sectionssections

If the citation spans more than one section of the map (E4–F4)

Stringoptional