Template:Infobox U.S. County/doc: Difference between revisions
No edit summary |
(add building image move seal and motto) |
||
(22 intermediate revisions by 5 users not shown) | |||
Line 8: | Line 8: | ||
* [[Template:Historical populations|Historical populations]] - used to list the population of the county per decade. | * [[Template:Historical populations|Historical populations]] - used to list the population of the county per decade. | ||
== Usage | == Usage == | ||
This blank template includes some optional parameters that must be omitted if not used (will not work properly if left blank), plus some older parameters that still work but have been replaced by newer parameter names. See the parameter documentation below for more details. | |||
This blank template includes some optional parameters that must be omitted if not used (will not work properly if left blank), plus some older parameters that still work but have been replaced by newer parameter names. See the parameter documentation below for more details. | |||
The parameters are listed in the order displayed by the infobox. | The parameters are listed in the order displayed by the infobox. | ||
{|style="background:transparent;" | |||
{| style="background: | |<pre> | ||
{{Infobox U.S. County | |||
| <pre>{{Infobox U.S. County | |||
| seal = | | seal = | ||
| seal size = | | seal size = | ||
| county | | county = | ||
| county_map = | | county_map = | ||
| state = | | state = | ||
| state_map = | | state_map = | ||
| founded title = | | founded title = | ||
| founded year = | | founded year = | ||
| founded date = | | founded date = | ||
| motto = | | motto = | ||
| seat = | | seat = | ||
Line 35: | Line 29: | ||
| building image = | | building image = | ||
| building image size = | | building image size = | ||
| web = | | web = | ||
| named for = | | named for = | ||
Line 48: | Line 40: | ||
| ex image size = | | ex image size = | ||
| ex image cap = | | ex image cap = | ||
| footnotes = | | footnotes = | ||
}} | }} | ||
Line 67: | Line 58: | ||
; seal size : (optional) Allows changing image size from 75px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size) | ; seal size : (optional) Allows changing image size from 75px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size) | ||
=== Location maps | === Location maps === | ||
These parameters are used to specify the image file to be displayed. | |||
These parameters are used to specify the image file to be displayed. | ;county_map : the image name (name only), i.e. Or-baker.png | ||
;state_map : the image name (name only), i.e. Oregon.png | |||
;county_map | |||
:the image name (name only), i.e. Or-baker.png | |||
;state_map | |||
:the image name (name only), i.e. Oregon.png | |||
; | === Seal === | ||
: | ;seal : (optional) the image name (name only) | ||
;seal size : (optional) allows changing image size from 75px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size) | |||
=== Date founded === | |||
The old way of specifying this was via the '''founded''' parameter. Although that still works, the new method is via the following parameters. The year and date use the {{tl|AutoLink}} template to automatically generate a WikiLink if an article with a matching name exists. | |||
The old way of specifying this was via the '''founded''' parameter. Although that still works, the new method is via the following parameters. | |||
; founded year : if you include a reference, the auto-wikilink won't work, so add [[ ]] around the year | ; founded year : if you include a reference, the auto-wikilink won't work, so add [[ ]] around the year | ||
; founded date : (optional) syntax is: February 1 | ; founded date : (optional) syntax is: February 1 | ||
; founded title : (optional) text to replace the default heading "Founded" (IMPORTANT: omit this parameter if not used; leaving it blank will cause a blank box to left of year) | ; founded title : (optional) text to replace the default heading "Founded" (IMPORTANT: omit this parameter if not used; leaving it blank will cause a blank box to left of year) | ||
=== County motto === | |||
; motto : (optional) the county motto | ; motto : (optional) the county motto | ||
=== County seat === | |||
The old way of specifying this was via the '''seat''' parameter. Although that still works, a new method that automatically generates the WikiLink is shown below. | The old way of specifying this was via the '''seat''' parameter. Although that still works, a new method that automatically generates the WikiLink is shown below. | ||
; seat wl : name of county seat; the wikilink is created for you: "City" results in "<nowiki>[[City, State|City]]</nowiki>" | ; seat wl : name of county seat; the wikilink is created for you: "City" results in "<nowiki>[[City, State|City]]</nowiki>" | ||
=== | === Building image === | ||
A image of the courthouse or city hall can be displayed. Use only the file name, without the Image: or File: prefix. | |||
; building image : (optional) building image (name only), i.e. Dorchester County courthouse.jpg | ; building image : (optional) building image (name only), i.e. Dorchester County courthouse.jpg | ||
; building image size : (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size) | ; building image size : (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size) | ||
;web | === Official county web site === | ||
:(optional) url for | ; web : (optional) url for website, without "http://" and brackets, i.e. www.LaPorteCounty.org (template automatically generates external link) | ||
=== Source of county name === | === Source of county name === | ||
Line 137: | Line 108: | ||
; ex image size : (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size) | ; ex image size : (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size) | ||
; ex image cap : (optional) a caption displayed in small text below the extra image | ; ex image cap : (optional) a caption displayed in small text below the extra image | ||
=== Footnotes === | === Footnotes === | ||
; footnotes : (optional) text to display next at bottom of infobox (no heading) | ; footnotes : (optional) text to display next at bottom of infobox (no heading) | ||
<includeonly> | <includeonly> | ||
[[Category: | [[Category:United States subdivision infobox templates|County]] | ||
[[Category:United States county infobox templates| ]] | |||
</includeonly> | </includeonly> |
Revision as of 10:25, 11 August 2009
![]() |
This is a documentation subpage for Template:Infobox U.S. County (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
{{Infobox U.S. County}} is the standard infobox used for all county articles in the United States.
Other templates that are helpful for U.S. County articles:
- Historical populations - used to list the population of the county per decade.
Usage[edit source]
This blank template includes some optional parameters that must be omitted if not used (will not work properly if left blank), plus some older parameters that still work but have been replaced by newer parameter names. See the parameter documentation below for more details.
The parameters are listed in the order displayed by the infobox.
{{Infobox U.S. County | seal = | seal size = | county = | county_map = | state = | state_map = | founded title = | founded year = | founded date = | motto = | seat = | seat wl = | building image = | building image size = | web = | named for = | named for image = | named for image size = | flag = | flag size = | logo = | logo size = | ex image = | ex image size = | ex image cap = | footnotes = }} |
Parameters[edit source]
The parameters below are listed in the order displayed by the infobox.
Name[edit source]
These parameters specify the name of the county and state and are displayed in the infobox title as "County, State" (IMPORTANT: do not WikiLink these with [[ ]] because they are used for other purposes in the template code).
- county
- the county name including the word "County", i.e. Dorchester County
- state
- the state name, i.e. Maryland
County seal[edit source]
An image of the county seal can be displayed near the top of the infobox, immediately below the title. Use only the file name, without the Image: or File: prefix.
- seal
- (optional) County seal image (name only), i.e. Dorchester County md seal.png
- seal size
- (optional) Allows changing image size from 75px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
Location maps[edit source]
These parameters are used to specify the image file to be displayed.
- county_map
- the image name (name only), i.e. Or-baker.png
- state_map
- the image name (name only), i.e. Oregon.png
Seal[edit source]
- seal
- (optional) the image name (name only)
- seal size
- (optional) allows changing image size from 75px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
Date founded[edit source]
The old way of specifying this was via the founded parameter. Although that still works, the new method is via the following parameters. The year and date use the {{AutoLink}} template to automatically generate a WikiLink if an article with a matching name exists.
- founded year
- if you include a reference, the auto-wikilink won't work, so add [[ ]] around the year
- founded date
- (optional) syntax is: February 1
- founded title
- (optional) text to replace the default heading "Founded" (IMPORTANT: omit this parameter if not used; leaving it blank will cause a blank box to left of year)
County motto[edit source]
- motto
- (optional) the county motto
County seat[edit source]
The old way of specifying this was via the seat parameter. Although that still works, a new method that automatically generates the WikiLink is shown below.
- seat wl
- name of county seat; the wikilink is created for you: "City" results in "[[City, State|City]]"
Building image[edit source]
A image of the courthouse or city hall can be displayed. Use only the file name, without the Image: or File: prefix.
- building image
- (optional) building image (name only), i.e. Dorchester County courthouse.jpg
- building image size
- (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
Official county web site[edit source]
- web
- (optional) url for website, without "http://" and brackets, i.e. www.LaPorteCounty.org (template automatically generates external link)
Source of county name[edit source]
- named for
- (optional) text describing meaning of county's name
- named for image
- (optional) the named for image (name only)
- named for size
- (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
County flag[edit source]
An image of the county flag can be displayed near the bottom of the infobox. Use only the file name, without the Image: or File: prefix.
- flag
- (optional) county flag image (name only), i.e. Dorchester County flag.png
- flag size
- (optional) allows changing image size from 100px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
County logo[edit source]
An image of the county logo can be displayed near the bottom of the infobox. Use only the file name, without the Image: or File: prefix.
- logo
- (optional) county logo image (name only), i.e. Dorchester County logo.png
- logo size
- (optional) allows changing image size from 100px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
Extra image[edit source]
An additional image can be displayed near the bottom of the infobox. Use only the file name, without the Image: or File: prefix.
- ex image
- (optional) extra image (name only), i.e. Dorchester County courthouse.jpg
- ex image size
- (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
- ex image cap
- (optional) a caption displayed in small text below the extra image
Footnotes[edit source]
- footnotes
- (optional) text to display next at bottom of infobox (no heading)