Difference between revisions of "Template:Phenomenon"

Template page
(Created page with "<div class="infobox"> {| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;" {{#if: {{{image|}}}| {{!}} col...")
 
m
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;"
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-top-right-radius: 13px; border-top-left-radius: 13px; background: #f3f3f3 !important; color: #cccccc; font-size:smaller; text-align: center;padding: 10px;"}}} {{!}} {{{image}}} }}
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
    {{!}}-
    {{!}} class="ibname" colspan="2" {{!}} '''{{{name}}}'''|
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
}}
|-
|-
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665!important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
| class="ibheader" colspan="2" | '''Information'''
|-
|-
{{#if: {{{map|}}}|
{{#if: {{{class|}}}|
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="background: #f3f3f3; color: #cccccc; font-size:smaller; text-align: center;"}}} {{!}} [[File:{{{mapquadrant}}}-{{{mapletter}}}{{{mapnumber}}}.png|300px]]<br>Grid {{{mapletter}}}{{{mapnumber}}}, {{{mapquadrant}}} Quadrant }}
{{!}} class="ibleft" {{!}} Class
|-
{{!}} class="ibright" {{!}}  
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Basic information'''
{{{class}}}
}}
|-
|-
{{#if: {{{starsystem|}}}|
{{#if: {{{starsystem|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Star System
{{!}} class="ibleft" {{!}} Star system
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{starsystem }}}}}
{{{starsystem}}}
}}
|-
|-
{{#if: {{{sector|}}}|
{{#if: {{{sector|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Sector
{{!}} class="ibleft" {{!}} Sector
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{sector}}}}}
{{{sector}}}
}}
|-
|-
{{#if: {{{class|}}}|
{{#if: {{{quadrant|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Planetary Class
{{!}} class="ibleft" {{!}} Quadrant
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}
{{{class}}}}}
{{#switch:{{{quadrant|}}}
| Alpha
| Alpha Quadrant = [[Alpha Quadrant]]
| Beta
| Beta Quadrant = [[Beta Quadrant]]
| Gamma
| Gamma Quadrant = [[Gamma Quadrant]]
| Delta
| Delta Quadrant = [[Delta Quadrant]]
| #default = {{{quadrant}}}
}}
}}
|-
|-
{{#if: {{{satellites|}}}|
{{#if: {{{satellites|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Satellites
{{!}} class="ibleft" {{!}} Satellites
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{satellites}}}}}
{{{satellites}}}
}}
|-
|-
{{#if: {{{natives|}}}|
{{#if: {{{natives|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Natives
{{!}} class="ibleft" {{!}} Natives
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{natives}}}}}
{{{natives}}}
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
}}
|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]]
|-
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Phenomenon]]
|}</div>
|}</div>
<includeonly>[[Category:Phenomenon]]
<includeonly>
{{DEFAULTSORT:{{PAGENAME}}}}</includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Phenomenon]]{{DEFAULTSORT:{{{name}}}}}
<includeonly>{{#switch:{{{quadrant|}}}   
{{#switch:{{{quadrant|}}}   
   |Alpha
   |Alpha
   |[[Alpha Quadrant]]
   |[[Alpha Quadrant]]
   |Alpha Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Alpha Quadrant Astrometrics Database]]}}
   |Alpha Quadrant      = [[Category:Alpha Quadrant Astrometrics Database]][[Category:Alpha Quadrant]]
   |Beta
   |Beta
   |[[Beta Quadrant]]
   |[[Beta Quadrant]]
   |Beta Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Beta Quadrant Astrometrics Database]]}}
   |Beta Quadrant      = [[Category:Beta Quadrant Astrometrics Database]][[Category:Beta Quadrant]]
   |Gamma
   |Gamma
   |[[Gamma Quadrant]]
   |[[Gamma Quadrant]]
   |Gamma Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Gamma Quadrant Astrometrics Database]]}}
   |Gamma Quadrant      = [[Category:Gamma Quadrant Astrometrics Database]][[Category:Gamma Quadrant]]
   |Delta
   |Delta
   |[[Delta Quadrant]]
   |[[Delta Quadrant]]
   | [[Delta Quadrant]]
   |Delta Quadrant      = [[Category:Delta Quadrant Astrometrics Database]][[Category:Delta Quadrant]]
  |Delta Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Delta Quadrant Astrometrics Database]]}}
}}
}}
 
}}
<noinclude>
</includeonly><noinclude>
==Phenomenon==
==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.
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 not be generated when rendering the article.
<pre>
<pre>
{{Phenomenon
{{Phenomenon
| name =  
| name =  
| image =  
| image =  
| class =
| starsystem =
| starsystem =
| sector =  
| sector =  
| quadrant =  
| quadrant = Please provide a a value for automatic categorisation.
| class =
| satellites =
| satellites =
| natives =  
| 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
}}
}}
</pre>
</pre>
{{clear}}
==Example==
==Example==
{{Phenomenon
{{Phenomenon
| name = Missing Sock Nebula
| name = The Eternal Rave
| image =  
| image =  
| starsystem = Classified
| class = Kickass party
| sector = Classified
| starsystem =  
| quadrant = Alpha Quadrant
| sector = Sector Kickass
| class = Gaseous anomaly
| quadrant = The Old Stomping Grounds
| satellites =
| satellites = *The Greater Rave
| natives =  
*The Lesser Rave
| map =
| natives = Rave goers
| mapquadrant = Alpha
| templatemode = nocats
| mapletter =
| mapnumber =  
}}
}}
[[Category:Infobox Templates|{{PAGENAME}}]]
The following code block produces the infobox to the right as an example.
<pre>
{{Phenomenon
| name = The Eternal Rave
| image =
| class = Kickass party
| starsystem =
| sector = Sector Kickass
| quadrant = The Old Stomping Grounds
| satellites = *The Greater Rave
*The Lesser Rave
| natives = Rave goers
}}</pre>
[[Category:Infobox Templates]]
{{clear}}
</noinclude>
</noinclude>

Latest revision as of 11:52, 12 June 2022

{{{name}}}
Information
Template:Phenomenon

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 not be generated when rendering the article.

{{Phenomenon
| name = 
| image = 
| class =
| starsystem =
| sector = 
| quadrant = Please provide a a value for automatic categorisation.
| satellites =
| natives = 
}}

Example

The Eternal Rave
Information
Class

Kickass party

Sector

Sector Kickass

Quadrant

The Old Stomping Grounds

Satellites
  • The Greater Rave
  • The Lesser Rave
Natives

Rave goers

Template:Phenomenon


The following code block produces the infobox to the right as an example.

{{Phenomenon
| name = The Eternal Rave
| image = 
| class = Kickass party
| starsystem = 
| sector = Sector Kickass
| quadrant = The Old Stomping Grounds
| satellites = *The Greater Rave
*The Lesser Rave
| natives = Rave goers
}}