साँचा:Infobox Observatory

मुक्त ज्ञानकोश विकिपीडिया से
(साँचा:Infobox observatory से अनुप्रेषित)
Jump to navigation Jump to search
Infobox Observatory
Template documentation[view] [edit] [history] [purge]

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

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

{{Infobox observatory}}

Data will be automatically included from Wikidata.

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

संगठन {{{organization}}}
कोड {{{code}}}
संक्षिप्त {{{abbreviation}}}
स्थान {{{location}}}
भौगोलिक निर्देशांक प्रणाली {{{coords}}}
ऊंचाई {{{altitude}}}
मौसम {{{weather}}}
स्थापित {{{established}}}
बंद {{{closed}}}
वेबसाइट {{{website}}}
{{{telescope1_name}}} {{{telescope1_type}}}
{{{telescope2_name}}} {{{telescope2_type}}}
... ...
{{{telescope30_name}}} {{{telescope30_type}}}
{{Infobox observatory
|name            = 
|image           = 
|caption         = 
|organization    = 
|code            = 
|abbreviation    = 
|location        = 
|coords          = <!-- {{Coord|LAT|LONG|type:landmark|display=inline,title}} -->
|altitude        = 
|weather         = 
|established     = <!-- {{Start date|YYYY|MM|DD}} -->
|closed          = 
|website         = <!-- {{URL|example.com}} -->
|telescope1_name = 
|telescope1_type = 
|telescope2_name = 
|telescope2_type = 
|telescope3_name = 
|telescope3_type = 
|telescope4_name = 
|telescope4_type = 

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

This template returns values from Wikidata where they are available; these values can be overridden by passing values to the relevant parameters.

Parameter Default Description
name Wikidata label (en)
(Or Page name)
The name of the observatory.
image साँचा:Wdp The image for the infobox (use full wikicode).
caption साँचा:Wdp A caption for the image.
organization साँचा:Wdp The organization responsible for the observatory.
code साँचा:Wdp Observatory code.
abbreviation साँचा:Wdp Abbreviation
location साँचा:Wdp The observatory's location.
coords साँचा:Wdp Location coordinates. Use {{coord}} with display=inline,title
altitude साँचा:Wdp The altitude of the observatory.
established साँचा:Wdp When the observatory was established. Use {{Start date}}
closed साँचा:Wdp When the observatory was closed, if appropriate.
telescopes साँचा:Wdp Names of the telescopes at the observatory
website साँचा:Wdp The URL of the website for the observatory. Use {{URL}}
telescope1_name The name of the observatory's first telescope.
telescope1_type First telescope's type (and any additional information).
telescope2_name The name of the observatory's second telescope.
telescope2_type Second telescope's type (and any additional information).
telescope29_name The name of the observatory's twenty-ninth telescope.
telescope29_type Twenty-ninth telescope's type (and any additional information).
telescope30_name The name of the thirtieth telescope.
telescope30_type Thirtieth telescope's type (and any additional information).
commons साँचा:Wdp The appropriate page or category name at Wikimedia Commons

Examples of use[संपादित करें]

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.

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