Difference between revisions of "Template:Planet"
Template page
m |
m |
||
Line 12: | Line 12: | ||
{{#if: {{{starsystem|}}}| | {{#if: {{{starsystem|}}}| | ||
{{!}} class="ibleft" {{!}} Star system | {{!}} class="ibleft" {{!}} Star system | ||
{{!}} class="ibright" {{!}} {{{starsystem}}} | {{!}} class="ibright" {{!}} | ||
{{{starsystem}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{sector|}}}| | {{#if: {{{sector|}}}| | ||
{{!}} class="ibleft" {{!}} Sector | {{!}} class="ibleft" {{!}} Sector | ||
{{!}} class="ibright" {{!}} {{{sector}}} | {{!}} class="ibright" {{!}} | ||
{{{sector}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{quadrant|}}}| | {{#if: {{{quadrant|}}}| | ||
{{!}} class="ibleft" {{!}} Quadrant | {{!}} class="ibleft" {{!}} Quadrant | ||
{{!}} class="ibright" {{!}} {{{quadrant}}} | {{!}} class="ibright" {{!}} | ||
{{{quadrant}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{class|}}}| | {{#if: {{{class|}}}| | ||
{{!}} class="ibleft" {{!}} Class | {{!}} class="ibleft" {{!}} Class | ||
{{!}} class="ibright" {{!}} {{{class}}} | {{!}} class="ibright" {{!}} | ||
{{{class}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{satellites|}}}| | {{#if: {{{satellites|}}}| | ||
{{!}} class="ibleft" {{!}} Satellites | {{!}} class="ibleft" {{!}} Satellites | ||
{{!}} class="ibright" {{!}} {{{satellites}}} | {{!}} class="ibright" {{!}} | ||
{{{satellites}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{atmosphere|}}}| | {{#if: {{{atmosphere|}}}| | ||
{{!}} class="ibleft" {{!}} Atmosphere | {{!}} class="ibleft" {{!}} Atmosphere | ||
{{!}} class="ibright" {{!}} {{{atmosphere}}} | {{!}} class="ibright" {{!}} | ||
{{{atmosphere}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{climate|}}}| | {{#if: {{{climate|}}}| | ||
{{!}} class="ibleft" {{!}} Climate | {{!}} class="ibleft" {{!}} Climate | ||
{{!}} class="ibright" {{!}} {{{climate}}} | {{!}} class="ibright" {{!}} | ||
{{{climate}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{hydrosphere|}}}| | {{#if: {{{hydrosphere|}}}| | ||
{{!}} class="ibleft" {{!}} Hydrosphere | {{!}} class="ibleft" {{!}} Hydrosphere | ||
{{!}} class="ibright" {{!}} {{{hydrosphere}}} | {{!}} class="ibright" {{!}} | ||
{{{hydrosphere}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{affiliation|}}}| | {{#if: {{{affiliation|}}}| | ||
{{!}} class="ibleft" {{!}} Affiliation | {{!}} class="ibleft" {{!}} Affiliation | ||
{{!}} class="ibright" {{!}} {{{affiliation}}} | {{!}} class="ibright" {{!}} | ||
{{{affiliation}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{natives|}}}| | {{#if: {{{natives|}}}| | ||
{{!}} class="ibleft" {{!}} Natives | {{!}} class="ibleft" {{!}} Natives | ||
{{!}} class="ibright" {{!}} {{{natives}}} | {{!}} class="ibright" {{!}} | ||
{{{natives}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{population|}}}| | {{#if: {{{population|}}}| | ||
{{!}} class="ibleft" {{!}} Population | {{!}} class="ibleft" {{!}} Population | ||
{{!}} class="ibright" {{!}} {{{population}}} | {{!}} class="ibright" {{!}} | ||
{{{population}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{capital|}}}| | {{#if: {{{capital|}}}| | ||
{{!}} class="ibleft" {{!}} Capital(s) | {{!}} class="ibleft" {{!}} Capital(s) | ||
{{!}} class="ibright" {{!}} {{{capital}}} | {{!}} class="ibright" {{!}} | ||
{{{capital}}} | |||
}} | }} | ||
|- | |- |
Revision as of 04:05, 12 June 2022
{{{name}}} | |
Information | |
Template:Planet |
Planet
This is the template for the Planet infobox. Please use the template code provided below. If you do not provide a value on a given row it will not render, so no need to remove them.
{{Planet | name = | image = | starsystem = | sector = | quadrant = | class = | satellites = | atmosphere = | climate = | hydrosphere = | affiliation = | natives = | population = | capital = }}
Example
Grandma's | |
Information | |
Sector |
Just down the street |
Quadrant |
Nearby |
Class |
Comfy |
Satellites |
Grandpa's shed |
Atmosphere |
Warm, smells of cookies |
Climate |
Well behaved |
Hydrosphere |
Not to dry, not to damp |
Affiliation |
Grandma, though Grandpa thinks he's in charge |
Natives |
Grandma and Grandpa |
Population |
Just them, and their cat Mr Miggins |
Capital(s) |
The kitchen |
Template:Planet |
The following code block produced the infobox to the right.
{{Planet | name = Grandma's | image = | starsystem = | sector = Just down the street | quadrant = Nearby | class = Comfy | satellites = Grandpa's shed | atmosphere = Warm, smells of cookies | climate = Well behaved | hydrosphere = Not to dry, not to damp | affiliation = Grandma, though Grandpa thinks he's in charge | natives = Grandma and Grandpa | population = Just them, and their cat Mr Miggins | capital = The kitchen }}