Template:Infobox observatory
Alternative names | Lua error in Module:Wikidata at line 936: attempt to index field 'wikibase' (a nil value).Template:EditAtWikidata |
---|---|
Location | {{#Property:P17|from= }} Template:EditAtWikidata |
Coordinates | Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value). |
Altitude | P2044Template:EditAtWikidata |
Website | <strong%20class= "error"><span%20class="scribunto-error"%20id="mw-scribunto-error-10">Lua%20error%20in%20Module:Wikidata%20at%20line%20446:%20attempt%20to%20index%20field%20'wikibase'%20(a%20nil%20value). http://<strong%20class="error"><span%20class="scribunto-error"%20id="mw-scribunto-error-10">Lua%20error%20in%20Module:Wikidata%20at%20line%20446:%20attempt%20to%20index%20field%20'wikibase'%20(a%20nil%20value).Template:EditAtWikidata |
Template:Cclink | |
This template uses Lua: |
This template uses one or more Wikidata properties; see § Parameters for details. |
Usage
Simple
{{Infobox observatory}}
Data will be automatically included from Wikidata.
Full
[[File:{{{image}}}|frameless|upright=1]] | |||||||||
Alternative names | Lua error in Module:Wikidata at line 936: attempt to index field 'wikibase' (a nil value).Template:EditAtWikidata | ||||||||
---|---|---|---|---|---|---|---|---|---|
Organization | {{{organization}}} | ||||||||
Observatory code | {{{code}}} | ||||||||
Location | {{{location}}} | ||||||||
Coordinates | {{{coordinates}}} | ||||||||
Altitude | {{{altitude}}} | ||||||||
Weather | {{{weather}}} | ||||||||
Established | {{{established}}} | ||||||||
Closed | {{{closed}}} | ||||||||
Website | {{{website}}} | ||||||||
Telescopes | |||||||||
| |||||||||
Template:Cclink | |||||||||
{{Infobox observatory | name = | image = | caption = | organization = | code = | abbreviation = | location = | coordinates = <!-- {{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.
Examples of use
Infoboxes which only use Wikidata (no local parameters):
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.
Tracking categories
- Category:Articles using Infobox observatory using locally defined parameters (0)
- Category:Articles with infoboxes completely from Wikidata (0)
See also
General | |
Government and politics | |
Military | |
Religion | |
Typically non-profit | |
Publications | |
Business | |
Distinctions | |
Subtemplates |
Buildings | |
Structures |
- Pages with script errors
- Infobox templates
- Lua-based templates
- Templates using data from Wikidata
- Templates with coordinates fields
- Templates generating hCards and Geo
- Navigational templates
- Astronomy infobox templates
- Buildings and structures infobox templates
- Organization infobox templates
- Technology and applied science infobox templates
- Infobox templates using Wikidata
- Templates that add a tracking category