模板: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,可自行填上所需参数值代替。

参数 预设 描述
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

参见 编辑