साँचा:ज्ञानसन्दूक उद्यान/doc

मुक्त ज्ञानकोश विकिपीडिया से

Usage[संपादित करें]

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
|garden        = 
|image         = 
|image size    = 
|alt           = 
|caption       = 
|type          = 
|location      = 
|coordinates   = 
|size          = 
|plants        = 
|species       = 
|collections   = 
|opened        = 
|owner         = 
|operator      = 
|budget        = 
|visitors      = 
|status        = 
|free label 1  = 
|free data 1   =
|free label 2  =
|free data 2   =
|website       =
|image_dot_map = 
|dot_mapsize   = 
|dot_map_base_alt = 
|dot_map_alt      = 
|dot_map_caption  = 
|dot_x = |dot_y = 
}}

All the fields are optional. The garden parameter will default to 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.

The image dot map parameters work the same way as Template:Infobox settlement. If you define image_dot_map, then the other fields become active. Example see: Rainbow Lake, Alberta

Garden Name
Wikipedia's sample image
Something about the garden
Something about the garden
प्रकार Botanical
स्थान Big City, Country
45°00′00″N 90°00′00″E / 45.000°N 90.000°E / 45.000; 90.000निर्देशांक: 45°00′00″N 90°00′00″E / 45.000°N 90.000°E / 45.000; 90.000
नाप 40 acres
पेड़ों की संख्या 850
प्रजातियों की संख्या 150
संग्रह Lillies, Roses, Sunken Garden
आरंभ 1950
स्वामित्व City of Big City
संचालक Friends of The Garden
वाषिक बजट $2.3 million
वार्षिक पर्यटक 100,000
स्थिति Open May-October
Founded by Notable Person
जालस्थल www.example.net

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

{{Infobox garden
|garden      = 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[संपादित करें]

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

Microformat[संपादित करें]

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[संपादित करें]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

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

Please do not remove instances of these sub-templates.

Classes[संपादित करें]

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[संपादित करें]

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