Template:Infobox City: Difference between revisions
Jump to navigation
Jump to search
(Spaces are a problem.) |
(New parameters) |
||
Line 1: | Line 1: | ||
{| class="infobox" style="font-size: 90%; width: 22em; text-align: left; border: thin solid #999; margin: .2em; padding: .3em; float: right;" | {| class="infobox" style="font-size: 90%; width: 22em; text-align: left; border: thin solid #999; margin: .2em; padding: .3em; float: right;" | ||
|- | |- | ||
<!-- -->{{!}} colspan="2" style="text-align: center;" {{!}}'''{{{type|City}}} of | <!-- -->{{!}} colspan="2" style="text-align: center;" {{!}}'''{{{type|City}}} of {{{name}}}''' | ||
|- | |- | ||
<!-- -->{{!}} colspan="2" style="text-align: center;" {{!}}{{{logo|}}} | <!-- -->{{!}} colspan="2" style="text-align: center;" {{!}}{{{logo|}}} | ||
|- | |- | ||
!style="background-color: #DBDABA; font-size: 11px;" | | !style="background-color: #DBDABA; font-size: 11px;" | Incorporated | ||
|style="background-color: #F5F5EC;" | [[{{{year}}}]] | |style="background-color: #F5F5EC;" | [[{{{year}}}]] | ||
|- | |- | ||
Line 33: | Line 33: | ||
This template is for cities and towns. The following parameters are '''required''': | This template is for cities and towns. The following parameters are '''required''': | ||
* '''name''' (name of the city or town) | * '''name''' (name of the city or town) | ||
* '''year''' (year the city was | * '''year''' (year the city was incorporated) | ||
* '''population''' (self-explanatory) | * '''population''' (self-explanatory) | ||
* '''mayor''' (name of the mayor) | * '''mayor''' (name of the mayor) | ||
Line 40: | Line 40: | ||
The following parameters are '''optional''', but will display the default if not specified: | The following parameters are '''optional''', but will display the default if not specified: | ||
* '''type''' (usually "Town" or "City"; defaults to "City") | * '''type''' (usually "Town" or "City"; defaults to "City") | ||
* '''logo''' (image of city logo; include full image format (e.g. <nowiki>[[Image:Birmingham city logo.jpg|250px]]</nowiki>); defaults to blank space) | |||
* '''schools''' (the school district; defaults to "'''name''' City Schools") | * '''schools''' (the school district; defaults to "'''name''' City Schools") | ||
* '''council''' (the city's governing body; defaults to "'''name''' City Council") | * '''council''' (the city's governing body; defaults to "'''name''' City Council") | ||
* '''fire''' (the city's fire department; defaults to "'''name''' Fire Department") | * '''fire''' (the city's fire department; defaults to "'''name''' Fire Department") | ||
* '''map''' (map of city location; include full image format (e.g. <nowiki>[[Image:Vestavia Hills map.png|255px]]</nowiki>); defaults to blank space) | |||
These parameters are also '''optional''', having to do with the Google Maps link: | These parameters are also '''optional''', having to do with the Google Maps link: | ||
*'''locate''' (city name for link; defaults to "'''name'''"; used when the name has spaces, which should be replaced with plus signs (+) (e.g. locate=Vestavia+Hills)) | |||
*'''state''' (defaults to "AL") | *'''state''' (defaults to "AL") | ||
*'''zoom''' (0-17, recommended 10-16; defaults to 12) | *'''zoom''' (0-17, recommended 10-16; defaults to 12) | ||
Line 65: | Line 68: | ||
{| class="infobox" style="font-size: 90%; width: 22em; text-align: left; border: thin solid #999; margin: .2em; padding: .3em; float: right;" | {| class="infobox" style="font-size: 90%; width: 22em; text-align: left; border: thin solid #999; margin: .2em; padding: .3em; float: right;" | ||
|- | |- | ||
<!-- -->{{!}} colspan="2" style="text-align: center;" {{!}}'''City of | <!-- -->{{!}} colspan="2" style="text-align: center;" {{!}}'''City of Birmingham''' | ||
|- | |||
<!-- -->{{!}} colspan="2" style="text-align: center;" {{!}} | |||
|- | |- | ||
!style="background-color: #DBDABA; font-size: 11px;" | Founded | !style="background-color: #DBDABA; font-size: 11px;" | Founded | ||
Line 87: | Line 92: | ||
!style="background-color: #DBDABA; font-size: 11px;" | Web site | !style="background-color: #DBDABA; font-size: 11px;" | Web site | ||
|style="background-color: #F5F5EC;" | [http://www.informationbirmingham.com/ informationbirmingham.com] | |style="background-color: #F5F5EC;" | [http://www.informationbirmingham.com/ informationbirmingham.com] | ||
|- | |||
<!-- -->{{!}} colspan="2" style="text-align: center;" {{!}} | |||
|- | |- | ||
<!-- -->{{!}} colspan="2" style="text-align: center;" {{!}}[http://maps.google.com/maps?q=Birmingham,+AL&z=12&t=m Locate with Google Maps] | <!-- -->{{!}} colspan="2" style="text-align: center;" {{!}}[http://maps.google.com/maps?q=Birmingham,+AL&z=12&t=m Locate with Google Maps] |
Revision as of 11:01, 26 July 2007
City of {{{name}}} | |
Incorporated | [[{{{year}}}]] |
---|---|
Population | {{{population}}} |
[[Mayor of {{{name}}}|Mayor]] | [[{{{mayor}}}]] |
School district | [[{{{name}}} City Schools]] |
Government |
[[{{{name}}} City Council]] |
Web site | {{{website}}} |
Locate with Google Maps |
Usage
This template is for cities and towns. The following parameters are required:
- name (name of the city or town)
- year (year the city was incorporated)
- population (self-explanatory)
- mayor (name of the mayor)
- website (official web site for the city)
The following parameters are optional, but will display the default if not specified:
- type (usually "Town" or "City"; defaults to "City")
- logo (image of city logo; include full image format (e.g. [[Image:Birmingham city logo.jpg|250px]]); defaults to blank space)
- schools (the school district; defaults to "name City Schools")
- council (the city's governing body; defaults to "name City Council")
- fire (the city's fire department; defaults to "name Fire Department")
- map (map of city location; include full image format (e.g. [[Image:Vestavia Hills map.png|255px]]); defaults to blank space)
These parameters are also optional, having to do with the Google Maps link:
- locate (city name for link; defaults to "name"; used when the name has spaces, which should be replaced with plus signs (+) (e.g. locate=Vestavia+Hills))
- state (defaults to "AL")
- zoom (0-17, recommended 10-16; defaults to 12)
- type ("m" for map (default), "k" for satellite, "h" for hybrid)
Example
{{Infobox City | name=Birmingham | year=1871 | population=242,820 | mayor=Bernard Kincaid | website=[http://www.informationbirmingham.com/ informationbirmingham.com] | fire=Birmingham Fire and Rescue Service }}
City of Birmingham | |
Founded | 1871 |
---|---|
Population | 242,820 |
Mayor | Bernard Kincaid |
School district | Birmingham City Schools |
Government |
Birmingham City Council |
Web site | informationbirmingham.com |
Locate with Google Maps |