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" | {{!}} 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}}}''' | |||
}} | |||
|- | |- | ||
| | | class="ibheader" colspan="2" | '''Information''' | ||
|- | |- | ||
{{#if: {{{star system|}}}| | {{#if: {{{star system|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Star System | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{star system}}} }} | {{{star system}}} }} | ||
|- | |- | ||
{{#if: {{{sector|}}}| | {{#if: {{{sector|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Sector | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{sector}}} }} | {{{sector}}} }} | ||
|- | |- | ||
{{#if: {{{region|}}}| | {{#if: {{{region|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Region | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{region}}} }} | {{{region}}} }} | ||
|- | |- | ||
{{#if: {{{quadrant|}}}| | {{#if: {{{quadrant|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Quadrant | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{quadrant}}} }} | {{{quadrant}}} }} | ||
|- | |- | ||
{{#if: {{{class|}}}| | {{#if: {{{class|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Classification | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{class}}} }} | {{{class}}} }} | ||
|- | |- | ||
{{#if: {{{discovery date|}}}| | {{#if: {{{discovery date|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} First Contact | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{discovery date}}} }} | {{{discovery date}}} }} | ||
|- | |- | ||
| | {{#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|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Extinction Date | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{extinction date}}} }} | {{{extinction date}}} }} | ||
|- | |- | ||
{{#if: {{{affiliation|}}}| | {{#if: {{{affiliation|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Affiliation | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{affiliation}}} }} | {{{affiliation}}} }} | ||
|- | |- | ||
{{#if: {{{political system|}}}| | {{#if: {{{political system|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Political System | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{political system}}} }} | {{{political system}}} }} | ||
|- | |- | ||
{{#if: {{{population|}}}| | {{#if: {{{population|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Total Population | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{population}}} }} | {{{population}}} }} | ||
|- | |- | ||
{{#if: {{{type|}}}| | {{#if: {{{type|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Type | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{type}}} }} | {{{type}}} }} | ||
|- | |- | ||
{{#if: {{{atmosphere type|}}}| | {{#if: {{{atmosphere type|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Atmospheric Requirements | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{atmosphere type}}} }} | {{{atmosphere type}}} }} | ||
|- | |- | ||
{{#if: {{{development stage|}}}| | {{#if: {{{development stage|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Development Stage | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{development stage}}} }} | {{{development stage}}} }} | ||
|- | |- | ||
{{#if: {{{character|}}}| | {{#if: {{{character|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Personality | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{character}}} }} | {{{character}}} }} | ||
|- class=" | |- | ||
| 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> | ||
==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}} | |||
[[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 }}