Template:Infobox planet: Difference between revisions
Appearance
Created page with "<div class="infobox" style="width: 22em; border: 1px solid #a2a9b1; background: #f8f9fa; padding: 0.5em; float: right; margin: 0 0 1em 1em;"> <div style="font-weight: bold; text-align: center; font-size: 1.1em; padding: 0.3em; background: #ccc;">{{{name|Planet}}}</div> {{#if:{{{system|}}}|'''System:''' {{{system}}}<br/>}} {{#if:{{{type|}}}|'''Type:''' {{{type}}}<br/>}} {{#if:{{{population|}}}|'''Population:''' {{{population}}}<br/>}} {{#if:{{{faction|}}}|'''Fac..." |
Automated sync from wiki-stories repository |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div class="infobox" style="width: | <div class="infobox" style="width: 26em; border: 1px solid #a2a9b1; background: #f8f9fa; padding: 0; float: right; clear: right; margin: 0 0 1em 1em; font-size: 0.95em; line-height: 1.45;"> | ||
<div style="font-weight: bold; text-align: center; font-size: 1.1em; padding: 0.45em; background: #ccc; border-bottom: 1px solid #a2a9b1;">{{{name|Planet}}}</div> | |||
{{#if:{{{image|}}}|<div class="infobox-image-wrap">[[File:{{{image}}}|frameless|{{#if:{{{image_alt|}}}|alt={{{image_alt|}}}|}}|class=infobox-image]]{{#if:{{{image_caption|}}}|<div class="infobox-image-caption">{{{image_caption}}}</div>}}</div>}} | |||
<div style="padding: 0.55em;"> | |||
{{#if:{{{system|}}}|'''System:''' {{{system}}}<br/>}} | |||
{{#if:{{{type|}}}|'''Type:''' {{{type}}}<br/>}} | |||
{{#if:{{{population|}}}|'''Population:''' {{{population}}}<br/>}} | |||
{{#if:{{{faction|}}}|'''Faction:''' {{{faction}}}<br/>}} | |||
{{#if:{{{colony_founded|}}}|'''Colony founded:''' {{{colony_founded}}}<br/>}} | |||
{{#if:{{{diameter|}}}{{{gravity|}}}{{{atmosphere|}}}{{{moons|}}}|<table class="wikitable" style="width:100%; margin:0.5em 0;"> | |||
{{#if:{{{diameter|}}}|<tr><th style="width:40%;">Diameter</th><td>{{{diameter}}}</td></tr>}} | |||
{{#if:{{{gravity|}}}|<tr><th>Gravity</th><td>{{{gravity}}}</td></tr>}} | |||
{{#if:{{{atmosphere|}}}|<tr><th>Atmosphere</th><td>{{{atmosphere}}}</td></tr>}} | |||
{{#if:{{{moons|}}}|<tr><th>Moons</th><td>{{{moons}}}</td></tr>}} | |||
</table>}} | |||
{{#if:{{{notable_features|}}}|'''Notable features:''' {{{notable_features}}}<br/>}} | |||
</div> | </div> | ||
</div> | |||
<noinclude> | |||
Install as '''Template:Infobox planet'''. Requires ParserFunctions. | |||
</noinclude> | |||
Latest revision as of 03:01, 21 June 2026
Planet
Install as Template:Infobox planet. Requires ParserFunctions.