Template:Infobox planet: Difference between revisions
Appearance
No edit summary |
Automated sync from wiki-stories repository |
||
| 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. | <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}}}| | {{#if:{{{image|}}}|[[File:{{{image}}}|240px|alt={{{image_alt|}}}|class=infobox-image]]}} | ||
<div style="padding: 0. | <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. | {{#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>}} | ||
Revision as of 01:09, 21 June 2026
Planet
Install as Template:Infobox planet. Requires ParserFunctions.