See something you'd like to change or add, but you've never edited an open encyclopædia before? This overview was written to help absolute beginners get started.

Template:Place

From A Storehouse of Knowledge
Jump to: navigation, search
Place
Fatal error: Parameter coordinates must be one or more valid locations.



Template: Place
Use on/in Infobox templates
Use for Base infobox for state, country, etc.
Category template applies to page (none)
Template Parameters
(See Template style manual).
Name Purpose Required? SMW property Comment
name name of place no Defaults to page name
coords Geographical co-ordinates no See note A
map zoom Zoom level of map no Defaults to 8
map centre Co-ordinates of centre of map no See note B
flag flag image no
arms Coat of arms no
founded Foundation date no founded
capital, capital L Capital no
area Area no
pop Population no Population
pop basis Basis of population (e.g. "2004 census") no Not used unless pop is supplied
other Other information (from calling template) no


See Maps for a guide to determining co-ordinates.

Note A
If the coords parameter is not supplied, the map will use the the name of the place to try and determine the co-ordinates.
Note B
If the map centre parameter is not supplied, the map will be centered on the co-ordinates of the map marker.
Data block

The data block below can be copied to the page required to save typing it out.

If a parameter in the data block below has a hash character (#), this indicates that the template supplies a default if the parameter is not supplied. Remove the hash if you want to supply a value to this parameter. See Data block on the Template style manual page for more information.

{{Place
|#name           =
|#coords         =
|#map zoom       =
|#map centre     =
|flag	        =
|arms	        =
|founded        =
|capital L	=
|area	        =
|pop	        =
|pop basis	=
|other          =
}}


Personal tools
Namespaces

Variants
Actions
visitor navigation
contributor navigation
monitoring
Toolbox