Jump to content

Template:Infobox planet: Difference between revisions

From The Aetherium Expanse Wiki
No edit summary
Automated sync from wiki-stories repository
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox" style="width: 24em; border: 1px solid #a2a9b1; background: #f8f9fa; padding: 0; float: right; clear: right; margin: 0 0 1em 1em; font-size: 88%; line-height: 1.35em;">
<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.15em; padding: 0.4em; background: #ccc; border-bottom: 1px solid #a2a9b1;">{{{name|Planet}}}</div>
<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|}}}|[[File:{{{image}}}|frameless|upright|alt={{{image_alt|}}}|class=infobox-image]]}}
{{#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.5em;">
<div style="padding: 0.55em;">
{{#if:{{{system|}}}|'''System:''' {{{system}}}<br/>}}
{{#if:{{{system|}}}|'''System:''' {{{system}}}<br/>}}
{{#if:{{{type|}}}|'''Type:''' {{{type}}}<br/>}}
{{#if:{{{type|}}}|'''Type:''' {{{type}}}<br/>}}
Line 8: Line 8:
{{#if:{{{faction|}}}|'''Faction:''' {{{faction}}}<br/>}}
{{#if:{{{faction|}}}|'''Faction:''' {{{faction}}}<br/>}}
{{#if:{{{colony_founded|}}}|'''Colony founded:''' {{{colony_founded}}}<br/>}}
{{#if:{{{colony_founded|}}}|'''Colony founded:''' {{{colony_founded}}}<br/>}}
{{#if:{{{diameter|}}}{{{gravity|}}}{{{atmosphere|}}}{{{moons|}}}|<table class="wikitable" style="width:100%; margin:0.4em 0; font-size:95%;">
{{#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:{{{diameter|}}}|<tr><th style="width:40%;">Diameter</th><td>{{{diameter}}}</td></tr>}}
{{#if:{{{gravity|}}}|<tr><th>Gravity</th><td>{{{gravity}}}</td></tr>}}
{{#if:{{{gravity|}}}|<tr><th>Gravity</th><td>{{{gravity}}}</td></tr>}}

Latest revision as of 03:01, 21 June 2026

Planet




Install as Template:Infobox planet. Requires ParserFunctions.