Difference between revisions of "Template:Planet"

Template page
m
m
Line 26: Line 26:
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}}  
{{#switch:{{{quadrant|}}}
{{#switch:{{{quadrant|}}}
  |alpha
   |Alpha
   |Alpha
   |Alpha Quadrant = [[Alpha Quadrant]]
   |Alpha Quadrant = [[Alpha Quadrant]]
  |beta
   |Beta
   |Beta
   |Beta Quadrant = [[Beta Quadrant]]
   |Beta Quadrant = [[Beta Quadrant]]
  |gamma
   |Gamma
   |Gamma
   |Gamma Quadrant = [[Gamma Quadrant]]
   |Gamma Quadrant = [[Gamma Quadrant]]
  |delta
   |Delta
   |Delta
   |Delta Quadrant = [[Delta Quadrant]]
   |Delta Quadrant = [[Delta Quadrant]]
Line 97: Line 101:
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Planets]]{{DEFAULTSORT:{{{name}}}}}
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Planets]]{{DEFAULTSORT:{{{name}}}}}
{{#switch:{{{quadrant|}}}   
{{#switch:{{{quadrant|}}}   
  |alpha
   |Alpha
   |Alpha
   |[[Alpha Quadrant]]
   |[[Alpha Quadrant]]
   |Alpha Quadrant      = [[Category:Alpha Quadrant Astrometrics Database]][[Category:Alpha Quadrant]]
   |Alpha Quadrant      = [[Category:Alpha Quadrant Astrometrics Database]][[Category:Alpha Quadrant]]
  |beta
   |Beta
   |Beta
   |[[Beta Quadrant]]
   |[[Beta Quadrant]]
   |Beta Quadrant      = [[Category:Beta Quadrant Astrometrics Database]][[Category:Beta Quadrant]]
   |Beta Quadrant      = [[Category:Beta Quadrant Astrometrics Database]][[Category:Beta Quadrant]]
  |gamma
   |Gamma
   |Gamma
   |[[Gamma Quadrant]]
   |[[Gamma Quadrant]]
   |Gamma Quadrant      = [[Category:Gamma Quadrant Astrometrics Database]][[Category:Gamma Quadrant]]
   |Gamma Quadrant      = [[Category:Gamma Quadrant Astrometrics Database]][[Category:Gamma Quadrant]]
  |delta
   |Delta
   |Delta
   |[[Delta Quadrant]]
   |[[Delta Quadrant]]

Revision as of 02:16, 13 June 2022

{{{name}}}
Information
Template:Planet

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

Grandma's
Information
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(s)

The kitchen

Template:Planet


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
}}