Jump to content

Template:Planet: Difference between revisions

From Continuum Universes Wiki
Line 34: Line 34:
     <data source="diameter">
     <data source="diameter">
       <label>Diameter</label>
       <label>Diameter</label>
    </data>
    <data source="rings>
    <label>Rings</label>
     </data>
     </data>
     <data source="orbital_period">
     <data source="orbital_period">
Line 183: Line 186:
"type": "wiki-page-name"
"type": "wiki-page-name"
},
},
    "sector": {
"sector": {
      "suggested": true,
"suggested": true,
      "type": "wiki-page-name"
"type": "wiki-page-name"
    },
},
    "system": {
"system": {
      "suggested": true,
"suggested": true,
      "type": "wiki-page-name"
"type": "wiki-page-name"
    },
},
    "type": {
"type": {
      "suggested": true,
"suggested": true,
      "type": "wiki-page-name"
"type": "wiki-page-name"
    },
},
    "diameter": {
"diameter": {
      "suggested": true,
"suggested": true,
      "type": "number"
"type": "number"
    },
},
    "orbital_period": {
"orbital_period": {
      "suggested": true,
"suggested": true,
      "type": "number"
"type": "number"
    },
},
    "rotation_period": {
"rotation_period": {
      "suggested": true,
"suggested": true,
      "type": "number"
"type": "number"
    },
},
    "gravity": {
"gravity": {
      "suggested": true,
"suggested": true,
      "type": "number"
"type": "number"
    },
},
    "geography": {
"geography": {
      "suggested": true
"suggested": true
 
},
    },
"terrain": {
    "terrain": {
"suggested": true,
      "suggested": true,
"type": "string"
      "type": "string"
},
    },
"climate": {
    "climate": {
"suggested": true,
      "suggested": true,
"type": "string"
      "type": "string"
},
    },
"notable_locations": {
    "notable_locations": {
"suggested": true,
      "suggested": true,
"type": "string"
      "type": "string"
},
    },
"notable_features": {
    "notable_features": {
"suggested": true,
      "suggested": true,
"type": "string"
      "type": "string"
},
    },
"history": {
    "history": {
"suggested": true
      "suggested": true
},
    },
"discovery": {
    "discovery": {
"suggested": true
      "suggested": true
},
    },
"natives": {
    "natives": {
"suggested": true,
      "suggested": true,
"type": "wiki-page-name"
      "type": "wiki-page-name"
},
    },
