Template:Infobox observatory: Difference between revisions
en>Hairy Dude (per MOS:UBLIST don't use br tags to make unbulleted lists – use {{ubl}} instead) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:06, 18 January 2023
Alternative names | Script error: No such module "Wikidata".Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value). |
---|---|
Location | Lua error in Module:WikidataIB at line 1560: attempt to index field 'wikibase' (a nil value). |
Coordinates | Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value). |
Altitude | Script error: No such module "convert".Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value). |
Website | Script error: No such module "URL".Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value). |
File:Commons-logo.svg Lua error in Module:Commons_link at line 64: attempt to index field 'wikibase' (a nil value). | |
File:Information icon4.svg | This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
Usage
Simple
{{Infobox observatory}}
Data will be automatically included from Wikidata.
Full
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |||||||||
[[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright=1]] | |||||||||
Alternative names | {{{alt_names}}} | ||||||||
---|---|---|---|---|---|---|---|---|---|
Named after | {{{namedafter}}} | ||||||||
Organization | {{{organization}}} | ||||||||
Observatory code | {{{code}}} | ||||||||
Location | {{{location}}} | ||||||||
Coordinates | {{{coordinates}}} | ||||||||
Altitude | {{{altitude}}} | ||||||||
Weather | {{{weather}}} | ||||||||
Observing time | {{{obs-time}}} | ||||||||
Established | {{{established}}} | ||||||||
Closed | {{{closed}}} | ||||||||
Website | {{{website}}} | ||||||||
Architect | {{{architect}}} | ||||||||
Architecture firm | {{{architecture_firm}}} | ||||||||
Main contractors | {{{main_contractor}}} | ||||||||
Telescopes | |||||||||
| |||||||||
File:Commons-logo.svg [[Commons:Category:{{{commons_category}}}|Related media on Commons]] | |||||||||
{{Infobox observatory | child = | name = | image = | caption = | alt = | logo = | logo_caption = | logo_alt = | alt_names = | namedafter = | organization = | code = | location = | coordinates = <!-- {{Coord|LAT|LONG|type:landmark|display=inline,title}} --> | altitude = | weather = | obs-time = | established = <!-- {{Start date|YYYY|MM|DD}} --> | closed = | website = <!-- {{URL|example.com}} --> | architect = | architecture_firm = | main_contractor = | telescope1_name = | telescope1_type = | telescope2_name = | telescope2_type = | telescope3_name = | telescope3_type = | telescope4_name = | telescope4_type = | commons_category = | image_map = | map_size = | map_alt = | map_type = | map_dot_label = | map_caption = | locmapin = | embedded = }}
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) |
name of the observatory |
image | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P18) | image (use full wikicode) |
caption | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2096) | image caption |
alt | alt caption | |
logo | logo | |
logo_caption | logo caption | |
logo_alt | logo alt caption | |
alt_names | Wikidata aliases (en) | alternative names / aliases for the telescope |
namedafter | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P138) | person or organisation the observatory was named after |
organization | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P137) | organization responsible for the observatory |
code | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P717) | observatory code |
location | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P706), Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P276), Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P131), Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P17) (fallback to Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P30) for Antarctica) | observatory's location |
coordinates | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P625) | location coordinates, use {{coord}} with display=inline,title |
altitude | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2044) | altitude of the observatory |
weather | weather | |
obs-time | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P3891) | observing time available |
established | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P1619) | when the observatory was established, use {{start date}} |
closed | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P582) | when the observatory was closed, if appropriate |
telescopes | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P527) | names of the telescopes at the observatory |
website | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P856) | URL of the website for the observatory, use {{URL}} |
architect | architect | |
architecture_firm | architecture firm | |
main_contractor | main contractor | |
telescope1_name | name of the observatory's first telescope | |
telescope1_type | first telescope's type (and any additional information) | |
telescope2_name | name of the observatory's second telescope | |
telescope2_type | second telescope's type (and any additional information) | |
etc... | ||
telescope29_name | name of the observatory's twenty-ninth telescope | |
telescope29_type | twenty-ninth telescope's type (and any additional information) | |
telescope30_name | name of the thirtieth telescope | |
telescope30_type | thirtieth telescope's type (and any additional information) | |
locmapin | Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P17) | use this parameter to override the location map shown, if necessary. See {{Wikidata location map}} |
commons_category | commons sitelink | category name at Wikimedia Commons |
refs | no | set to 'yes' to automatically display references from Wikidata |
child | no | set to 'yes' to use as a child infobox of another infobox |
embedded | embed another infobox into this one |
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 "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
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
Script error: No such module "Navbox".
Template braces | The pages listed in this category are meant to be infobox templates.
This page is part of Wikipedia's administration and not part of the encyclopedia.
Further template category notes
This category contains pages in the template namespace. It should not be used to categorize articles or pages in other namespaces. To add a template to this category:
|
Template loop detected: Template:Buildings and structures infobox templates
TemplateData
TemplateData
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Infobox observatory No description.
|
- Pages with template loops
- Pages with broken file links
- Infobox templates
- Templates that generate short descriptions
- Templates using data from Wikidata
- Templates with coordinates fields
- Templates generating hCards and Geo
- Buildings and structures templates
- Place infobox templates
- Technology and applied science infobox templates
- Astronomy infobox templates
- Buildings and structures infobox templates
- Organization infobox templates
- Embeddable templates
- Infobox templates using Wikidata
- Templates that add a tracking category
- Templates using TemplateData