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

From FamilySearch Wiki

Contents

{{Infobox U.S. City}} is the standard infobox used for all city 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. City
| seal                 = 
| seal size            =
| city                 =
| city_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 City and state and are displayed in the infobox title as "City, State" (IMPORTANT: do not WikiLink these with [[ ]] because they are used for other purposes in the template code).

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

City seal

An image of the city 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) City 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.

city_map  
the image name (name only), i.e. City.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)

City motto

motto  
(optional) the city motto

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

City 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 city web site

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

Source of city name

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

City flag

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

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

logo  
(optional) city 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:15.
  • This page has been accessed 314 times.