Template:Infobox garden

From Simple English Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[change source]

This template can be used for any type of garden, mainly botanical gardens.

Copy and paste the template below into the page you want your template in.

{{Infobox garden
|name          = 
|image         = 
|image size    = 
|alt           = 
|caption       = 
|map           = 
|map caption   = 
|type          = 
|location      = 
|coordinates   = 
|size          = 
|plants        = 
|species       = 
|collections   = 
|opened        = 
|owner         = 
|operator      = 
|budget        = 
|visitors      = 
|status        = 
|website       =
}}

All the fields are optional. The garden parameter will use the page name if omitted. You should define your image size if appropriate. 200px (the default) or 275px is a good standard size. If you specify an image you should also specify its alt text for visually impaired readers using the alt parameter; please see WP:ALT.

If you leave a field blank, it will not display on the article page.

Garden Name
Wikipedia's sample image
Something about the garden
TypeBotanical
LocationBig City, Country
45°00′00″N 90°00′00″E / 45.000°N 90.000°E / 45.000; 90.000Coordinates: 45°00′00″N 90°00′00″E / 45.000°N 90.000°E / 45.000; 90.000
Size40 acres
Number of plants850
Number of species150
CollectionsLillies, Roses, Sunken Garden
Opened1950
Owned byCity of Big City
Operated byFriends of The Garden
Annual budget$2.3 million
Annual visitors100,000
StatusOpen May-October
Founded byNotable Person
Websitewww.example.net

The example on the right was created using the following code:

{{Infobox garden
|name        = Garden Name
|image       = Example.jpg
|image size  = 200px
|alt         = Wikipedia's sample image
|caption     = Something about the garden
|type        = Botanical
|location    = Big City, Country
|coordinates = {{coord|45.000|90.000|type:landmark|display=inline,title}}
|size        = 40 acres
|plants      = 850
|species     = 150
|collections = Lillies, Roses, Sunken Garden
|opened      = 1950
|owner       = City of Big City
|operator    = Friends of The Garden
|budget      = $2.3 million
|visitors    = 100,000
|free label 1= Founded by
|free data 1 = Notable Person
|status      = Open May-October
|website     = [http://www.example.net www.example.net]
}}

Coordinates[change source]

Use {{coord}} with display=inline,title.

Microformat[change source]

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[change source]

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[change source]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision[change source]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.