Difference between revisions of "Template:Species"

Template page
m
(Updating the template to the new standard. Adding in switch values for categories based on quadrant and affiliation.)
Line 2: Line 2:
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;"
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;"
{{#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'''
|-
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Basic information'''
|-
|-
{{#if: {{{star system|}}}|
{{#if: {{{star system|}}}|
{{!}} 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" {{!}}  
{{{star system}}} }}
{{{star system}}} }}
|-
|-
{{#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: {{{region|}}}|
{{#if: {{{region|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Region
{{!}} class="ibleft" {{!}} Region
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{region}}} }}
{{{region}}} }}
|-
|-
{{#if: {{{quadrant|}}}|
{{#if: {{{quadrant|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Quadrant
{{!}} class="ibleft" {{!}} Quadrant
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{quadrant}}} }}
{{{quadrant}}} }}
|-
|-
{{#if: {{{class|}}}|
{{#if: {{{class|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Classification
{{!}} class="ibleft" {{!}} Classification
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{class}}} }}
{{{class}}} }}
|-
|-
{{#if: {{{discovery date|}}}|
{{#if: {{{discovery date|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} First Contact
{{!}} class="ibleft" {{!}} First Contact
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{discovery date}}} }}
{{{discovery date}}} }}
|-
|-
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Political Information'''
{{#if: {{{extinction date|}}}{{{affiliation|}}}{{{political system|}}}{{{population|}}}{{{type|}}}{{{atmosphere type|}}}{{{development stage|}}}{{{character|}}}|  
{{!}} class="ibheader" colspan="2" {{!}} '''Political Information'''
}}
|-
|-
{{#if: {{{extinction date|}}}|
{{#if: {{{extinction date|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Extinction Date
{{!}} class="ibleft" {{!}} Extinction Date
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{extinction date}}} }}
{{{extinction date}}} }}
|-
|-
{{#if: {{{affiliation|}}}|
{{#if: {{{affiliation|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Affiliation
{{!}} class="ibleft" {{!}} Affiliation
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{affiliation}}} }}
{{{affiliation}}} }}
|-
|-
{{#if: {{{political system|}}}|
{{#if: {{{political system|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Political System
{{!}} class="ibleft" {{!}} Political System
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{political system}}} }}
{{{political system}}} }}
|-
|-
{{#if: {{{population|}}}|
{{#if: {{{population|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Total Population
{{!}} class="ibleft" {{!}} Total Population
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{population}}} }}
{{{population}}} }}
|-
|-
{{#if: {{{type|}}}|
{{#if: {{{type|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Type
{{!}} class="ibleft" {{!}} Type
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{type}}} }}
{{{type}}} }}
|-
|-
{{#if: {{{atmosphere type|}}}|
{{#if: {{{atmosphere type|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Atmospheric Requirements
{{!}} class="ibleft" {{!}} Atmospheric Requirements
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{atmosphere type}}} }}
{{{atmosphere type}}} }}
|-
|-
{{#if: {{{development stage|}}}|
{{#if: {{{development stage|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Development Stage
{{!}} class="ibleft" {{!}} Development Stage
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{development stage}}} }}
{{{development stage}}} }}
|-
|-
{{#if: {{{character|}}}|
{{#if: {{{character|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} Personality
{{!}} class="ibleft" {{!}} Personality
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{character}}} }}
{{{character}}} }}
|- 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:Species]]
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Species]]
|}</div>
|}</div>
[[Category:Species]]
<includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Species]]{{DEFAULTSORT:{{{name}}}}}
{{#switch:{{{quadrant|}}} 
  |alpha
  |Alpha
  |[[Alpha Quadrant]]
  |Alpha Quadrant      = [[Category:Alpha Quadrant Astrometrics Database]][[Category:Alpha Quadrant]]
  |beta
  |Beta
  |[[Beta Quadrant]]
  |Beta Quadrant      = [[Category:Beta Quadrant Astrometrics Database]][[Category:Beta Quadrant]]
  |gamma
  |Gamma
  |[[Gamma Quadrant]]
  |Gamma Quadrant      = [[Category:Gamma Quadrant Astrometrics Database]][[Category:Gamma Quadrant]]
  |delta
  |Delta
  |[[Delta Quadrant]]
  |Delta Quadrant      = [[Category:Delta Quadrant Astrometrics Database]][[Category:Delta Quadrant]]
}}
{{#switch:{{{affiliation|}}} 
  |Federation
  |[[Federation]]
  |United Federation of Planets
  |[[United Federation of Planets]]
  |UFP
  |[[UFP]] = [[Category:Federation Astrometrics]]
  |Breen
  |Breen Confederacy
  |[[Breen Confederacy]] = [[Category:Breen Astrometrics]]
  |Cardassian
  |[[Cardassian]]
  |Cardassia
  |[[Cardassia]]
  |Cardassian Union
  |[[Cardassian Union]] = [[Category:Cardassian Astrometrics]]
  |Dominion
  |The Dominion
  |[[Dominion]]
  |[[The Dominion]] = [[Category:Dominion Astrometrics]]
  |Gorn
  |Gorn Hegemony
  |[[Gorn Hegemony]] = [[Category:Gorn Astrometrics]]
  |Tzenkethi
  |Tzenkethi Coalition
  |[[Tzenkethi Coalition]] = [[Category:Tzenkethi Astrometrics]]
  |Kzinti
  |Kzinti Patriarchy
  |[[Kzinti Patriarchy]] = [[Category:Kzinti Astrometrics]]
  |Ferengi
  |Ferengi Alliance
  |[[Ferengi Alliance]] = [[Category:Ferengi Astrometrics]]
  |Klingon
  |Klingon Empire
  |[[Klingon]]
  |[[Klingon Empire]] = [[Category:Klingon Astrometrics]]
  |Sheliak
  |Sheliak Corporate
  |[[Sheliak Corporate]] = [[Category:Sheliak Astrometrics]]
  |Talarian
  |Talarian Empire
  |[[Talarian Empire]] = [[Category:Talarian Astrometrics]]
  |Firat Federation
  |[[First Federation]] = [[Category:First Federation Astrometrics]]
  |Independent
  |Independent Planets
  |[[Independent Planets]] = [[Category:Independent Astrometrics]]
  |Romulan
  |Romulan Star Empire
  |Romulan Empire
  |[[Romulan]]
  |[[Romulan Empire]]
  |[[Romulan Star Empire]] = [[Category:Romulan Astrometrics]]
}}
}}
</includeonly>
<noinclude>
<noinclude>
<br clear=all>
==Species==
<pre>
Infobox for species<pre>
{{Species
{{Species
|image=
| image =
|name=
| name =
|star system=
| star system =
|sector=
| sector =
|quadrant=
| quadrant =
|class=
| class =
|discovery date=
| discovery date =
|extinction date=
| extinction date =
|affiliation=
| affiliation =
|capital=
| capital =
|political system=
| political system =
|population=
| population =
|type= Humanoid .etc
| type = Humanoid .etc
|atmosphere type= Oxygen/Chlorine/Methane/.etc
| atmosphere type = Oxygen/Chlorine/Methane/.etc
|development stage= Medieval/Warp capable/.etc
| development stage = Medieval/Warp capable/.etc
|character= Aggressive/Peaceful/.etc
| character = Aggressive/Peaceful/.etc
}}</pre>  
}}</pre>  
 
{{clear}}
<noinclude>[[Category:Infobox Templates|Species]] [[Category:Infobox Templates|{{PAGENAME}}]]
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Revision as of 05:29, 16 July 2022

{{{name}}}
Information
Template:Species


Species

Infobox for species
{{Species
| image =
| name =
| star system =
| sector =
| quadrant =
| class =
| discovery date =
| extinction date =
| affiliation =
| capital =
| political system =
| population =
| type = Humanoid .etc
| atmosphere type = Oxygen/Chlorine/Methane/.etc
| development stage = Medieval/Warp capable/.etc
| character = Aggressive/Peaceful/.etc
}}