Difference between revisions of "Template:Phenomenon"

Template page
Line 21: Line 21:
{{{sector}}}}}
{{{sector}}}}}
|-
|-
[[#if: {{{quadrant|}}}|
{{#if: {{{quadrant|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Quadrant
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Quadrant
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
Line 43: Line 43:
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[Template:Planet]]
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[Template:Planet]]
|}</div>
|}</div>
[[Category:Phenomenon]]
<includeonly>[[Category:Phenomenon]]
{{DEFAULTSORT:{{PAGENAME}}}}
{{DEFAULTSORT:{{PAGENAME}}}}</includeonly>
{{#switch:{{{quadrant|}}} 
 
  |Alpha
  |[[Alpha Quadrant]]
  |Alpha Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Alpha Quadrant Astrometrics Database]]}}
  |Beta
  |[[Beta Quadrant]]
  |Beta Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Beta Quadrant Astrometrics Database]]}}
  |Gamma
  |[[Gamma Quadrant]]
  |Gamma Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Gamma Quadrant Astrometrics Database]]}}
  |Delta
  |[[Delta Quadrant]]
  |Delta Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Delta Quadrant Astrometrics Database]]}}
}}


<noinclude>
<noinclude>
Line 85: Line 72:
| starsystem = Classified
| starsystem = Classified
| sector = Classified
| sector = Classified
| quadrant = Alpha Quadrant
| quadrant = Alpha
| class = Gaseous anomaly
| class = Gaseous anomaly
| satellites =  
| satellites =  

Revision as of 03:14, 30 January 2022

{{{name}}}
Basic information



Phenomenon

This infobox is to be used for articles involving phenomenon that don't fit into the existing infoboxes. It can be used to describe stellar and planetary phenomenon as well as any other that defies existing classifications. The code below will generate the infobox as required. Lines without a corresponding value will be generated when rendering the article.

{{Phenomenon
| name = 
| image = 
| starsystem =
| sector = 
| quadrant = 
| class =
| satellites =
| natives = 
| map = If no, leave blank
| mapquadrant = Alpha / Beta / Gamma / Delta
| mapletter = A / B / C / D / E / F / G / H
| mapnumber = 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8
}}

Example

Missing Sock Nebula
Basic information
Star System

Classified

Sector

Classified

Quadrant

Alpha

Planetary Class

Gaseous anomaly