Template:Planet: Difference between revisions
(Trying a fix.) |
(block format) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| | {{Infobox Wiki | ||
| | |image={{#if:{{{image|}}}|[[File:{{{image|}}}|{{{image size|210px}}}]]}}|image text={{{image text|}}}|header color=#999|header text color=white|name={{{name|{{PAGENAME}}}}}}} | ||
{{Infobox row|type=subheader|color=#ccc|Stellar Cartography}} | |||
| | {{Infobox row|title=Region|{{{region|}}}}} | ||
{{Infobox row|title=Sector|{{{sector|}}}}} | |||
| | {{Infobox row|title=System|{{{system|}}}}} | ||
{{Infobox row|title=Sun(s)|{{{suns|}}}}} | |||
| | {{Infobox row|title=Moon(s)|{{{moons|}}}}} | ||
{{Infobox row|title=Orbital Radius|{{#if:{{{radius|}}}|{{{radius|}}} AU}}}} | |||
| {{{region}}} | {{Infobox row|title=Eccentricity|{{{eccentricity|}}}}} | ||
| | {{Infobox row|title=[[Planetary Classification|Class]]|{{{class|}}}}} | ||
{{Infobox row|type=subheader|color=#ccc|Physical}} | |||
| {{{sector}}} | {{Infobox row|title=Diameter|{{{diameter|}}}}} | ||
| | {{Infobox row|title=Atmosphere|{{{atmosphere|}}}}} | ||
{{Infobox row|title=Hydrosphere|{{{hydrosphere|}}}}} | |||
| {{{system}}} | {{Infobox row|title=Climate|{{{climate|}}}}} | ||
| | {{Infobox row|title=Blackbody Temp|{{#if:{{{blackbody|}}}|{{{blackbody}}} K ({{#expr:{{{blackbody|}}}-272.15}} °C)}}}} | ||
{{Infobox row|title=Gravity|{{{gravity|}}}}} | |||
| {{{suns}}} | {{Infobox row|title=Primary terrain|{{{terrain|}}}}} | ||
| | {{Infobox row|title=Points of interest|{{{interest|}}}}} | ||
{{Infobox row|title=Length of Day|{{{lengthday|}}}}} | |||
| {{{moons}}} | {{Infobox row|title=Length of Year|{{{lengthyear|}}}}} | ||
| | {{Infobox row|title=Native species|{{{species|}}}}} | ||
{{Infobox row|title=Other species|{{{otherspecies|}}}}} | |||
| {{#if:{{{radius|}}}|{{{radius|}}} AU | {{Infobox row|type=subheader|color=#ccc|Societal}} | ||
| | {{Infobox row|title=Official Language|{{{language|}}}}} | ||
{{Infobox row|title=Population|{{{population|}}}}} | |||
| {{{eccentricity}}} | {{Infobox row|title=[[Planetary Development Scale|Technological Classification]]|{{{techclass|}}}}} | ||
| | {{Infobox row|title=Major cities|{{{cities|}}}}} | ||
{{Infobox row|title=Imports|{{{imports|}}}}} | |||
| {{{class}}} | {{Infobox row|title=Exports|{{{exports|}}}}} | ||
| | {{Infobox row|title=Affiliation|{{{affiliation|}}}}} | ||
{{Infobox row|title=Government|{{{government|}}}}} | |||
| | |||
| {{{diameter}}} | |||
| | |||
| {{{atmosphere}}} | |||
| | |||
| {{{hydrosphere}}} | |||
| | |||
| {{{climate}}} | |||
| | |||
| {{#if:{{{blackbody|}}}|{{{blackbody}}} | |||
| | |||
| {{{gravity}}} | |||
| | |||
| {{{terrain}}} | |||
| | |||
| {{{interest}}} | |||
| | |||
| {{{lengthday}}} | |||
| | |||
| {{{lengthyear}}} | |||
| | |||
| {{{species}}} | |||
| | |||
| {{{otherspecies}}} | |||
| | |||
| | |||
| {{{language}}} | |||
| | |||
| {{{population}}} | |||
| | |||
| {{{techclass}}} | |||
| | |||
| {{{cities}}} | |||
| | |||
| {{{imports}}} | |||
| | |||
| {{{exports}}} | |||
| | |||
| {{{affiliation}}} | |||
| | |||
| {{{government}}} | |||
|} | |} | ||
[[Category:Planets]] | [[Category:Planets]] | ||
Line 136: | Line 74: | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
[[Category:Infobox templates|{{PAGENAME}}]] | {{Navbox|TITLE=Template Data| | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"image": { | |||
"label": "Image", | |||
"description": "Adds image to the top of the infobox", | |||
"type": "wiki-file-name" | |||
}, | |||
"image size": { | |||
"label": "Image size", | |||
"description": "Size of the top image", | |||
"default": "210px" | |||
}, | |||
"image text": { | |||
"label": "Image text", | |||
"description": "A short description of the top image in smaller font", | |||
"example": "Earth from above the North Pole" | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of the planet", | |||
"example": "Meranuge IV", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"region": { | |||
"label": "Region", | |||
"description": "Region (e.g. campaign region) in which the planet is located", | |||
"example": "The Borderlands" | |||
}, | |||
"sector": { | |||
"label": "Sector", | |||
"description": "Sector in which the planet is located", | |||
"example": "Sector 001" | |||
}, | |||
"system": { | |||
"label": "System", | |||
"description": "The planetary system in which the planet is located", | |||
"example": "Solar System" | |||
}, | |||
"suns": { | |||
"label": "Sun(s)", | |||
"description": "The star or stars the planet orbits", | |||
"example": "Proxima Centauri" | |||
}, | |||
"moons": { | |||
"label": "Moon(s)", | |||
"description": "The moons or other natural satellites the planet has", | |||
"example": "Phobos, Deimos" | |||
}, | |||
"radius": { | |||
"label": "Orbital Radius", | |||
"description": "How far the planet orbits its star in astronomical units (AU). The unit AU will be printed after the value, so you don't need to write it here.", | |||
"example": "3" | |||
}, | |||
"eccentricity": { | |||
"label": "Eccentricity", | |||
"description": "How much the planet's orbit deviates from a perfect circle", | |||
"example": "0.017" | |||
}, | |||
"class": { | |||
"label": "Class", | |||
"description": "Planetary classification", | |||
"example": "M" | |||
}, | |||
"diameter": { | |||
"label": "Diameter", | |||
"description": "Planet's diameter", | |||
"example": "12,742 km" | |||
}, | |||
"atmosphere": { | |||
"label": "Atmosphere", | |||
"description": "Description of planet's atmosphere" | |||
}, | |||
"hydrosphere": { | |||
"label": "Hydrosphere", | |||
"description": "Description of planet's hydrosphere (water)" | |||
}, | |||
"climate": { | |||
"label": "Climate", | |||
"description": "Description of planet's climate" | |||
}, | |||
"blackbody": { | |||
"label": "Blackbody Temp", | |||
"description": "The effective temperature of the planet (the temperature of a blackbody object that emits the same total amount of electromagnetic radiation). Enter the value in Kelvins, value will be calculated and shown in Kelvin and Celsius.", | |||
"example": "255" | |||
}, | |||
"gravity": { | |||
"label": "Gravity", | |||
"description": "The strength of the gravity on the planet" | |||
}, | |||
"terrain": { | |||
"label": "Terrain", | |||
"description": "Description of the planet's terrain" | |||
}, | |||
"interest": { | |||
"label": "Points of Interest", | |||
"description": "A short list of points of interest on or by the planet" | |||
}, | |||
"lengthday": { | |||
"label": "Length of Day", | |||
"description": "How long a day lasts on the planet", | |||
"example": "24 h" | |||
}, | |||
"lengthyear": { | |||
"label": "Length of Year", | |||
"description": "How long a year lasts on the planet", | |||
"example": "365.24 d" | |||
}, | |||
"species": { | |||
"label": "Native species", | |||
"description": "Species that originate from the planet", | |||
"example": "Humans" | |||
}, | |||
"otherspecies": { | |||
"label": "Other species", | |||
"description": "Species that live on the planet but are not native there", | |||
"example": "Trills" | |||
}, | |||
"language": { | |||
"label": "Official Language", | |||
"description": "Language(s) with official status in the planet's society", | |||
"example": "Federation Standard" | |||
}, | |||
"population": { | |||
"label": "Population", | |||
"description": "Number of individuals living on the planet", | |||
"example": "8 billion" | |||
}, | |||
"techclass": { | |||
"label": "Technological Classification", | |||
"description": "How technologically advanced the planet's society is. See Planetary Development Scale.", | |||
"example": "N-" | |||
}, | |||
"cities": { | |||
"label": "Major cities", | |||
"description": "List of notable cities located on the planet", | |||
"example": "Paris, San Francisco" | |||
}, | |||
"imports": { | |||
"label": "Imports", | |||
"description": "Goods the planet imports" | |||
}, | |||
"exports": { | |||
"label": "Exports", | |||
"description": "Goods the planet exports" | |||
}, | |||
"affiliation": { | |||
"label": "Affiliation", | |||
"description": "Planet's society's membership in larger factions", | |||
"example": "Federation" | |||
}, | |||
"government": { | |||
"label": "Government", | |||
"description": "The governing body of the planet", | |||
"example": "Da’al Interim Government" | |||
} | |||
}, | |||
"description": "Infobox for planets", | |||
"format": "block" | |||
} | |||
</templatedata>}} | |||
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 21:51, 5 January 2024
Planet | |
---|---|
Stellar Cartography | |
Physical | |
Societal | |
Usage instructions
Paste the following code into the top of an article, filling all known fields:
(Note: Only put the Kelvin number in blackbody, it will auto calculate the Celsius. If you don't know either, leave it blank.). It will also auto include AU for orbital radius.
{{planet |name= |image= |region= |sector= |system= |suns= |moons= |radius= |eccentricity=0 |class= |diameter= |atmosphere= |hydrosphere= |gravity= |blackbody= |climate= |terrain= |interest= |lengthday= |lengthyear= |species= |otherspecies= |language= |population= |techclass= |cities= |imports= |exports= |affiliation= |government= }}
Infobox for planets
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Adds image to the top of the infobox | File | optional |
Image size | image size | Size of the top image
| Unknown | optional |
Image text | image text | A short description of the top image in smaller font
| Unknown | optional |
Name | name | Name of the planet
| Line | suggested |
Region | region | Region (e.g. campaign region) in which the planet is located
| Unknown | optional |
Sector | sector | Sector in which the planet is located
| Unknown | optional |
System | system | The planetary system in which the planet is located
| Unknown | optional |
Sun(s) | suns | The star or stars the planet orbits
| Unknown | optional |
Moon(s) | moons | The moons or other natural satellites the planet has
| Unknown | optional |
Orbital Radius | radius | How far the planet orbits its star in astronomical units (AU). The unit AU will be printed after the value, so you don't need to write it here.
| Unknown | optional |
Eccentricity | eccentricity | How much the planet's orbit deviates from a perfect circle
| Unknown | optional |
Class | class | Planetary classification
| Unknown | optional |
Diameter | diameter | Planet's diameter
| Unknown | optional |
Atmosphere | atmosphere | Description of planet's atmosphere | Unknown | optional |
Hydrosphere | hydrosphere | Description of planet's hydrosphere (water) | Unknown | optional |
Climate | climate | Description of planet's climate | Unknown | optional |
Blackbody Temp | blackbody | The effective temperature of the planet (the temperature of a blackbody object that emits the same total amount of electromagnetic radiation). Enter the value in Kelvins, value will be calculated and shown in Kelvin and Celsius.
| Unknown | optional |
Gravity | gravity | The strength of the gravity on the planet | Unknown | optional |
Terrain | terrain | Description of the planet's terrain | Unknown | optional |
Points of Interest | interest | A short list of points of interest on or by the planet | Unknown | optional |
Length of Day | lengthday | How long a day lasts on the planet
| Unknown | optional |
Length of Year | lengthyear | How long a year lasts on the planet
| Unknown | optional |
Native species | species | Species that originate from the planet
| Unknown | optional |
Other species | otherspecies | Species that live on the planet but are not native there
| Unknown | optional |
Official Language | language | Language(s) with official status in the planet's society
| Unknown | optional |
Population | population | Number of individuals living on the planet
| Unknown | optional |
Technological Classification | techclass | How technologically advanced the planet's society is. See Planetary Development Scale.
| Unknown | optional |
Major cities | cities | List of notable cities located on the planet
| Unknown | optional |
Imports | imports | Goods the planet imports | Unknown | optional |
Exports | exports | Goods the planet exports | Unknown | optional |
Affiliation | affiliation | Planet's society's membership in larger factions
| Unknown | optional |
Government | government | The governing body of the planet
| Unknown | optional |