Template:Moon: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (created template)
(Template Data)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="toccolours" style="clear:left; float:right; margin:0 0 0.5em 1em; width:22em; font-size:smaller;"
{{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|Astronomical}}
|-
{{Infobox row|title=Region|{{{region|}}}}}
!colspan=2 bgcolor="#999999" style="color:#fff; font-size:larger;" |{{{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=System|{{{planet|}}}}}
| Region  
{{Infobox row|title=[[Planetary Classification|Class]]|{{{class|}}}}}
| {{{region}}}
{{Infobox row|type=subheader|color=#ccc|Physical}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Diameter|{{{diameter|}}}}}
| Sector  
{{Infobox row|title=Atmosphere|{{{atmosphere|}}}}}
| {{{sector}}}
{{Infobox row|title=Hydrosphere|{{{hydrosphere|}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Climate|{{{climate|}}}}}
| System  
{{Infobox row|title=Gravity|{{{gravity|}}}}}
| {{{system}}}
{{Infobox row|title=Primary terrain|{{{terrain|}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Points of interest|{{{interest|}}}}}
| Sun(s)  
{{Infobox row|title=Length of Day|{{{lengthday|}}}}}
| {{{suns}}}
{{Infobox row|title=Length of Year|{{{lengthyear|}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Native species|{{{species|}}}}}
| Planet
{{Infobox row|title=Other species|{{{otherspecies|}}}}}
| {{{planet}}}
{{Infobox row|type=subheader|color=#ccc|Societal}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Official Language|{{{language|}}}}}
| [[Planetary Classification|Class]]  
{{Infobox row|title=Population|{{{population|}}}}}
| {{{class}}}
{{Infobox row|title=[[Planetary Development Scale|Technological Classification]]|{{{techclass|}}}}}
|-
{{Infobox row|title=Major cities|{{{cities|}}}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#cccccc;" | Physical
{{Infobox row|title=Imports|{{{imports|}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Exports|{{{exports|}}}}}
| Diameter
{{Infobox row|title=Affiliation|{{{affiliation|}}}}}
| {{{diameter}}}
{{Infobox row|title=Government|{{{government|}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Atmosphere
| {{{atmosphere}}}
|- 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:Moons]]
[[Category:Moons]]
Line 121: Line 65:
}}</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",
"type": "line",
"default": "210px"
},
"image text": {
"label": "Image text",
"description": "A short description of the top image in smaller font",
"example": "Luna viewed from Earth",
"type": "line"
},
"name": {
"label": "Name",
"description": "Name of the moon",
"example": "Luna",
"type": "line",
"suggested": true
},
"region": {
"label": "Region",
"description": "Region (e.g. campaign region) in which the moon is located",
"example": "The Borderlands"
},
"sector": {
"label": "Sector",
"description": "Sector in which the moon is located",
"example": "Sector 001"
},
"system": {
"label": "System",
"description": "The planetary system in which the planet is located",
"example": "Sol System"
},
"suns": {
"label": "Star(s)",
"description": "Star or stars which the moon and its planet orbit",
"example": "Sol"
},
"planet": {
"label": "Planet",
"description": "Planet which the moon orbits",
"example": "Earth"
},
"class": {
"label": "Class",
"description": "Planetary Classification (as in \"Class M\")",
"example": "D"
},
"diameter": {
"label": "Diameter",
"description": "Moon's diameter",
"example": "3 474.8 km"
},
"atmosphere": {
"label": "Atmosphere",
"description": "Description of moon's atmosphere"
},
"hydrosphere": {
"label": "Hydrosphere",
"description": "Description of moon's hydrosphere (water)"
},
"climate": {
"label": "Climate",
"description": "Description of planet's climate"
},
"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 moon"
},
"lengthday": {
"label": "Length of Day",
"description": "How long a day lasts on the moon"
},
"lengthyear": {
"label": "Length of Year",
"description": "How long a year lasts on the planet"
},
"species": {
"label": "Native species",
"description": "Species that originate from the moon",
"example": "None"
},
"otherspecies": {
"label": "Other species",
"description": "Species that live on the planet but are not native there",
"example": "Humans"
},
"language": {
"label": "Official Language",
"description": "Language(s) with official status in the moon's society"
},
"population": {
"label": "Population",
"description": "Number of individuals living on the moon",
"example": "Over 50 million"
},
"techclass": {
"label": "Technological Classification",
"description": "How technologically advanced the moon's society is. See Planetary Development Scale.",
"example": "N"
},
"cities": {
"label": "Cities",
"description": "List of notable cities located on the moon",
"example": "Armstrong City"
},
"imports": {
"label": "Imports",
"description": "Goods the moon imports"
},
"exports": {
"label": "Exports",
"description": "Goods the moon exports"
},
"affiliation": {
"label": "Affiliation",
"description": "Moon's society's membership in factions",
"example": "Federation"
},
"government": {
"label": "Government",
"description": "The governing body of the moon",
"example": "United Earth Government"
}
},
"description": "Infobox for moons and other satellites",
"format": "block"
}
</templatedata>}}
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 08:49, 6 January 2024

Moon
Astronomical
Physical
Societal

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{moon
|name=
|image=
|region=
|sector=
|system=
|suns=
|planet=
|class=
|diameter=
|atmosphere=
|hydrosphere=
|gravity=
|climate=
|terrain=
|interest=
|lengthday=
|lengthyear=
|species=
|otherspecies=
|language=
|population=
|techclass=
|cities=
|imports=
|exports=
|affiliation=
|government=
}}
Template Data

Infobox for moons and other satellites

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
Lineoptional
Image textimage text

A short description of the top image in smaller font

Example
Luna viewed from Earth
Lineoptional
Namename

Name of the moon

Example
Luna
Linesuggested
Regionregion

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

Example
The Borderlands
Unknownoptional
Sectorsector

Sector in which the moon is located

Example
Sector 001
Unknownoptional
Systemsystem

The planetary system in which the planet is located

Example
Sol System
Unknownoptional
Star(s)suns

Star or stars which the moon and its planet orbit

Example
Sol
Unknownoptional
Planetplanet

Planet which the moon orbits

Example
Earth
Unknownoptional
Classclass

Planetary Classification (as in "Class M")

Example
D
Unknownoptional
Diameterdiameter

Moon's diameter

Example
3 474.8 km
Unknownoptional
Atmosphereatmosphere

Description of moon's atmosphere

Unknownoptional
Hydrospherehydrosphere

Description of moon's hydrosphere (water)

Unknownoptional
Climateclimate

Description of planet's climate

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 moon

Unknownoptional
Length of Daylengthday

How long a day lasts on the moon

Unknownoptional
Length of Yearlengthyear

How long a year lasts on the planet

Unknownoptional
Native speciesspecies

Species that originate from the moon

Example
None
Unknownoptional
Other speciesotherspecies

Species that live on the planet but are not native there

Example
Humans
Unknownoptional
Official Languagelanguage

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

Unknownoptional
Populationpopulation

Number of individuals living on the moon

Example
Over 50 million
Unknownoptional
Technological Classificationtechclass

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

Example
N
Unknownoptional
Citiescities

List of notable cities located on the moon

Example
Armstrong City
Unknownoptional
Importsimports

Goods the moon imports

Unknownoptional
Exportsexports

Goods the moon exports

Unknownoptional
Affiliationaffiliation

Moon's society's membership in factions

Example
Federation
Unknownoptional
Governmentgovernment

The governing body of the moon

Example
United Earth Government
Unknownoptional