Template:Infobox U.S. Town/docEdit This Page

From FamilySearch Wiki

Contents

{{Infobox U.S. Town}} is the standard infobox used for all town articles in the United States.

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. Town
| seal                 = 
| seal size            =
| town                 =
| town_map             =
| county               = 
| county_map           =
| state                = 
| 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         = 
| footnotes            = 
}}

Parameters

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

Name

These parameters specify the name of the town and state and are displayed in the infobox title as "Town, State" (IMPORTANT: do not WikiLink these with [[ ]] because they are used for other purposes in the template code).

town  
the town name
state  
the state name, i.e. Maryland

Town seal

An image of the town 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) Town seal image (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)

Location maps

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

town_map  
the image name (name only), i.e. Town.png
county_map  
the image name (name only), i.e. Or-baker.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)

Town motto

motto  
(optional) the town motto

Town 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 town seat; the wikilink is created for you: "City" results in "[[City, State|City]]"

Town 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)
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 town web site

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

Source of town name

named for  
(optional) text describing meaning of town'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)

Town flag

An image of the town flag can be displayed near the bottom of the infobox. Use only the file name, without the Image: or File: prefix.

flag  
(optional) town flag image (name only)
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 town logo can be displayed near the bottom of the infobox. Use only the file name, without the Image: or File: prefix.

logo  
(optional) town logo image (name only)
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)
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

footnotes  
(optional) text to display next at bottom of infobox (no heading)


  • This page was last modified on 14 September 2010, at 16:16.
  • This page has been accessed 317 times.