Template:Infobox 天文台/doc

天文台の基礎情報を表示するテンプレートです。英語版記事から転記する場合、冒頭のテンプレート名を「Infobox Observatory」から「Infobox 天文台」に変更してください。

使用法[編集]

最低限[編集]

{{Infobox 天文台}}

ウィキデータを読み込んで表示します。

全引数[編集]

{{{name}}}
[[File:{{{image}}}|frameless|border|upright=1.1]]
{{{caption}}}
運営者 {{{organization}}}
コード {{{code}}}
略称 {{{abbreviation}}}
所在地 {{{location}}}
座標 {{{coords}}}
標高 {{{altitude}}}
天候 {{{weather}}}
開設 {{{established}}}
閉鎖 {{{closed}}}
ウェブサイト {{{website}}}
望遠鏡
{{{telescope1_name}}}{{{telescope1_type}}}
{{{telescope2_name}}}{{{telescope2_type}}}
......
{{{telescope30_name}}}{{{telescope30_type}}}
テンプレートを表示
{{Infobox 天文台
|name            = 
|image           = 
|caption         = 
|organization    = 
|code            = 
|abbreviation    = 
|location        = 
|coords          = <!-- {{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 = 
}}

引数[編集]

内容がウィキデータに入力されている場合はウィキデータのを読み込んで表示しますが、関連する引数に記事で直接指定することで上書きすることができます。

引数 既定値 説明
name 記事名 天文台名
image P18 infobox内に貼る画像([[File:画像ファイル名|画像サイズ]])
caption 画像の説明
organization P137 運営している組織
code P717 天文台コード
abbreviation P1813 略称
location P276 所在地
coords P625 位置座標。{{coord}}をdisplay=inline,title指定で使用。
altitude P2044 標高
established P1619 開設日。{{Start date}}を使用。
closed 閉鎖日
telescopes P527 望遠鏡名
website P856 天文台のウェブサイトを{{URL}}を使って指定。
telescope1_name 天文台の1番目の望遠鏡名
telescope1_type 1番目の望遠鏡の仕様(及び追加の情報)
telescope2_name 天文台の2番目の望遠鏡名
telescope2_type 2番目の望遠鏡の仕様(及び追加の情報)
中略.
telescope29_name 天文台の29番目の望遠鏡名
telescope29_type 29番目の望遠鏡の仕様(及び追加の情報)
telescope30_name 天文台の30番目の望遠鏡名
telescope30_type 30番目の望遠鏡の仕様(及び追加の情報)
commons P373 ウィキメディア・コモンズのページ名かカテゴリ名

関連項目[編集]