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

編集の要約なし
タグ: 差し戻し済み
編集の要約なし
タグ: 手動差し戻し
1行目: 1行目:
<templatestyles src="天体/style.css"/>
<templatestyles src="天体/style.css"/>
<div id="PlanetInfo">
<div id="CelestialBodyInfo">
<dl>
<dl>
<dt style="text-align:center;font-size:20px;overflow-wrap: break-word;">{{{惑星名}}}</dt>
<dt style="text-align:center;font-size:20px;overflow-wrap: break-word;">{{{天体名}}}</dt>
<dt style="text-align:center;overflow-wrap: break-word;">{{{惑星現地語名}}}</dt>
{{#if:{{{天体現地語名|}}}|
<dt style="text-align:center;overflow-wrap: break-word;">{{{天体現地語名}}}</dt>
}}
</dl>
</dl>
<table style="align-content:center;">
<table style="align-content:center;">
<tr>
<tr>
<th class="Center" colspan="2">[[{{{惑星画像}}}|300px]]</th>
<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>
</tr>
}}
{{#if:{{{年齢|}}}|
<tr>
<tr>
<th class="Left">分類</th><td>{{{惑星分類}}}</td>
<th class="Left">年齢</th>
<td class="Left">{{{年齢}}} 億年</td>
</tr>
</tr>
}}
<!-- 惑星・衛星特有項目 -->
{{#if:{{{軌道要素|}}}|
<tr>
<tr>
<th colspan="2">軌道要素</th>
<th colspan="2" class="T">軌道要素</th>
</tr>
</tr>
}}
{{#if:{{{主星名|}}}|
<tr>
<th class="Left">主星</th>
<td class="Left">{{{主星名}}}</td>
</tr>
}}
{{#if:{{{軌道長半径|}}}|
<tr>
<tr>
<th class="Left">軌道長半径(a)</th>
<th class="Left">軌道長半径(a)</th>
<td>{{{軌道長半径}}} au</td>
<td class="Left">{{{軌道長半径}}} km</td>
</tr>
</tr>
}}
{{#if:{{{離心率|}}}|
<tr>
<tr>
<th class="Left">離心率(e)</th>
<th class="Left">離心率(e)</th>
<td>{{{離心率}}}</td>
<td class="Left">{{{離心率}}}</td>
</tr>
</tr>
}}
{{#if:{{{公転周期|}}}|
<tr>
<tr>
<th class="Left">公転周期(P)</th>
<th class="Left">公転周期(P)</th>
<td>{{{公転周期}}} 日</td>
<td class="Left">{{{公転周期}}} 日</td>
</tr>
</tr>
}}
{{#if:{{{軌道傾斜角|}}}|
<tr>
<tr>
<th class="Left">軌道傾斜角(i)</th>
<th class="Left">軌道傾斜角(i)</th>
<td>{{{軌道傾斜角}}}°</td>
<td class="Left">{{{軌道傾斜角}}}°</td>
</tr>
</tr>
}}
{{#if:{{{近点引数|}}}|
<tr>
<tr>
<th class="Left">近点引数(ω)</th>
<th class="Left">近点引数(ω)</th>
<td>{{{近点引数}}}°</td>
<td class="Left">{{{近点引数}}}°</td>
</tr>
</tr>
}}
{{#if:{{{昇降点黄経|}}}|
<tr>
<tr>
<th class="Left">昇降点黄経(Ω)</th>
<th class="Left">昇降点黄経(Ω)</th>
<td>{{{昇降点黄経}}}°</td>
<td class="Left">{{{昇降点黄経}}}°</td>
</tr>
</tr>
}}
<!-- 惑星特有の環境項目 -->
{{#if:{{{表面重力|}}}{{{表面気圧|}}}{{{大気成分|}}}|
<tr>
<tr>
<th colspan="2">物理的性質</th>
<th colspan="2" class="T">環境要素</th>
</tr>
</tr>
}}
{{#if:{{{表面重力|}}}|
<tr>
<tr>
<th class="Left">半径</th>
<th class="Left">表面重力</th>
<td>{{{半径}}} km</td>
<td class="Left">{{{表面重力}}} m/s²</td>
</tr>
</tr>
}}
{{#if:{{{表面気圧|}}}|
<tr>
<tr>
<th class="Left">自転周期</th>
<th class="Left">表面気圧</th>
<td>{{{自転周期}}}</td>
<td class="Left">{{{表面気圧}}} hPa</td>
</tr>
</tr>
}}
{{#if:{{{大気成分|}}}|
<tr>
<tr>
<th class="Left">質量</th>
<th class="Left">大気成分</th>
<td>{{{質量}}} kg</td>
<td class="Left">{{{大気成分}}}</td>
</tr>
</tr>
}}
{{#if:{{{平均気温|}}}|
<tr>
<tr>
<th class="Left">密度</th>
<th class="Left">平均気温</th>
<td>{{{密度}}} kg/</td>
<td class="Left">{{{平均気温}}} K</td>
</tr>
}}
</table>
</div>
<th colspan="2" class="T">環境要素</th>
</tr>
</tr>
}}
{{#if:{{{表面重力|}}}|
<tr>
<tr>
<th class="Left">表面重力</th>
<th class="Left">表面重力</th>
<td>{{{表面重力}}} m/s²</td>
<td class="Left">{{{表面重力}}} m/s²</td>
</tr>
</tr>
}}
{{#if:{{{表面気圧|}}}|
<tr>
<tr>
<th class="Left">表面気圧</th>
<th class="Left">表面気圧</th>
<td>{{{表面気圧}}} hPa</td>
<td class="Left">{{{表面気圧}}} hPa</td>
</tr>
</tr>
}}
{{#if:{{{大気成分|}}}|
<tr>
<tr>
<th class="Left">大気成分</th>
<th class="Left">大気成分</th>
<td>{{{大気成分}}}</td>
<td class="Left">{{{大気成分}}}</td>
</tr>
}}
{{#if:{{{平均気温|}}}|
<tr>
<th class="Left">平均気温</th>
<td class="Left">{{{平均気温}}} K</td>
</tr>
</tr>
}}
</table>
</table>
</div>
</div>
76行目: 179行目:


<pre>
<pre>
{{惑星
{{天体
|惑星名 =
|天体名 =
|惑星現地語名 =  
|天体現地語名 =  
|惑星画像 =  
|天体画像 =  
|惑星分類 =  
|天体分類 =
|半径 =
|質量 =
|密度 =
|自転周期 =
|恒星温度 =
|分光型 =
|光度 =
|年齢 =
|主星名 =
|軌道長半径 =
|軌道長半径 =
|離心率 =
|離心率 =
87行目: 199行目:
|近点引数 =
|近点引数 =
|昇降点黄経 =
|昇降点黄経 =
|半径 =
|自転周期 =
|質量 =
|密度 =
|表面重力 =
|表面重力 =
|表面気圧 =
|表面気圧 =
|大気成分 =
|大気成分 =
|平均気温 =
}}
}}
</pre>
</pre>


惑星のテンプレートでございますわ
天体のテンプレートでございますわ




</noinclude>
</noinclude>