साँचा:ज्ञानसन्दूक उद्यान
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
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:
Geo is produced by calling {{coord}}, and uses HTML classes:
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
|
|