Template:World: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| (8 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox | <includeonly>{{Infobox | ||
| name = World | | name = World | ||
| title = {{{name}}} | | title = {{{name}}} | ||
| Line 29: | Line 29: | ||
| label26 = [[Water]]{{icon|h2o}} | | label26 = [[Water]]{{icon|h2o}} | ||
| data26 = {{#if:{{{water|}}} | {{{water|}}} %}} | | data26 = {{#if:{{{water|}}} | {{{water|}}} %}} | ||
}} | | label28 = [[Hydrochloric Acid]]{{icon|hydrochloric_acid}} | ||
| data28 = {{#if:{{{hydrochloric_acid|}}} | {{{hydrochloric_acid|}}} %}} | |||
| label30 = [[Hydrogen]]{{icon|hydrogen}} | |||
| data30 = {{#if:{{{hydrogen|}}} | {{{hydrogen|}}} %}} | |||
}}[[Category:Worlds]]</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"image": {}, | "image": { | ||
"caption": {}, | "type": "wiki-file-name" | ||
}, | |||
"caption": { | |||
"type": "string" | |||
}, | |||
"gravity": { | "gravity": { | ||
"label": "Gravity", | "label": "Gravity", | ||
"description": "Gravity value in meters per second squared, as defined in the world settings flie", | "description": "Gravity value in meters per second squared, as defined in the world settings flie", | ||
"example": "-9.81", | "example": "-9.81", | ||
"required": true | "required": true, | ||
"type": "number" | |||
}, | }, | ||
"solarenergy": { | "solarenergy": { | ||
| Line 67: | Line 76: | ||
"description": "Maximum temperature of the atmosphere in Kelvin, as specified in the world settings file", | "description": "Maximum temperature of the atmosphere in Kelvin, as specified in the world settings file", | ||
"example": "293.15 for Mars", | "example": "293.15 for Mars", | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"pressure": { | "pressure": { | ||
| Line 74: | Line 82: | ||
"description": "Atmospheric pressure in kPa", | "description": "Atmospheric pressure in kPa", | ||
"example": "3 for Mars", | "example": "3 for Mars", | ||
"required": true | "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": { | "name": { | ||
"label": "World name", | "label": "World name", | ||
"description": "World name as specified in the world settings file", | "description": "World name as specified in the world settings file", | ||
"example": "Moon", | "example": "Moon", | ||
"required": true | "required": true, | ||
"type": "string" | |||
} | } | ||
}, | }, | ||
Latest revision as of 09:33, 28 February 2026
|
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 =
}}
| The above documentation is transcluded from Template:World/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Template for World data
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| World name | name | World name as specified in the world settings file
| String | required |
| image | image | no description | File | optional |
| caption | caption | no description | String | optional |
| Gravity | gravity | Gravity value in meters per second squared, as defined in the world settings flie
| Number | required |
| Solar energy | solarenergy | Solar energy in percentage of Earth's solar energy, as specified in the world settings file
| Number | required |
| Solar inclination | solarinclination | Solar inclination as an ecliptic angle in degrees (angle between the celestial and ecliptical north poles), as defined in the world settings file
| Number | required |
| Minimum temperature | mintemp | Minimum temperature of the atmosphere in Kelvin, as specified in the world settings file
| Number | required |
| Maximum temperature | maxtemp | Maximum temperature of the atmosphere in Kelvin, as specified in the world settings file
| Number | optional |
| Pressure | pressure | Atmospheric pressure in kPa
| Number | required |
| carbondioxide | carbondioxide | Percentage of Carbon Dioxide in the atmosphere | Number | optional |
| nitrogen | nitrogen | Percentage of Nitrogen in the atmosphere | Number | optional |
| nitrousoxide | nitrousoxide | Percentage of Nitrous Oxide in the atmosphere | Number | optional |
| oxygen | oxygen | Percentage of Oxygen in the atmosphere | Number | optional |
| pollutants | pollutants | Percentage of Pollutants in the amosphere | Number | optional |
| volatiles | volatiles | Percentage of Volatiles in the atmosphere | Number | optional |
| water | water | Percentage of Water in the atmosphere | Unknown | optional |