Template:Infobox 天文台

Template:Infobox observatory
テンプレートを表示
テンプレートの解説[表示] [編集] [履歴] [キャッシュを破棄]

天文台の基礎情報を表示するテンプレートです。英語版記事から転記する場合、冒頭のテンプレート名を「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記事名天文台名
imageP18infobox内に貼る画像([[File:画像ファイル名|画像サイズ]])
caption画像の説明
organizationP137運営している組織
codeP717天文台コード
abbreviationP1813略称
locationP276所在地
coordsP625位置座標。{{coord}}をdisplay=inline,title指定で使用。
altitudeP2044標高
establishedP1619開設日。{{Start date}}を使用。
closed閉鎖日
telescopesP527望遠鏡名
websiteP856天文台のウェブサイトを{{URL}}を使って指定。
telescope1_name天文台の1番目の望遠鏡名
telescope1_type1番目の望遠鏡の仕様(及び追加の情報)
telescope2_name天文台の2番目の望遠鏡名
telescope2_type2番目の望遠鏡の仕様(及び追加の情報)
中略.
telescope29_name天文台の29番目の望遠鏡名
telescope29_type29番目の望遠鏡の仕様(及び追加の情報)
telescope30_name天文台の30番目の望遠鏡名
telescope30_type30番目の望遠鏡の仕様(及び追加の情報)
commonsP373ウィキメディア・コモンズのページ名かカテゴリ名

関連項目 編集