模板:Infobox observatory

模板頁面
文檔圖示 模板文件[檢視] [編輯] [查看歷史] [清除快取]

用法

簡單

{{Infobox observatory}}

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

詳細

{{{name}}}
[[File:{{{image}}}|frameless|upright=1]]
{{{caption}}}
組織{{{organization}}}
序號{{{code}}}
位置{
座標{{{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,可自行填上所需參數值代替。

參數 預設 描述
name Wikidata label (en)
(或頁面名稱)
天文台名稱
image 圖像名稱(不需加File:)
image_size
image_alt
caption 圖像說明文字
alt_names Wikidata aliases (en) Alternative names / aliases for the telescope
organization 負責組織
code Observatory code.
abbreviation Abbreviation
namedafter Person or organisation the survey was named after
location , , , (fallback to for Antarctica) 天文台的位置
coordinates 位置坐標。Use 模板連結:{{coord}} with display=inline,title
altitude 海拔
obs-time Observing time available
established 建立時間。Use 模板連結:{{Start date}}
closed 關閉時間(如適用)
telescopes Names of the telescopes at the observatory
website 天文台網站的網址(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 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

參見

上述文檔內容嵌入自Template:Infobox observatory/doc編輯 | 歷史
編者可以在本模板的沙盒創建 | 鏡像和測試樣例創建頁面進行實驗。
請將模板自身所屬的分類添加在文檔中。本模板的子頁面