Template:Planet: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (added more)
(block format)
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="toccolours" style="clear:left; float:right; margin:0 0 0.5em 1em; width:22em;"
{{Infobox Wiki
|-
|image={{#if:{{{image|}}}|[[File:{{{image|}}}|{{{image size|210px}}}]]}}|image text={{{image text|}}}|header color=#999|header text color=white|name={{{name|{{PAGENAME}}}}}}}
|colspan=2 style="text-align:center;" | {{{image}}}
{{Infobox row|type=subheader|color=#ccc|Stellar Cartography}}
|-
{{Infobox row|title=Region|{{{region|}}}}}
!colspan=2 bgcolor="#999999" style="color:#fff;" |{{{name}}}
{{Infobox row|title=Sector|{{{sector|}}}}}
|-
{{Infobox row|title=System|{{{system|}}}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#cccccc;" | Astrological
{{Infobox row|title=Sun(s)|{{{suns|}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Moon(s)|{{{moons|}}}}}
| Region  
{{Infobox row|title=Orbital Radius|{{#if:{{{radius|}}}|{{{radius|}}} AU}}}}
| {{{region}}}
{{Infobox row|title=Eccentricity|{{{eccentricity|}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=[[Planetary Classification|Class]]|{{{class|}}}}}
| Sector  
{{Infobox row|type=subheader|color=#ccc|Physical}}
| {{{sector}}}
{{Infobox row|title=Diameter|{{{diameter|}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Atmosphere|{{{atmosphere|}}}}}
| System  
{{Infobox row|title=Hydrosphere|{{{hydrosphere|}}}}}
| {{{system}}}
{{Infobox row|title=Climate|{{{climate|}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Blackbody Temp|{{#if:{{{blackbody|}}}|{{{blackbody}}} K ({{#expr:{{{blackbody|}}}-272.15}} °C)}}}}
| Sun(s)  
{{Infobox row|title=Gravity|{{{gravity|}}}}}
| {{{suns}}}
{{Infobox row|title=Primary terrain|{{{terrain|}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Points of interest|{{{interest|}}}}}
| Moon(s)  
{{Infobox row|title=Length of Day|{{{lengthday|}}}}}
| {{{moons}}}
{{Infobox row|title=Length of Year|{{{lengthyear|}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Native species|{{{species|}}}}}
| Class  
{{Infobox row|title=Other species|{{{otherspecies|}}}}}
| {{{class}}}
{{Infobox row|type=subheader|color=#ccc|Societal}}
|-
{{Infobox row|title=Official Language|{{{language|}}}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#cccccc;" | Physical
{{Infobox row|title=Population|{{{population|}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=[[Planetary Development Scale|Technological Classification]]|{{{techclass|}}}}}
| Diameter
{{Infobox row|title=Major cities|{{{cities|}}}}}
| {{{diameter}}}
{{Infobox row|title=Imports|{{{imports|}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Exports|{{{exports|}}}}}
| Atmosphere
{{Infobox row|title=Affiliation|{{{affiliation|}}}}}
| {{{atmosphere}}}
{{Infobox row|title=Government|{{{government|}}}}}
|- style="vertical-align:top;"
| Hydrosphere
| {{{hydrosphere}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Climate
| {{{climate}}}
|- style="vertical-align:top;"
| Gravity
| {{{gravity}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Primary terrain
| {{{terrain}}}
|- style="vertical-align:top;"
| Points of interest
| {{{interest}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Length of Day
| {{{lengthday}}}
|- style="vertical-align:top;"
| Length of Year
| {{{lengthyear}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Native species
| {{{species}}}
|- style="vertical-align:top;"
| Other species
| {{{otherspecies}}}
|-
! colspan=2 style="text-align:left; font-weight:normal; background:#cccccc;" | Societal
|- style="vertical-align:top; background:#f0f0f0;"
| Official Language
| {{{language}}}
|- style="vertical-align:top;"
| Population
| {{{population}}}
|- style="vertical-align:top; background:#f0f0f0;"
| [[Planetary Development Scale|Technological Classification]]
| {{{techclass}}}
|- style="vertical-align:top;"
| Major cities
| {{{cities}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Imports
| {{{imports}}}
|- style="vertical-align:top;"
| Exports
| {{{exports}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Affiliation
| {{{affiliation}}}
|- style="vertical-align:top;"
| Government
| {{{government}}}
|}
|}
[[Category:Planets]]
<noinclude>
===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.
<pre><nowiki>
{{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=
}}</nowiki></pre>
{{Navbox|TITLE=Template Data|
<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=
}}
Template Data

Infobox for planets

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Adds image to the top of the infobox

Fileoptional
Image sizeimage size

Size of the top image

Default
210px
Unknownoptional
Image textimage text

A short description of the top image in smaller font

Example
Earth from above the North Pole
Unknownoptional
Namename

Name of the planet

Example
Meranuge IV
Linesuggested
Regionregion

Region (e.g. campaign region) in which the planet is located

Example
The Borderlands
Unknownoptional
Sectorsector

Sector in which the planet is located

Example
Sector 001
Unknownoptional
Systemsystem

The planetary system in which the planet is located

Example
Solar System
Unknownoptional
Sun(s)suns

The star or stars the planet orbits

Example
Proxima Centauri
Unknownoptional
Moon(s)moons

The moons or other natural satellites the planet has

Example
Phobos, Deimos
Unknownoptional
Orbital Radiusradius

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
Unknownoptional
Eccentricityeccentricity

How much the planet's orbit deviates from a perfect circle

Example
0.017
Unknownoptional
Classclass

Planetary classification

Example
M
Unknownoptional
Diameterdiameter

Planet's diameter

Example
12,742 km
Unknownoptional
Atmosphereatmosphere

Description of planet's atmosphere

Unknownoptional
Hydrospherehydrosphere

Description of planet's hydrosphere (water)

Unknownoptional
Climateclimate

Description of planet's climate

Unknownoptional
Blackbody Tempblackbody

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
Unknownoptional
Gravitygravity

The strength of the gravity on the planet

Unknownoptional
Terrainterrain

Description of the planet's terrain

Unknownoptional
Points of Interestinterest

A short list of points of interest on or by the planet

Unknownoptional
Length of Daylengthday

How long a day lasts on the planet

Example
24 h
Unknownoptional
Length of Yearlengthyear

How long a year lasts on the planet

Example
365.24 d
Unknownoptional
Native speciesspecies

Species that originate from the planet

Example
Humans
Unknownoptional
Other speciesotherspecies

Species that live on the planet but are not native there

Example
Trills
Unknownoptional
Official Languagelanguage

Language(s) with official status in the planet's society

Example
Federation Standard
Unknownoptional
Populationpopulation

Number of individuals living on the planet

Example
8 billion
Unknownoptional
Technological Classificationtechclass

How technologically advanced the planet's society is. See Planetary Development Scale.

Example
N-
Unknownoptional
Major citiescities

List of notable cities located on the planet

Example
Paris, San Francisco
Unknownoptional
Importsimports

Goods the planet imports

Unknownoptional
Exportsexports

Goods the planet exports

Unknownoptional
Affiliationaffiliation

Planet's society's membership in larger factions

Example
Federation
Unknownoptional
Governmentgovernment

The governing body of the planet

Example
Da’al Interim Government
Unknownoptional