Template:Infobox City: Difference between revisions
Jump to navigation
Jump to search
(Didn't think of that) |
(More wizardry) |
||
Line 19: | Line 19: | ||
!style="background-color: #F5F5EC; font-size: 11px;" | Government | !style="background-color: #F5F5EC; font-size: 11px;" | Government | ||
| style="background-color: #FFFFFF;" | | | style="background-color: #FFFFFF;" | | ||
[[{{{council|{{{name}}} City Council}}}]]<br> | [[{{{council|{{{name}}} {{{type|City}}} Council}}}]]<br> | ||
[[{{{fire|{{{name}}} Fire Department}}}]]<br> | [[{{{fire|{{{name}}} Fire Department}}}]]<br> | ||
[[{{{police|{{{name}}} Police Department}}}]] | [[{{{police|{{{name}}} Police Department}}}]] | ||
Line 41: | Line 41: | ||
* '''logo''' (image of city logo; include full image format (e.g. <nowiki>[[Image:Birmingham city logo.jpg|250px]]</nowiki>); defaults to blank space) | * '''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''' '''type''' Council", if type is specified, else "'''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") | ||
* '''police''' (the city's police department; defaults to "'''name''' Police Department") | * '''police''' (the city's police department; defaults to "'''name''' Police Department") |
Revision as of 22:32, 27 March 2009
City of {{{name}}} | |
Incorporated | [[{{{year}}}]] |
---|---|
Population | {{{population}}} |
[[Mayor of {{{name}}}|Mayor]] | [[{{{mayor}}}]] |
School district | [[{{{name}}} City Schools]] |
Government |
[[{{{name}}} City Council]] |
Web site | None |
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)
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 type Council", if type is specified, else "name City Council")
- fire (the city's fire department; defaults to "name Fire Department")
- police (the city's police department; defaults to "name Police Department")
- website (official web site for the city; use normal external link format (e.g. [http://www.informationbirmingham.com/ informationbirmingham.com]); defaults to "None")
- 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 | |
Incorporated | 1871 |
---|---|
Population | 242,820 |
Mayor | Bernard Kincaid |
School district | Birmingham City Schools |
Government |
Birmingham City Council |
Web site | informationbirmingham.com |
Locate with Google Maps |