Template:Infobox observatory

文档图示 模板文档

用法

簡單

{{Infobox observatory}}

自動從Wikidata取得所需參數值(如有)。

詳細

{{{name}}}
[[File:{{{image}}}|frameless|upright=1]]
{{{caption}}}
組織{{{organization}}}
序號{{{code}}}
位置{{{location}}}
座標{{{coordinates}}}
海拔{{{altitude}}}
氣候{{{weather}}}
設立{{{established}}}
關閉{{{closed}}}
網址{{{website}}}
望遠鏡
{{{telescope1_name}}}
{{{telescope1_type}}}
{{{telescope2_name}}}
{{{telescope2_type}}}
...
...
{{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,可自行填上所需參數值代替。

參數預設描述
nameWikidata label (en)
(或頁面名稱)
天文台名稱
image图像 (P18)圖像名稱(不需加File:)
image_size
image_alt
caption媒體說明 (P2096)圖像說明文字
alt_namesWikidata 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_nameThe name of the observatory's second telescope.
telescope2_typeSecond telescope's type (and any additional information).
etc....
telescope29_nameThe name of the observatory's twenty-ninth telescope.
telescope29_typeTwenty-ninth telescope's type (and any additional information).
telescope30_nameThe name of the thirtieth telescope.
telescope30_typeThirtieth 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
refsnoSet to 'yes' to automatically display references from Wikidata
childnoSet to 'yes' to use as a child infobox of another infobox
embeddedEmbed another infobox into this one

參見