コンテンツにスキップ

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

提供: ApolaTrajectoryWiki
編集の要約なし
編集の要約なし
 
(同じ利用者による、間の15版が非表示)
1行目: 1行目:
<templatestyles src="天体/style.css"/>
{{Infobox
<div id="PlanetInfo">
| width = 320px
<dl>
| title = {{{天体名|}}}
<dt style="text-align:center;font-size:20px;overflow-wrap: break-word;">{{{天体名}}}</dt>
| subtitle = {{#if:{{{天体現地語名|}}}|{{{天体現地語名|}}}}}
{{#if:{{{天体現地語名|}}}|
| image = {{{天体画像|}}}
<dt style="text-align:center;overflow-wrap: break-word;">{{{天体現地語名}}}</dt>
| content =
  <tr>
    <th class="Left">分類</th><td class="Left">{{{天体分類|}}}</td>
  </tr>
  <tr>
    <th class="Left">半径</th><td class="Left">{{{半径|}}} km</td>
  </tr>
  <tr>
    <th class="Left">質量</th><td class="Left">{{{質量|}}} kg</td>
  </tr>
  <tr>
    <th class="Left">密度</th><td class="Left">{{{密度|}}} g/cm<sup>3</sup></td>
  </tr>
  <tr>
    <th class="Left">自転周期</th><td class="Left">{{{自転周期|}}}</td>
  </tr>
 
  {{#if:{{{恒星特性|}}}|
    <tr><th colspan="2" class="T">恒星特性</th></tr>
    {{#if:{{{恒星温度|}}}|<tr><th class="Left">表面温度</th><td class="Left">{{{恒星温度|}}} K</td></tr>}}
    {{#if:{{{分光型|}}}|<tr><th class="Left">分光型</th><td class="Left">{{{分光型|}}}</td></tr>}}
    {{#if:{{{光度|}}}|<tr><th class="Left">光度</th><td class="Left">{{{光度|}}}</td></tr>}}
    {{#if:{{{年齢|}}}|<tr><th class="Left">年齢</th><td class="Left">{{{年齢|}}}</td></tr>}}
  }}
 
  {{#if:{{{軌道要素|}}}|
    <tr><th colspan="2" class="T">軌道要素</th></tr>
    {{#if:{{{主星名|}}}|<tr><th class="Left">主星</th><td class="Left">{{{主星名|}}}</td></tr>}}
    {{#if:{{{軌道長半径|}}}|<tr><th class="Left">軌道長半径</th><td class="Left">{{{軌道長半径|}}} km</td></tr>}}
    {{#if:{{{離心率|}}}|<tr><th class="Left">離心率</th><td class="Left">{{{離心率|}}}</td></tr>}}
    {{#if:{{{軌道傾斜角|}}}|<tr><th class="Left">軌道傾斜角</th><td class="Left">{{{軌道傾斜角|}}}°</td></tr>}}
    {{#if:{{{公転周期|}}}|<tr><th class="Left">公転周期</th><td class="Left">{{{公転周期|}}}</td></tr>}}
  }}
 
  {{#if:{{{環境要素|}}}|
    <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:{{{大気圧|}}}|<tr><th class="Left">大気圧</th><td class="Left">{{{大気圧|}}} atm</td></tr>}}
    {{#if:{{{大気組成|}}}|<tr><th class="Left">大気組成</th><td class="Left">{{{大気組成|}}}</td></tr>}}
  }}
}}
}}
</dl>
<table style="align-content:center;">
<tr>
<th class="Center" colspan="2">[[file:{{{天体画像}}}|400px]]</th>
</tr>
<!-- 全天体共通項目 -->
<tr>
<th class="Left">分類</th>
<td class="Left">{{{天体分類}}}</td>
</tr>
<tr>
<th class="Left">半径</th>
<td class="Left">{{{半径}}} km</td>
</tr>
<tr>
<th class="Left">質量</th>
<td class="Left">{{{質量}}} kg</td>
</tr>
<tr>
<th class="Left">密度</th>
<td class="Left">{{{密度}}} kg/m³</td>
</tr>
<tr>
<th class="Left">自転周期</th>
<td class="Left">{{{自転周期}}}</td>
</tr>
<!-- 恒星特有項目 -->
{{#if:{{{恒星温度|}}}|
<tr>
<th colspan="2" class="T">恒星特性</th>
</tr>
}}
{{#if:{{{恒星温度|}}}|
<tr>
<th class="Left">表面温度</th>
<td class="Left">{{{恒星温度}}} K</td>
</tr>
}}
{{#if:{{{分光型|}}}|
<tr>
<th class="Left">分光型</th>
<td class="Left">{{{分光型}}}</td>
</tr>
}}
{{#if:{{{光度|}}}|
<tr>
<th class="Left">光度</th>
<td class="Left">{{{光度}}} L<sub>☉</sub></td>
</tr>
}}
{{#if:{{{年齢|}}}|
<tr>
<th class="Left">年齢</th>
<td class="Left">{{{年齢}}} 億年</td>
</tr>
}}
<!-- 惑星・衛星特有項目 -->
{{#if:{{{軌道要素|}}}|
<tr>
<th colspan="2" class="T">軌道要素</th>
</tr>
}}
{{#if:{{{主星名|}}}|
<tr>
<th class="Left">主星</th>
<td class="Left">{{{主星名}}}</td>
</tr>
}}
{{#if:{{{軌道長半径|}}}|
<tr>
<th class="Left">軌道長半径(a)</th>
<td class="Left">{{{軌道長半径}}} km</td>
</tr>
}}
{{#if:{{{離心率|}}}|
<tr>
<th class="Left">離心率(e)</th>
<td class="Left">{{{離心率}}}</td>
</tr>
}}
{{#if:{{{公転周期|}}}|
<tr>
<th class="Left">公転周期(P)</th>
<td class="Left">{{{公転周期}}} 日</td>
</tr>
}}
{{#if:{{{軌道傾斜角|}}}|
<tr>
<th class="Left">軌道傾斜角(i)</th>
<td class="Left">{{{軌道傾斜角}}}°</td>
</tr>
}}
{{#if:{{{近点引数|}}}|
<tr>
<th class="Left">近点引数(ω)</th>
<td class="Left">{{{近点引数}}}°</td>
</tr>
}}
{{#if:{{{昇降点黄経|}}}|
<tr>
<th class="Left">昇降点黄経(Ω)</th>
<td class="Left">{{{昇降点黄経}}}°</td>
</tr>
}}
<!-- 惑星特有の環境項目 -->
{{#if:{{{表面重力|}}}{{{表面気圧|}}}{{{大気成分|}}}|
<tr>
<th colspan="2" class="T">環境要素</th>
</tr>
}}
{{#if:{{{表面重力|}}}|
<tr>
<th class="Left">表面重力</th>
<td class="Left">{{{表面重力}}} m/s²</td>
</tr>
}}
{{#if:{{{表面気圧|}}}|
<tr>
<th class="Left">表面気圧</th>
<td class="Left">{{{表面気圧}}} hPa</td>
</tr>
}}
{{#if:{{{大気成分|}}}|
<tr>
<th class="Left">大気成分</th>
<td class="Left">{{{大気成分}}}</td>
</tr>
}}
{{#if:{{{平均気温|}}}|
<tr>
<th class="Left">平均気温</th>
<td class="Left">{{{平均気温}}} K</td>
</tr>
}}
</table>
</div>
<th colspan="2" class="T">環境要素</th>
</tr>
}}
{{#if:{{{表面重力|}}}|
<tr>
<th class="Left">表面重力</th>
<td class="Left">{{{表面重力}}} m/s²</td>
</tr>
}}
{{#if:{{{表面気圧|}}}|
<tr>
<th class="Left">表面気圧</th>
<td class="Left">{{{表面気圧}}} hPa</td>
</tr>
}}
{{#if:{{{大気成分|}}}|
<tr>
<th class="Left">大気成分</th>
<td class="Left">{{{大気成分}}}</td>
</tr>
}}
{{#if:{{{平均気温|}}}|
<tr>
<th class="Left">平均気温</th>
<td class="Left">{{{平均気温}}} K</td>
</tr>
}}
</table>
</div>
<noinclude>
<noinclude>
 
<templatedata>
<pre>
{
{{天体
"params": {
|天体名 =
"天体名": {},
|天体現地語名 =
"天体現地語名": {},
|天体画像 =
"天体画像": {},
|天体分類 =
"天体分類": {},
|半径 =
"半径": {},
|質量 =
"質量": {},
|密度 =
"密度": {},
|自転周期 =
"自転周期": {},
|恒星温度 =
"恒星特性": {},
|分光型 =
"恒星温度": {},
|光度 =
"分光型": {},
|年齢 =
"光度": {},
|主星名 =
"年齢": {},
|軌道長半径 =
"軌道要素": {},
|離心率 =
"主星名": {},
|公転周期 =
"軌道長半径": {},
|軌道傾斜角 =
"離心率": {},
|近点引数 =
"軌道傾斜角": {},
|昇降点黄経 =
"公転周期": {},
|表面重力 =
"環境要素": {},
|表面気圧 =
"表面重力": {},
|大気成分 =
"大気圧": {},
|平均気温 =
"大気組成": {}
}}
}
</pre>
}
 
</templatedata>
天体のテンプレートでございますわ
 
 
</noinclude>
</noinclude>

2025年7月18日 (金) 21:33時点における最新版

分類
半径 km
質量 kg
密度 g/cm3
自転周期


説明はありません。

テンプレートパラメーター[テンプレートデータを編集]

パラメーター説明状態
天体名天体名

説明なし

不明省略可能
天体現地語名天体現地語名

説明なし

不明省略可能
天体画像天体画像

説明なし

不明省略可能
天体分類天体分類

説明なし

不明省略可能
半径半径

説明なし

不明省略可能
質量質量

説明なし

不明省略可能
密度密度

説明なし

不明省略可能
自転周期自転周期

説明なし

不明省略可能
恒星特性恒星特性

説明なし

不明省略可能
恒星温度恒星温度

説明なし

不明省略可能
分光型分光型

説明なし

不明省略可能
光度光度

説明なし

不明省略可能
年齢年齢

説明なし

不明省略可能
軌道要素軌道要素

説明なし

不明省略可能
主星名主星名

説明なし

不明省略可能
軌道長半径軌道長半径

説明なし

不明省略可能
離心率離心率

説明なし

不明省略可能
軌道傾斜角軌道傾斜角

説明なし

不明省略可能
公転周期公転周期

説明なし

不明省略可能
環境要素環境要素

説明なし

不明省略可能
表面重力表面重力

説明なし

不明省略可能
大気圧大気圧

説明なし

不明省略可能
大気組成大気組成

説明なし

不明省略可能