Template:World Infobox: Difference between revisions

From FrathWiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 6: Line 6:
{{ #if: {{{pronounce|}}} | <tr>
{{ #if: {{{pronounce|}}} | <tr>
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Pronounced: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{pronounce}}} </td></tr> }}
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Pronounced: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{pronounce}}} </td></tr> }}
{{ #if: {{{langs|}}} | <tr>
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Languages Spoken: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{langs}}} </td></tr> }}
{{ #ifeq: {{{species|}}}{{{pop|}}}{{{fauna|}}}{{{flora|}}} ||| <tr>
<th colspan=2 style="background: {{{bg|#F2F2F2}}}; border-bottom: 1pt solid #AAAAAA;"> Lifeform Information </th></tr>
{{ #if: {{{species|}}} | <tr>
{{ #if: {{{species|}}} | <tr>
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Dominant Species: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{species}}} </td></tr> }}
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Dominant Species: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{species}}} </td></tr> }}
{{ #if: {{{pop|}}} | <tr>
{{ #if: {{{pop|}}} | <tr>
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Population: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{pop}}} </td></tr> }}
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> {{{species}}} Population: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{pop}}} </td></tr> }}
{{ #if: {{{fauna|}}} | <tr>
{{ #if: {{{fauna|}}} | <tr>
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Fauna: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{fauna}}} </td></tr> }}
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Other Fauna: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{fauna}}} </td></tr> }}
{{ #if: {{{flora|}}} | <tr>
{{ #if: {{{flora|}}} | <tr>
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Flora: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{flora}}} </td></tr> }}
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Other Flora: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{flora}}} </td></tr> }} }}


{{ #ifeq: {{{dist|}}}{{{circ|}}}{{{diam|}}}{{{area|}}}{{{tilt|}}} ||| <tr>
{{ #ifeq: {{{dist|}}}{{{circ|}}}{{{diam|}}}{{{area|}}}{{{tilt|}}} ||| <tr>
<th colspan=2 style="background: {{{bg|#F2F2F2}}}; border-bottom: 1pt solid #AAAAAA;"> Astronomical Information </th></tr>
<th colspan=2 style="background: {{{bg|#F2F2F2}}}; border-bottom: 1pt solid #AAAAAA;"> Astronomical Information </th></tr>
{{ #if: {{{dist|}}} | <tr>
{{ #if: {{{dist|}}} | <tr>
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Distance from Sun: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{dist}}} </td></tr> }}
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Average Solar Distance: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{dist}}} </td></tr> }}
{{ #if: {{{circ|}}} | <tr>
{{ #if: {{{circ|}}} | <tr>
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Planetary Circumference: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{circ}}} </td></tr> }}
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Planetary Circumference: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{circ}}} </td></tr> }}
Line 29: Line 34:


{{ #ifeq: {{{moons|}}} ||| <tr>
{{ #ifeq: {{{moons|}}} ||| <tr>
<th colspan=2 style="background: {{{bg|#F2F2F2}}}; border-bottom: 1pt solid #AAAAAA;"> Credits </th></tr>
<th colspan=2 style="background: {{{bg|#F2F2F2}}}; border-bottom: 1pt solid #AAAAAA;"> Satellites </th></tr>
{{ #if: {{{moons|}}} | <tr>
{{ #if: {{{moons|}}} | <tr>
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Satellites: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{moons}}} </td></tr> }} }}
<td style="border-bottom: 1pt solid #AAAAAA; width: 30%"> Satellites: </td><td style="border-left: 1pt solid #AAAAAA; border-bottom: 1pt solid #AAAAAA; width: 70%"> {{{moons}}} </td></tr> }} }}
Line 47: Line 52:
</table></includeonly><noinclude>
</table></includeonly><noinclude>


This template creates an infobox for a language. Use on language pages.
This template creates an infobox for a planet or conworld. Use on conworld pages.


==Parameters==
==Parameters==

Latest revision as of 00:15, 24 December 2017


This template creates an infobox for a planet or conworld. Use on conworld pages.

Parameters

All parameters are optional.

bg
the background color of the header cells. Defaults to .
name
The English name of the planet. Defaults to the page name.
native
The name of the planet as named by a dominant species.
pronounce
How that name is pronounced. Use with {{IPA}}.
species
Dominant species on the plant
pop
Population of the planet.
fauna
Any significant or noteworthy animals.
flora
Any significant or noteworthy plants.
dist
Distance from the sun.
circ
The planet's circumference.
diam
The planet's diameter.
area
The planet's total habitable surface area.
tilt
The planet's axial tilt.
moons
The total number of (significant) satellites that orbit the planet.
creator
Creator(s) of the conlang.
date
Time of creation, usually a starting date.
homepage
URL of the language's official homepage.