Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:World: Difference between revisions

Template page
Mallaco (talk | contribs)
No edit summary
Changed solar inclination to be optional, I think. I will roll this back is unsuccessful
Line 9: Line 9:
  |  data4  = {{#expr:{{{solarenergy}}}*100round0}} % Earth
  |  data4  = {{#expr:{{{solarenergy}}}*100round0}} % Earth
  |  label6  = [[Solar Inclination]]
  |  label6  = [[Solar Inclination]]
  |  data6  = {{{solarinclination}}}°
  |  data6  = {{#if:{{{solarinclination|}}} |{{{solarinclination|}}} °}}
  | header8  = [[Atmosphere]]
  | header8  = [[Atmosphere]]
  |  label10 = [[Temperature]]
  |  label10 = [[Temperature]]

Revision as of 01:19, 7 August 2024

Template documentation[view] [edit] [history] [purge]
WorldName
WorldImage
ImageCaption
Gravity -9.81 m/s2 ≡ 100 % Earth
Solar Energy 100 % Earth
Solar Inclination 0 °
Atmosphere
Temperature 273.15 K - 293.15 K
Pressure 101 kPa
Carbon Dioxide

0 %
Nitrogen

70 %
Nitrous Oxide

0 %
Oxygen

30 %
Pollutants

0 %
Volatiles

0 %
Water

0 %

Summary

Use this template to describe the world's features.

Example

The following code produces the table on the right.

{{World
 |             name = WorldName
 |            image = WorldImage
 |          caption = ImageCaption
 |          gravity = -9.81
 |      solarenergy = 1.0
 | solarinclination = 0
 |          mintemp = 273.15
 |          maxtemp = 293.15
 |         pressure = 101
 |    carbondioxide = 0
 |         nitrogen = 70
 |     nitrousoxide = 0
 |           oxygen = 30
 |       pollutants = 0
 |        volatiles = 0
 |            water = 0
}}

Empty Template

{{World
 |             name = 
 |            image = 
 |          caption = 
 |          gravity = 
 |      solarenergy = 
 | solarinclination = 
 |          mintemp = 
 |          maxtemp = 
 |         pressure = 
 |    carbondioxide = 
 |         nitrogen = 
 |     nitrousoxide = 
 |           oxygen = 
 |       pollutants = 
 |         hydrogen =
 | hydrochloric_acid= 
 |        volatiles = 
 |            water = 
}}

Template for World data

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
World namename

World name as specified in the world settings file

Example
Moon
Stringrequired
imageimage

no description

Fileoptional
captioncaption

no description

Stringoptional
Gravitygravity

Gravity value in meters per second squared, as defined in the world settings flie

Example
-9.81
Numberrequired
Solar energysolarenergy

Solar energy in percentage of Earth's solar energy, as specified in the world settings file

Example
0.91 for Mars
Numberrequired
Solar inclinationsolarinclination

Solar inclination as an ecliptic angle in degrees (angle between the celestial and ecliptical north poles), as defined in the world settings file

Example
8 for mars
Numberrequired
Minimum temperaturemintemp

Minimum temperature of the atmosphere in Kelvin, as specified in the world settings file

Example
278.15 for Mars
Numberrequired
Maximum temperaturemaxtemp

Maximum temperature of the atmosphere in Kelvin, as specified in the world settings file

Example
293.15 for Mars
Numberoptional
Pressurepressure

Atmospheric pressure in kPa

Example
3 for Mars
Numberrequired
carbondioxidecarbondioxide

Percentage of Carbon Dioxide in the atmosphere

Numberoptional
nitrogennitrogen

Percentage of Nitrogen in the atmosphere

Numberoptional
nitrousoxidenitrousoxide

Percentage of Nitrous Oxide in the atmosphere

Numberoptional
oxygenoxygen

Percentage of Oxygen in the atmosphere

Numberoptional
pollutantspollutants

Percentage of Pollutants in the amosphere

Numberoptional
volatilesvolatiles

Percentage of Volatiles in the atmosphere

Numberoptional
waterwater

Percentage of Water in the atmosphere

Unknownoptional