Difference between revisions of "Template:Planet infobox"
Jump to navigation
Jump to search
m |
(Added satellites, and some reconfiguration.) |
||
Line 1: | Line 1: | ||
<includeonly>{{infobox | <includeonly>{{infobox | ||
|above=[[:Category:Planets|Planet]] | |above=[[:Category:Planets|Planet]] | ||
− | |top=[[List of planet types|{{{type}}}]] | + | |top=[[List of planet types#{{{type}}}|{{{type}}} World]] |
|title={{#if:{{{local name|}}}|{{{local name}}}<br />(<small>{{{name}}}</small>)|{{{name}}}}} | |title={{#if:{{{local name|}}}|{{{local name}}}<br />(<small>{{{name}}}</small>)|{{{name}}}}} | ||
|image={{#if:{{{image|}}}|[[File:{{{image}}}|100px]]|{{{customimage|}}}}} | |image={{#if:{{{image|}}}|[[File:{{{image}}}|100px]]|{{{customimage|}}}}} | ||
Line 31: | Line 31: | ||
|label20=Tilt | |label20=Tilt | ||
|data20={{{tilt}}}° | |data20={{{tilt}}}° | ||
− | |header21={{#if:{{{satellites|}}}| | + | |header21={{#if:{{{sat a|}}}|{{#if:{{{sat d|}}}|4|{{#if:{{{sat c|}}}|3|{{#if:{{{sat b|}}}|2|1}}}}}} {{#if:{{{sat b|}}}|satellites|satellite}}|}} |
− | | | + | |data22={{#if:{{{sat a|}}}|[[List of planet types#{{{sat a|}}}|{{{sat a name|a}}}]]|}} |
− | | | + | |data23={{#if:{{{sat b|}}}|[[List of planet types#{{{sat b|}}}|{{{sat b name|b}}}]]|}} |
− | | | + | |data24={{#if:{{{sat c|}}}|[[List of planet types#{{{sat c|}}}|{{{sat c name|c}}}]]|}} |
+ | |data25={{#if:{{{sat d|}}}|[[List of planet types#{{{sat d|}}}|{{{sat d name|d}}}]]|}} | ||
+ | |header26={{#if:{{{map|}}}|Map|}} | ||
+ | |data27={{#if:{{{map|}}}|[[File:{{{map}}}|242px]]|}} | ||
}}[[Category:Planets|{{{name}}}]]</includeonly><noinclude>{{documentation}}</noinclude> | }}[[Category:Planets|{{{name}}}]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 12:38, 28 August 2012
Documentation for {{planet infobox}}
Use
Infobox for planets, replacing {{PlanetBox}}.
Usage
{{planet infobox |name = Name of planet |local name = Another name of planet, if different from its star map name (optional) |image = Image of planet, just the filename |customimage = In case there is a need for full image syntax, use this (optional) |caption = Image caption (optional) |species = The species that lives here |ishomeworld = Whether it is the homeworld for the above species (default: no) |star = Name of star it orbits (optional) |orbit = Orbit in AU |mass = Mass in e.s. |atmo = Atmosphere |radius = Radius |temp = Temperature |gravity = Gravity |weather = Weather (default: None) |day = Day length |tectonics = Tectonics (default: None) |tilt = Tilt |map = Map filename, just filename. (optional) |type = Type of world |satellites = List of satellites (optional) }}