「テンプレート:天体」の版間の差分

編集の要約なし
タグ: 差し戻し済み
編集の要約なし
 
(同じ利用者による、間の9版が非表示)
1行目: 1行目:
{{Infobox
{{Infobox
| id = CelestialBodyInfo | width = 320 | title = {{{天体名}}}
| width = 320px
| subtitle = {{{天体現地語名|}}}
| title = {{{天体名|}}}
| subtitle = {{#if:{{{天体現地語名|}}}|{{{天体現地語名|}}}}}
| image = {{{天体画像|}}}
| image = {{{天体画像|}}}
| data =
| content =  
   {| class="wikitable" |-
   <tr>
  ! class="Left" | 分類
    <th class="Left">分類</th><td class="Left">{{{天体分類|}}}</td>
  | class="Left" | {{{天体分類}}}
   </tr>
   |-
   <tr>
   ! class="Left" | 半径
    <th class="Left">半径</th><td class="Left">{{{半径|}}} km</td>
  | class="Left" | {{{半径}}} km
   </tr>
   |-
   <tr>
   ! class="Left" | 質量
    <th class="Left">質量</th><td class="Left">{{{質量|}}} kg</td>
  | class="Left" | {{{質量}}} kg
   </tr>
   |-
   <tr>
   ! class="Left" | 密度
    <th class="Left">密度</th><td class="Left">{{{密度|}}} g/cm<sup>3</sup></td>
  | class="Left" | {{{密度}}} kg/
   </tr>
   |-
   <tr>
   ! class="Left" | 自転周期
    <th class="Left">自転周期</th><td class="Left">{{{自転周期|}}}</td>
  | class="Left" | {{{自転周期}}}
   </tr>
   |-
    
    
   {{#if:{{{恒星特性|}}}|
   {{#if:{{{恒星特性|}}}|
  ! class="T" colspan="2" | 恒星特性
    <tr><th colspan="2" class="T">恒星特性</th></tr>
  |-
    {{#if:{{{恒星温度|}}}|<tr><th class="Left">表面温度</th><td class="Left">{{{恒星温度|}}} K</td></tr>}}
  {{#if:{{{恒星温度|}}}|
    {{#if:{{{分光型|}}}|<tr><th class="Left">分光型</th><td class="Left">{{{分光型|}}}</td></tr>}}
  ! class="Left" | 表面温度
    {{#if:{{{光度|}}}|<tr><th class="Left">光度</th><td class="Left">{{{光度|}}}</td></tr>}}
  | class="Left" | {{{恒星温度}}} K
    {{#if:{{{年齢|}}}|<tr><th class="Left">年齢</th><td class="Left">{{{年齢|}}}</td></tr>}}
  |-
  }}
  {{#if:{{{分光型|}}}|
  ! class="Left" | 分光型
  | class="Left" | {{{分光型}}}
  |-
  }}
  {{#if:{{{光度|}}}|
  ! class="Left" | 光度
  | class="Left" | {{{光度}}} L<sub></sub>
  |-
  }}
  {{#if:{{{年齢|}}}|
  ! class="Left" | 年齢
  | class="Left" | {{{年齢}}} 億年
  |-
  }}
   }}
   }}
    
    
   {{#if:{{{軌道要素|}}}|
   {{#if:{{{軌道要素|}}}|
  ! class="T" colspan="2" | 軌道要素
    <tr><th colspan="2" class="T">軌道要素</th></tr>
  |-
    {{#if:{{{主星名|}}}|<tr><th class="Left">主星</th><td class="Left">{{{主星名|}}}</td></tr>}}
  {{#if:{{{主星名|}}}|
    {{#if:{{{軌道長半径|}}}|<tr><th class="Left">軌道長半径</th><td class="Left">{{{軌道長半径|}}} km</td></tr>}}
  ! class="Left" | 主星
    {{#if:{{{離心率|}}}|<tr><th class="Left">離心率</th><td class="Left">{{{離心率|}}}</td></tr>}}
  | class="Left" | {{{主星名}}}
    {{#if:{{{軌道傾斜角|}}}|<tr><th class="Left">軌道傾斜角</th><td class="Left">{{{軌道傾斜角|}}}°</td></tr>}}
  |-
    {{#if:{{{公転周期|}}}|<tr><th class="Left">公転周期</th><td class="Left">{{{公転周期|}}}</td></tr>}}
  }}
  {{#if:{{{軌道長半径|}}}|
  ! class="Left" | 軌道長半径(a)
  | class="Left" | {{{軌道長半径}}} km
  |-
  }}
  {{#if:{{{離心率|}}}|
  ! class="Left" | 離心率(e)
  | class="Left" | {{{離心率}}}
  |-
  }}
  {{#if:{{{公転周期|}}}|
  ! class="Left" | 公転周期(P)
  | class="Left" | {{{公転周期}}}
  |-
  }}
  {{#if:{{{軌道傾斜角|}}}|
  ! class="Left" | 軌道傾斜角(i)
  | class="Left" | {{{軌道傾斜角}}}°
  |-
  }}
  {{#if:{{{近点引数|}}}|
  ! class="Left" | 近点引数(ω)
  | class="Left" | {{{近点引数}}}°
  |-
  }}
  {{#if:{{{昇降点黄経|}}}|
  ! class="Left" | 昇降点黄経(Ω)
  | class="Left" | {{{昇降点黄経}}}°
  |-
  }}
   }}
   }}
    
    
   {{#if:{{{環境要素|}}}|
   {{#if:{{{環境要素|}}}|
  ! class="T" colspan="2" | 環境要素
    <tr><th colspan="2" class="T">環境要素</th></tr>
  |-
    {{#if:{{{表面重力|}}}|<tr><th class="Left">表面重力</th><td class="Left">{{{表面重力|}}} m/s<sup>2</sup></td></tr>}}
  {{#if:{{{表面重力|}}}|
    {{#if:{{{大気圧|}}}|<tr><th class="Left">大気圧</th><td class="Left">{{{大気圧|}}} atm</td></tr>}}
  ! class="Left" | 表面重力
    {{#if:{{{大気組成|}}}|<tr><th class="Left">大気組成</th><td class="Left">{{{大気組成|}}}</td></tr>}}
  | class="Left" | {{{表面重力}}} m/
  |-
  }}
  {{#if:{{{表面気圧|}}}|
  ! class="Left" | 表面気圧
  | class="Left" | {{{表面気圧}}} hPa
  |-
  }}
  {{#if:{{{大気成分|}}}|
  ! class="Left" | 大気成分
  | class="Left" | {{{大気成分}}}
  |-
  }}
  {{#if:{{{平均気温|}}}|
  ! class="Left" | 平均気温
  | class="Left" | {{{平均気温}}} K
  |-
  }}
   }}
   }}
  |}
}}
}}<noinclude>
<noinclude>
{{Documentation}}
<templatedata>
{
"params": {
"天体名": {},
"天体現地語名": {},
"天体画像": {},
"天体分類": {},
"半径": {},
"質量": {},
"密度": {},
"自転周期": {},
"恒星特性": {},
"恒星温度": {},
"分光型": {},
"光度": {},
"年齢": {},
"軌道要素": {},
"主星名": {},
"軌道長半径": {},
"離心率": {},
"軌道傾斜角": {},
"公転周期": {},
"環境要素": {},
"表面重力": {},
"大気圧": {},
"大気組成": {}
}
}
</templatedata>
</noinclude>
</noinclude>