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

Template:Planet: Difference between revisions

Template page
m Bringing up to scratch
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
     <default>{{pagename}}</default><format>{{{name|}}}</format>
     <default>{{pagename}}</default><format>{{{name|}}}</format>
</title>
</title>
<image source="image"/>
<image source="image" name="image"/>
<header>Information</header>
<header>Information</header>
<data source="starsystem"><label>Star system</label><format>{{{starsystem}}}</format></data>
<data source="starsystem"><label>Star system</label><format>{{{starsystem}}}</format></data>
Line 26: Line 26:
<data source="satellites"><label>Satellites</label><format>{{{satellites}}}</format></data>
<data source="satellites"><label>Satellites</label><format>{{{satellites}}}</format></data>
<data source="atmosphere"><label>Atmosphere</label><format>{{{atmosphere}}}</format></data>
<data source="atmosphere"><label>Atmosphere</label><format>{{{atmosphere}}}</format></data>
<data source="climate"><label>Climate</label><format>{{{class}}}</format></data>
<data source="climate"><label>Climate</label><format>{{{climate}}}</format></data>
<data source="hydrosphere"><label>Hydrosphere</label><format>{{{hydrosphere}}}</format></data>
<data source="hydrosphere"><label>Hydrosphere</label><format>{{{hydrosphere}}}</format></data>
<data source="affiliation"><label>Affiliation</label><format>{{{affiliation}}}</format></data>
<data source="affiliation"><label>Affiliation</label><format>{{{affiliation}}}</format></data>
Line 34: Line 34:
<header name="footer">[[Template:Planet]]</header>
<header name="footer">[[Template:Planet]]</header>
</infobox>
</infobox>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Planets]]{{DEFAULTSORT:{{{name}}}}}
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Planets]]
{{#switch:{{{quadrant|}}}   
{{#switch:{{{quadrant|}}}   
   |alpha
   |alpha

Latest revision as of 23:27, 7 December 2025


Planet

This is the template for the Planet infobox. Please use the template code provided below. If you do not provide a value on a given row it will not render, so no need to remove them.

{{Planet
| name = 
| image = 
| starsystem =
| sector = 
| quadrant = 
| class =
| satellites =
| atmosphere = 
| climate = 
| hydrosphere = 
| affiliation = 
| natives = 
| population = 
| capital = 
}}

Example


The following code block produced the infobox to the right.

{{Planet
| name = Grandma's
| image = 
| starsystem = 
| sector = Just down the street
| quadrant = Nearby
| class = Comfy
| satellites = Grandpa's shed
| atmosphere = Warm, smells of cookies
| climate = Well behaved
| hydrosphere = Not to dry, not to damp
| affiliation = Grandma, though Grandpa thinks he's in charge
| natives = Grandma and Grandpa
| population = Just them, and their cat Mr Miggins
| capital = The kitchen
}}