Difference between revisions of "Template:Species"

Template page
m (Adding in a homeworld tag, adding region to the template code for others to actually use. Removing capital as it's not really relevant I think. Moved first contact into PolInfo section.)
Line 1: Line 1:
<div class="infobox">
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;"
{{#if: {{{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}}}'''
}}
|-
| class="ibheader" colspan="2" | '''Stellar Information'''
|-
{{#if: {{{homeworld|}}}|
{{!}} class="ibleft" {{!}} Homeworld
{{!}} class="ibright" {{!}}
{{{homeworld}}} }}
|-
{{#if: {{{star system|}}}|
{{!}} class="ibleft" {{!}} Star System
{{!}} class="ibright" {{!}}
{{{star system}}} }}
|-
{{#if: {{{sector|}}}|
{{!}} class="ibleft" {{!}} Sector
{{!}} class="ibright" {{!}}
{{{sector}}} }}
|-
{{#if: {{{region|}}}|
{{!}} class="ibleft" {{!}} Region
{{!}} class="ibright" {{!}}
{{{region}}} }}
|-
{{#if: {{{quadrant|}}}|
{{!}} class="ibleft" {{!}} Quadrant
{{!}} class="ibright" {{!}}
{{{quadrant}}} }}
|-
{{#if: {{{extinction date|}}}{{{affiliation|}}}{{{political system|}}}{{{population|}}}{{{type|}}}{{{atmosphere type|}}}{{{development stage|}}}{{{character|}}}|
{{!}} class="ibheader" colspan="2" {{!}} '''Political Information'''
}}
|-
{{#if: {{{discovery date|}}}|
{{!}} class="ibleft" {{!}} First Contact
{{!}} class="ibright" {{!}}
{{{discovery date}}} }}
|-
{{#if: {{{extinction date|}}}|
{{!}} class="ibleft" {{!}} Extinction Date
{{!}} class="ibright" {{!}}
{{{extinction date}}} }}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="ibleft" {{!}} Affiliation
{{!}} class="ibright" {{!}}
{{{affiliation}}} }}
|-
{{#if: {{{political system|}}}|
{{!}} class="ibleft" {{!}} Political System
{{!}} class="ibright" {{!}}
{{{political system}}} }}
|-
{{#if: {{{population|}}}|
{{!}} class="ibleft" {{!}} Total Population
{{!}} class="ibright" {{!}}
{{{population}}} }}
|-
{{#if: {{{type|}}}|
{{!}} class="ibleft" {{!}} Species Type
{{!}} class="ibright" {{!}}
{{{type}}} }}
|-
{{#if: {{{atmosphere type|}}}|
{{!}} class="ibleft" {{!}} Atmospheric Requirements
{{!}} class="ibright" {{!}}
{{{atmosphere type}}} }}
|-
{{#if: {{{development stage|}}}|
{{!}} class="ibleft" {{!}} Development Stage
{{!}} class="ibright" {{!}}
{{{development stage}}} }}
|-
{{#if: {{{character|}}}|
{{!}} class="ibleft" {{!}} Personality
{{!}} class="ibright" {{!}}
{{{character}}} }}
|-
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Species]]
|}</div>
<includeonly>
<includeonly>
<infobox theme="bravopadded">
<image source="seal"/>
<title source="name">
<default>{{PAGENAME}}</default><format>'''{{{name|}}}'''</format>
</title>
<header>Stellar Information</header>
<data source="homeworld"><label>Mandate</label></data>
<data source="star system"><label>Mandate</label></data>
<data source="sector"><label>Mandate</label></data>
<data source="region"><label>Mandate</label></data>
<data source="quadrant"><label>Mandate</label></data>
<header>Political Information</header>
<data source="discovery date"><label>First Contact</label></data>
<data source="extinction date"><label>Extinction Date</label></data>
<data source="affiliation"><label>Affiliation</label></data>
<data source="political system"><label>Political System</label></data>
<data source="population"><label>Total Population</label></data>
<data source="type"><label>Species Type</label></data>
<data source="atmosphere type"><label>Atmospheric Requirements</label></data>
<data source="development stage"><label>Development Stage</label></data>
<data source="character"><label>Personality</label></data>
<data source="discovery date"><label>Commander</label></data>
<data source="discovery date"><label>Commander</label></data>
<header name="footer">[[Template:Species]]</header>
</infobox>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Species]]{{DEFAULTSORT:{{{name}}}}}
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Species]]{{DEFAULTSORT:{{{name}}}}}
{{#switch:{{{quadrant|}}}   
{{#switch:{{{quadrant|}}}   
Line 183: Line 121:
| character = Aggressive/Peaceful/.etc
| character = Aggressive/Peaceful/.etc
}}</pre>  
}}</pre>  
{{clear}}
{{clear}}
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Revision as of 10:30, 27 May 2024


Species

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