"role": {
    "role": {
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"
Line 311: Line 313:
"type": "string"
"type": "string"
},
},
    "trade_routes": {
"trade_routes": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "transportation": {
"transportation": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "communications": {
"communications": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "economy": {
"economy": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "currency": {
"currency": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "technology": {
"technology": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "industry": {
"industry": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "security": {
"security": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "oed": {
"oed": {
      "type": "line"
"type": "line"
    },
},
    "ipa": {
"ipa": {
      "type": "line"
"type": "line"
},
"rings": {
"type": "boolean",
"default": "no",
"autovalue": "no",
"required": true
}
}
},
},
Line 359: Line 367:
"background",
"background",
"universe",
"universe",
    "sector",
"sector",
    "system",
"system",
    "type",
"type",
    "diameter",
"diameter",
    "orbital_period",
"rings",
    "rotation_period",
"orbital_period",
    "gravity",
"rotation_period",
    "geography",
"gravity",
    "terrain",
"geography",
    "climate",
"terrain",
    "notable_locations",
"climate",
    "notable_features",
"notable_locations",
    "history",
"notable_features",
    "discovery",
"history",
"discovery",
"natives",
"natives",
"role",
"role",
Line 393: Line 402:
"exports",
"exports",
"imports",
"imports",
    "trade_routes",
"trade_routes",
    "transportation",
"transportation",
    "communications",
"communications",
    "economy",
"economy",
    "currency",
"currency",
    "technology",
"technology",
    "industry",
"industry",
    "security"
"security"
    ]
]
}
}
</templatedata>
</templatedata>
[[Category:Templates]] [[Category:Infobox templates]]
[[Category:Templates]] [[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 23:03, 14 November 2025


Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

Example usage:

There is a problem with parsing the infobox

  • 0
  • 1
    <title source="name"/>
  • 2
    <group>
  • 3
    <header source="pronuciation">Pronunciation</header>
  • 4
    <data source="oed">
  • 5
    <label>OED Pronuciation</label>
  • 6
    </data>
  • 7
    <data source="ipa">
  • 8
    <label>IPA Pronuciation</label>
  • 9
    <format>/{{{ipa}}}/</format>
  • 10
    </data>
  • 11
    </group>
  • 12
    <image source="image">
  • 13
    <caption source="caption-image"/>
  • 14
    </image>
  • 15
    <group>
  • 16
    <header source="background">Background</header>
  • 17
    <data source="universe">
  • 18
    <label>Universe</label>
  • 19
    </data>
  • 20
    <data source="status">
  • 21
    <label>Status</label>
  • 22
    </data>
  • 23
    <data source="sector">
  • 24
    <label>Sector</label>
  • 25
    </data>
  • 26
    <data source="system">
  • 27
    <label>System</label>
  • 28
    </data>
  • 29
    <data source="type">
  • 30
    <label>Type</label>
  • 31
    </data>
  • 32
    <data source="diameter">
  • 33
    <label>Diameter</label>
  • 34
    </data>
  • 35
    <data source="rings>
  • 36
    <label>Rings</label>

    Incorrect XML markup. Please validate your XML

    Attributes construct error

    Tag definition is not properly terminated

  • 37
    </data>

    Opening and ending tag mismatch

  • 38
    <data source="orbital_period">
  • 39
    <label>Orbital Period</label>
  • 40
    </data>
  • 41
    <data source="rotation_period">
  • 42
    <label>Rotation Period</label>
  • 43
    </data>
  • 44
    <data source="gravity">
  • 45
    <label>Gravity</label>
  • 46
    <format>{{{gravity|1}}} [[Gravity Metric|G]]</format>
  • 47
    </data>
  • 48
    </group>

    Opening and ending tag mismatch

  • 49
    <group>

    Extra content at the end of the document

  • 50
    <header source="geography">Geography</header>
  • 51
    <data source="terrain">
  • 52
    <label>Terrain</label>
  • 53
    </data>
  • 54
    <data source="notable_locations">
  • 55
    <label>Notable Locations</label>
  • 56
    </data>
  • 57
    <data source="notable_features">
  • 58
    <label>Notable Features</label>
  • 59
    </data>
  • 60
    </group>
  • 61
    <group>
  • 62
    <header source="History">History</header>
  • 63
    <data source="discovery">
  • 64
    <label>Discovery</label>
  • 65
    </data>
  • 66
    <data source="natives">
  • 67
    <label>Natives</label>
  • 68
    </data>
  • 69
    <data source="role">
  • 70
    <label>Role</label>
  • 71
    </data>
  • 72
    </group>
  • 73
    <group>
  • 74
    <header source="socio-economics">Socio-economics</header>
  • 75
    <data source="sentient_species">
  • 76
    <label>Sentient Species</label>
  • 77
    </data>
  • 78
    <data source="population">
  • 79
    <label>Population</label>
  • 80
    </data>
  • 81
    <data source="number_of_settlements">
  • 82
    <label>Number of Settlements</label>
  • 83
    </data>
  • 84
    <data source="worker_groups">
  • 85
    <label>Worker Groups</label>
  • 86
    </data>
  • 87
    <data source="military_presence">
  • 88
    <label>Military Presence</label>
  • 89
    </data>
  • 90
    </group>
  • 91
    <group>
  • 92
    <header source="ecology">Ecology</header>
  • 93
    <data source="climate">
  • 94
    <label>Climate</label>
  • 95
    </data>
  • 96
    <data source="atmosphere">
  • 97
    <label>Atmosphere</label>
  • 98
    </data>
  • 99
    </group>
  • 100
    <group>
  • 101
    <header source="biology">Biology</header>
  • 102
    <data source="flora">
  • 103
    <label>Flora</label>
  • 104
    </data>
  • 105
    <data source="fauna">
  • 106
    <label>Fauna</label>
  • 107
    </data>
  • 108
    </group>
  • 109
    <group>
  • 110
    <header source="environments">Environments</header>
  • 111
    <data source="ecosystems">
  • 112
    <label>Ecosystems</label>
  • 113
    </data>
  • 114
    </group>
  • 115
    <group>
  • 116
    <header source="water">Water</header>
  • 117
    <data source="water_coverage">
  • 118
    <label>Water Coverage</label>
  • 119
    </data>
  • 120
    <data source="number_of_continents">
  • 121
    <label>Number of Continents</label>
  • 122
    </data>
  • 123
    </group>
  • 124
    <group>
  • 125
    <header source="logistics">Logistics</header>
  • 126
    <data source="agriculture">
  • 127
    <label>Agriculture</label>
  • 128
    </data>
  • 129
    <data source="exports">
  • 130
    <label>Exports</label>
  • 131
    </data>
  • 132
    <data source="imports">
  • 133
    <label>Imports</label>
  • 134
    </data>
  • 135
    <data source="trade_routes">
  • 136
    <label>Trade Routes</label>
  • 137
    </data>
  • 138
    <data source="transportation">
  • 139
    <label>Transportation</label>
  • 140
    </data>
  • 141
    <data source="communications">
  • 142
    <label>Communications</label>
  • 143
    </data>
  • 144
    <data source="economy">
  • 145
    <label>Economy</label>
  • 146
    </data>
  • 147
    <data source="currency">
  • 148
    <label>Currency</label>
  • 149
    </data>
  • 150
    <data source="technology">
  • 151
    <label>Technology</label>
  • 152
    </data>
  • 153
    <data source="industry">
  • 154
    <label>Industry</label>
  • 155
    </data>
  • 156
    <data source="security">
  • 157
    <label>Security</label>
  • 158
    </data>
  • 159
    </group>
  • 160


{{Planet
  | name=Example
  | oed=Example
  | ipa=Example
  | image=Example.jpg
  | caption-image=Example
  | background=Example
  | universe=Example
  | status=Thriving
  | sector=Example
  | system=Example
  | type=Example
  | diameter=Example
  | rings=yes
  | orbital_period=Example
  | rotation_period=Example
  | gravity=Example
  | geography=Example
  | terrain=Example
  | climate=Example
  | notable_locations=Example
  | notable_features=Example
  | history=Example
  | discovery=Example
  | natives=Example
  | role=Example
  | population=Example
  | sentient_species=Example
  | number_of_cities=Example
  | worker_groups=Example
  | military_presence=Example
  | ecology=Example
  | biology=Example
  | flora=Example
  | fauna=Example
  | environments=Example
  | ecosystems=Example
  | water=Example
  | water_coverage=Example
  | number_of_continents=Example
  | logistics=Example
  | agriculture=Example
  | exports=Example
  | imports=Example
  | trade_routes=Example
  | transportation=Example
  | communications=Example
  | economy=Example
  | currency=Example
  | technology=Example
  | industry=Example
  | security=Example
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Linesuggested
oedoed

no description

Lineoptional
ipaipa

no description

Lineoptional
imageimage

no description

Filesuggested
caption-imagecaption-image

no description

Linesuggested
backgroundbackground

no description

Unknownsuggested
universeuniverse

no description

Page namesuggested
sectorsector

no description

Page namesuggested
systemsystem

no description

Page namesuggested
typetype

no description

Page namesuggested
diameterdiameter

no description

Numbersuggested
ringsrings

no description

Default
no
Auto value
no
Booleanrequired
orbital_periodorbital_period

no description

Numbersuggested
rotation_periodrotation_period

no description

Numbersuggested
gravitygravity

no description

Numbersuggested
geographygeography

no description

Unknownsuggested
terrainterrain

no description

Stringsuggested
climateclimate

no description

Stringsuggested
notable_locationsnotable_locations

no description

Stringsuggested
notable_featuresnotable_features

no description

Stringsuggested
historyhistory

no description

Unknownsuggested
discoverydiscovery

no description

Unknownsuggested
nativesnatives

no description

Page namesuggested
rolerole

no description

Stringsuggested
populationpopulation

no description

Numbersuggested
sentient_speciessentient_species

no description

Page namesuggested
number_of_citiesnumber_of_cities

no description

Numbersuggested
worker_groupsworker_groups

no description

Stringsuggested
military_presencemilitary_presence

no description

Stringsuggested
ecologyecology

no description

Unknownsuggested
biologybiology

no description

Unknownsuggested
floraflora

no description

Unknownsuggested
faunafauna

no description

Unknownsuggested
environmentsenvironments

no description

Unknownsuggested
ecosystemsecosystems

no description

Stringsuggested
waterwater

no description

Stringsuggested
water_coveragewater_coverage

no description

Numbersuggested
number_of_continentsnumber_of_continents

no description

Numbersuggested
logisticslogistics

no description

Unknownsuggested
agricultureagriculture

no description

Stringsuggested
exportsexports

no description

Stringsuggested
importsimports

no description

Stringsuggested
trade_routestrade_routes

no description

Stringsuggested
transportationtransportation

no description

Stringsuggested
communicationscommunications

no description

Stringsuggested
economyeconomy

no description

Stringsuggested
currencycurrency

no description

Stringsuggested
technologytechnology

no description

Stringsuggested
industryindustry

no description

Stringsuggested
securitysecurity

no description

Stringsuggested