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 and Template:World/sandbox: Difference between pages

More actions
(Difference between pages)
Page 1
Page 2
RA2lover (talk | contribs)
No edit summary
 
Mallaco (talk | contribs)
No edit summary
 
Line 1: Line 1:
<includeonly>{{Infobox
{{Infobox
  |    name = World
  |    name = World/sandbox
  |    title = {{{name}}}
  |    title = Moon
  |    image = {{{image|}}}
  |    image = [[File:Icon-oxygen.png]]
  |  caption = {{{caption|}}}
  |  caption = Moon image
  |  label2  = [[Gravity]]
  |  label2  = [[Gravity]]
  |  data2  = {{{gravity}}} m/s<sup>2</sup> ≡ {{#expr:{{{gravity}}}*100/-9.81round0}} % Earth
  |  data2  = -1.62 m/s<sup>2</sup> ≡ {{#expr:-1.62*100/-9.81round0}} % Earth
  |  label4  = [[Solar Energy]]
  |  label4  = [[Solar Energy]]
  |  data4  = {{#expr:{{{solarenergy}}}*100round0}} % Earth
  |  data4  = {{#expr:1.0*100round0}} % Earth
  |  label6  = [[Solar Inclination]]
  |  label6  = [[Solar Inclination]]
  |  data6  = {{{solarinclination}}}°
  |  data6  = 0 °
  | header8  = [[Atmosphere]]
  | header8  = [[Atmosphere]]
  |  label10 = [[Temperature]]
  |  label10 = [[Temperature]]
  |  data10 = {{{mintemp}}} K {{#if:{{{maxtemp|}}}|- {{{maxtemp}}} K}}
  |  data10 = 0 K - 0 K
  |  label12 = [[Pressure]]
  |  label12 = [[Pressure]]
  |  data12 = {{{pressure}}} kPa
  |  data12 = 0 kPa
  |  label14 = [[Carbon Dioxide]]{{icon|co2}}
  |  label14 = [[Carbon Dioxide]]{{icon|co2}}
  |  data14 = {{#if:{{{carbondioxide|}}} | {{{carbondioxide|}}} %}}
  |  data14 = 0 %
  |  label16 = [[Nitrogen]]{{icon|n}}
  |  label26 = [[Nitrogen]]{{icon|n}}
  |  data16 = {{#if:{{{nitrogen|}}} | {{{nitrogen|}}} %}}
  |  data26 = 0 %
  |  label18 = [[Nitrous Oxide]]{{icon|n2o}}
  |  label18 = [[Nitrous Oxide]]{{icon|n2o}}
  |  data18 = {{#if:{{{nitrousoxide|}}} | {{{nitrousoxide|}}} %}}
  |  data18 = 0 %
  |  label20 = [[Oxygen]]{{icon|o2}}
  |  label20 = [[Oxygen]]{{icon|o2}}
  |  data20 = {{#if:{{{oxygen|}}} | {{{oxygen|}}} %}}
  |  data20 = 0 %
  |  label22 = [[Pollutant|Pollutants]]{{icon|x}}
  |  label22 = [[Pollutant|Pollutants]]{{icon|x}}
  |  data22 = {{#if:{{{pollutants|}}} | {{{pollutants|}}} %}}
  |  data22 = 0 %
  |  label24 = [[Volatiles]]{{icon|h2}}
  |  label24 = [[Volatiles]]{{icon|h2}}
  |  data24 = {{#if:{{{volatiles|}}} | {{{volatiles|}}} %}}
  |  data24 = 0 %
  |  label26 = [[Water]]{{icon|h2o}}
  |  label26 = [[Water]]{{icon|h2o}}
  |  data26 = {{#if:{{{water|}}} | {{{water|}}} %}}
  |  data26 = 0 %
|  label28 = [[Hydrochloric Acid]]{{icon|hydrochloric_acid}}
}}
|  data28 = {{#if:{{{hydrochloric_acid|}}} | {{{hydrochloric_acid|}}} %}}
<noinclude>
|  label30 = [[Hydrogen]]{{icon|hydrogen}}
|  data30 = {{#if:{{{hydrogen|}}} | {{{hydrogen|}}} %}}
}}[[Category:Worlds]]</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<templatedata>
{
"params": {
"image": {
"type": "wiki-file-name"
},
"caption": {
"type": "string"
},
"gravity": {
"label": "Gravity",
"description": "Gravity value in meters per second squared, as defined in the world settings flie",
"example": "-9.81",
"required": true,
"type": "number"
},
"solarenergy": {
"label": "Solar energy",
"description": "Solar energy in percentage of Earth's solar energy, as specified in the world settings file",
"example": "0.91 for Mars",
"type": "number",
"required": true
},
"solarinclination": {
"label": "Solar inclination",
"description": "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",
"type": "number",
"required": true
},
"mintemp": {
"label": "Minimum temperature",
"description": "Minimum temperature of the atmosphere in Kelvin, as specified in the world settings file",
"example": "278.15 for Mars",
"type": "number",
"required": true
},
"maxtemp": {
"label": "Maximum temperature",
"description": "Maximum temperature of the atmosphere in Kelvin, as specified in the world settings file",
"example": "293.15 for Mars",
"type": "number"
},
"pressure": {
"label": "Pressure",
"description": "Atmospheric pressure in kPa",
"example": "3 for Mars",
"required": true,
"type": "number"
},
"carbondioxide": {
"description": "Percentage of Carbon Dioxide in the atmosphere",
"type": "number"
},
"nitrogen": {
"description": "Percentage of Nitrogen in the atmosphere",
"type": "number"
},
"nitrousoxide": {
"description": "Percentage of Nitrous Oxide in the atmosphere",
"type": "number"
},
"oxygen": {
"description": "Percentage of Oxygen in the atmosphere",
"type": "number"
},
"pollutants": {
"description": "Percentage of Pollutants in the amosphere",
"type": "number"
},
"volatiles": {
"description": "Percentage of Volatiles in the atmosphere",
"type": "number"
},
"water": {
"description": "Percentage of Water in the atmosphere"
},
"name": {
"label": "World name",
"description": "World name as specified in the world settings file",
"example": "Moon",
"required": true,
"type": "string"
}
},
"description": "Template for World data",
"paramOrder": [
"name",
"image",
"caption",
"gravity",
"solarenergy",
"solarinclination",
"mintemp",
"maxtemp",
"pressure",
"carbondioxide",
"nitrogen",
"nitrousoxide",
"oxygen",
"pollutants",
"volatiles",
"water"
],
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>
<includeonly>
[[Category:Worlds]]
</includeonly>