Template:Infobox U.S. County/doc

From FamilySearch Wiki

(Difference between revisions)
(move adoption sign doc to match new position in infobox)
(move adoption sign doc to mirror change in code)
Line 26: Line 26:
 
| latd                =  
 
| latd                =  
 
| longd                =  
 
| longd                =  
| adoption_sign = 
 
 
| founded title        =
 
| founded title        =
 
| founded year        =  
 
| founded year        =  
Line 47: Line 46:
 
| ex image size        =
 
| ex image size        =
 
| ex image cap        =  
 
| ex image cap        =  
 +
| adoption_sign = 
 
| footnotes            =  
 
| footnotes            =  
 
}}
 
}}
Line 85: Line 85:
  
 
Note: If you wish to display degree, minutes and seconds use whole numbers and the additional parameters ''latm'', ''lats'', ''longm'', ''longs'' and enter '''N''' or '''S''' for ''latNS'' and '''E''' or '''W''' for ''longEW''.
 
Note: If you wish to display degree, minutes and seconds use whole numbers and the additional parameters ''latm'', ''lats'', ''longm'', ''longs'' and enter '''N''' or '''S''' for ''latNS'' and '''E''' or '''W''' for ''longEW''.
 
=== Adoption sign ===
 
A sign as set-up by the [[Help:Adopt-a-page|Adopt-a-page]] program
 
;adoption_sign : (optional) Name of the adoption sign (without braces) ie ''Adoption Example'' and not ''<nowiki>{{Adoption Example}}</nowiki>''
 
;custom_text : (optional) Add addtional custom text to the adoption sign. [[Help:Wiki markup|Wiki markup]] allowed.
 
  
 
=== Date founded ===
 
=== Date founded ===
Line 133: Line 128:
 
; 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
 +
 +
=== Adoption sign ===
 +
A sign as set-up by the [[Help:Adopt-a-page|Adopt-a-page]] program
 +
;adoption_sign : (optional) Name of the adoption sign (without braces) ie ''Adoption Example'' and not ''<nowiki>{{Adoption Example}}</nowiki>''
 +
;custom_text : (optional) Add addtional custom text to the adoption sign. [[Help:Wiki markup|Wiki markup]] allowed.
  
 
=== Footnotes ===
 
=== Footnotes ===

Revision as of 00:43, 9 February 2011

Contents

{{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:

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.

The parameters are listed in the order displayed by the infobox.

{{Infobox U.S. County
| seal                 = 
| seal size            =
| county               =
| boundary_map   =
| county_map           =
| state                = 
| state_map            =
| latd                = 
| longd                = 
| founded title        =
| founded year         = 
| founded date         = 
| motto                = 
| seat                 =
| seat wl              = 
| building image       =
| building image size  =
| building address     =
| web                  = 
| named for            = 
| named for image      =
| named for image size =
| flag                 = 
| flag size            =
| logo                 = 
| logo size            =
| ex image             = 
| ex image size        =
| ex image cap         = 
| adoption_sign =  
| footnotes            = 
}}

Parameters

The parameters below are listed in the order displayed by the infobox.

Name

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

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

These parameters are used to specify the image file to be displayed.

boundary_map  
the image name (name only) i.e. Or-baker-boundary.png
county_map  
the image name (name only), i.e. Or-baker.png
state_map  
the image name (name only), i.e. Oregon.png

Coordinates

latd  
Latitude decimal degrees
longd  
Longitude decimal degrees

Note: If you wish to display degree, minutes and seconds use whole numbers and the additional parameters latm, lats, longm, longs and enter N or S for latNS and E or W for longEW.

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 {{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

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.

seat wl  
name of county seat; the wikilink is created for you: "City" results in "[[City, State|City]]"

County building

An image and address 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)
building address  
(optional) displayed in text below the building image, use <br/> to separate different lines (not dependant on image being shown

Official county web site

web  
(optional) url for website, without "http://" and brackets, i.e. www.LaPorteCounty.org (template automatically generates external link)

Source of county name

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

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)

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

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

Adoption sign

A sign as set-up by the Adopt-a-page program

adoption_sign 
(optional) Name of the adoption sign (without braces) ie Adoption Example and not {{Adoption Example}}
custom_text 
(optional) Add addtional custom text to the adoption sign. Wiki markup allowed.

Footnotes

footnotes  
(optional) text to display next at bottom of infobox (no heading)
https://familysearch.org/learn/wiki/en/index.php?title=Template:Infobox_U.S._County/doc&diff=550225&oldid=491068
familysearch.org
crawl=CC-MAIN-2015-35
58486
application/http; msgtype=response
sha1:N7HD6XK5YE5NAR2MS37K4NQ2D42LGDTJ
<urn:uuid:39287612-f5f5-4c9c-ace3-70b240c4fe7c>
2015-08-31T05:56:15Z
204.9.224.11
sha1:NPJXFRNO6DOCGJXFYHMA2RZDRU4DQPEM
<urn:uuid:4d513dd1-8aee-4bc3-96f7-896651750a16>
https://familysearch.org/learn/wiki/en/index.php?title=Template:Infobox_U.S._County/doc&diff=550225&oldid=491068
response
<urn:uuid:a2862e82-f77e-4080-8dbc-64fc73909024>
robots: classic
hostname: ip-10-171-96-226.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2015-35
operator: CommonCrawl Admin
description: Wide crawl of the web for August 2015
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf