Edit source Talk

Template:Map

From Appropedia

Template documentation[edit source]

This template generates maps showing the location of Appropedia pages.

Important! Only pages that have their location properly set through Template:Location data will show in the maps!

Examples[edit source]

By category[edit source]

{{Map
|category = Projects
}}

By location[edit source]

{{Map
|location = California
}}

By category and location[edit source]

{{Map
|category = Projects
|location = California
}}

By property[edit source]

{{Map
|property = Status
}}

By property and value[edit source]

{{Map
|property = Status
|value = Prototype
}}

See also[edit source]

Template data[edit source]

Use this template to generate maps showing the location of Appropedia pages.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Categorycategory

Limit results by category

Example
Photovoltaics
Stringsuggested
Locationlocation

Limit results by location

Example
California
Stringsuggested
Propertyproperty

Limit results by property

Example
Status
Stringoptional
Valuevalue

Limit results by value to a given property

Example
Prototype
Stringoptional
Clustercluster

Group nearby results?

Default
on
Example
off
Booleanoptional
Zoomzoom

Default zoom level

Example
2
Numberoptional
Centercenter

Center of the map

Default
Based on the locations displayed on the map
Example
United States
Stringoptional
Widthwidth

Width of the map

Default
100% of the container element
Example
200px
Stringoptional
Heightheight

Height of the map

Default
350px
Example
200px
Stringoptional