Template:Infobox observatory/doc
外观
| 此頁面是Template:Infobox observatory的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
| 此模板使用Lua语言: |
用法
[编辑]簡單
[编辑]{{Infobox observatory}}
自動從Wikidata取得所需參數值(如有)。
詳細
[编辑]| {{{name}}} | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [[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 =
}}
參數
[编辑]本模板自動從Wikidata取得所需參數值(如有),如果不想使用Wikidata,可自行填上所需參數值代替。
| 參數 | 預設 | 描述 |
|---|---|---|
| name | Wikidata label (en) (或頁面名稱) |
天文台名稱 |
| image | 图像 (P18) | 圖像名稱(不需加File:) |
| image_size | ||
| image_alt | ||
| caption | 媒體說明 (P2096) | 圖像說明文字 |
| alt_names | Wikidata aliases (en) | Alternative names / aliases for the telescope |
| organization | 運營者 (P137) | 負責組織 |
| code | 小行星中心觀測代碼 (P717) | Observatory code. |
| abbreviation | 简称 (P1813) | Abbreviation |
| namedafter | 得名自 (P138) | Person or organisation the survey was named after |
| location | 所处地理环境 (P706), 位置 (P276), 所在行政领土实体 (P131), 国家 (P17) (fallback to 大洲 (P30) for Antarctica) | 天文台的位置 |
| coordinates | 地理坐标 (P625) | 位置坐標。Use {{coord}} with display=inline,title |
| altitude | 海拔 (P2044) | 海拔 |
| obs-time | 可用观测时间 (P3891) | Observing time available |
| established | 创作或成立時間 (P571) | 建立時間。Use {{Start date}} |
| closed | 終於 (P582) | 關閉時間(如適用) |
| telescopes | 包含 (P527) | Names of the telescopes at the observatory |
| website | 官方网站 (P856) | 天文台網站的網址(URL)。Use {{URL}} |
| telescope1_name | 第一台望遠鏡的名稱 | |
| telescope1_type | 第一台望遠鏡的種類(及任何附加資料) | |
| 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). | |
| map_type | 使用Location map時所用的地理位置圖名稱(即Template:Location map XXX的「XXX」) | |
| locmapin | 填上地理位置圖名稱使用{{Wikidata location map}}生成位置圖,坐標值由Wikidata提供。如果使用locmapin參數,位置圖不會顯示圖標文字。
如果有填上map_type參數,則locmapin參數不會使用。 | |
| map_dot_label | 位置圖上標示文字,僅適用於使用map_type時。 | |
| map_relief | 填上非空白值使用地形圖(如有)。 | |
| map_caption | 位置圖說明文字 | |
| map_size | 位置圖的寬度,填數字,後面不需加px,如留空則使用預設值 | |
| image_map | ||
| commons | 共享资源分类 (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 | |