模板: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编辑 | 历史
编者可以在本模板的沙盒创建 | 镜像和测试样例创建页面进行实验。
请将模板自身所属的分类添加在文档中。本模板的子页面