قالب:Infobox observatory/doc
![]() | هذه صفحة توثيق فرعية لـ قالب:Infobox observatory. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
![]() | Uses Lua: |
![](/w/images/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
Usage
Simple
{{Infobox observatory}}
Data will be automatically included from Wikidata.
Full
[[File:{{{image}}}|frameless|upright=1]] {{{caption}}} | |||||||||
الهيئة | {{{organization}}} | ||||||||
---|---|---|---|---|---|---|---|---|---|
رمز المرصد | {{{code}}} | ||||||||
الموقع | {{{location}}} | ||||||||
الإحداثيات | {{{coordinates}}} | ||||||||
الارتفاع | {{{altitude}}} | ||||||||
الطقس | {{{weather}}} | ||||||||
تأسس | {{{established}}} | ||||||||
أُغلق | {{{closed}}} | ||||||||
الموقع الإلكتروني | {{{website}}} | ||||||||
التلسكوبات | |||||||||
| |||||||||
{{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.
Parameter | Default | Description |
---|---|---|
name | Wikidata label (en) (Or Page name) |
The name of the observatory. |
image | [خطأ: الوظيفة "wdurl" غير موجودة. image (P18)] | The image for the infobox (use full wikicode). |
caption | [خطأ: الوظيفة "wdurl" غير موجودة. media legend (P2096)] | A caption for the image. |
alt_names | Wikidata aliases (en) | Alternative names / aliases for the telescope |
organization | [خطأ: الوظيفة "wdurl" غير موجودة. operator (P137)] | The organization responsible for the observatory. |
code | [خطأ: الوظيفة "wdurl" غير موجودة. Minor Planet Center observatory code (P717)] | Observatory code. |
abbreviation | [خطأ: الوظيفة "wdurl" غير موجودة. short name (P1813)] | Abbreviation |
namedafter | [خطأ: الوظيفة "wdurl" غير موجودة. named after (P138)] | Person or organisation the survey was named after |
location | [خطأ: الوظيفة "wdurl" غير موجودة. located in/on physical feature (P706)], [خطأ: الوظيفة "wdurl" غير موجودة. location (P276)], [خطأ: الوظيفة "wdurl" غير موجودة. located in the administrative territorial entity (P131)], [خطأ: الوظيفة "wdurl" غير موجودة. country (P17)] (fallback to [خطأ: الوظيفة "wdurl" غير موجودة. continent (P30)] for Antarctica) | The observatory's location. |
coordinates | [خطأ: الوظيفة "wdurl" غير موجودة. coordinate location (P625)] | Location coordinates. Use {{coord}} with display=inline,title |
altitude | [خطأ: الوظيفة "wdurl" غير موجودة. elevation above sea level (P2044)] | The altitude of the observatory. |
obs-time | [خطأ: الوظيفة "wdurl" غير موجودة. observing time available (P3891)] | Observing time available |
established | [خطأ: الوظيفة "wdurl" غير موجودة. date of official opening (P1619)] | When the observatory was established. Use {{Start date}} |
closed | [خطأ: الوظيفة "wdurl" غير موجودة. end time (P582)] | When the observatory was closed, if appropriate. |
telescopes | [خطأ: الوظيفة "wdurl" غير موجودة. has part(s) (P527)] | Names of the telescopes at the observatory |
website | [خطأ: الوظيفة "wdurl" غير موجودة. official website (P856)] | 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). | |
etc.... | ||
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). | |
locmapin | [خطأ: الوظيفة "wdurl" غير موجودة. country (P17)] | Use this parameter to override the location map shown if necessary. See {{Wikidata location map}}. |
commons | [خطأ: الوظيفة "wdurl" غير موجودة. Commons category (P373)] | The appropriate page or 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 mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article 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.
hCard uses HTML classes including:
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "region"
- "street-address"
- "vcard"
Geo is produced by calling {{coord}}, and uses HTML classes:
- "geo"
- "latitude"
- "longitude"
Please do not rename or remove these classes.
When giving coordinates, please don't be overly precise.
Tracking categories
- Category:Articles using Infobox observatory using locally defined parameters (11)
- Category:Articles with infoboxes completely from Wikidata (3)
See also