Difference between revisions of "Template:Species"
Template page
(Updating the template to the new standard. Adding in switch values for categories based on quadrant and affiliation.) |
m (Protected "Template:Species" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<infobox theme="bravo"> | |||
<title source="name"> | |||
<default>{{PAGENAME}}</default><format>'''{{{name|}}}'''</format> | |||
</title> | |||
<image source="image"/> | |||
<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 92: | Line 30: | ||
|Alpha | |Alpha | ||
|[[Alpha Quadrant]] | |[[Alpha Quadrant]] | ||
|Alpha Quadrant = | |Alpha Quadrant = [[Category:Alpha Quadrant]] | ||
|beta | |beta | ||
|Beta | |Beta | ||
|[[Beta Quadrant]] | |[[Beta Quadrant]] | ||
|Beta Quadrant = | |Beta Quadrant = [[Category:Beta Quadrant]] | ||
|gamma | |gamma | ||
|Gamma | |Gamma | ||
|[[Gamma Quadrant]] | |[[Gamma Quadrant]] | ||
|Gamma Quadrant = | |Gamma Quadrant = [[Category:Gamma Quadrant]] | ||
|delta | |delta | ||
|Delta | |Delta | ||
|[[Delta Quadrant]] | |[[Delta Quadrant]] | ||
|Delta Quadrant = | |Delta Quadrant = [[Category:Delta Quadrant]] | ||
}} | }} | ||
{{#switch:{{{affiliation|}}} | {{#switch:{{{affiliation|}}} | ||
Line 168: | Line 106: | ||
| image = | | image = | ||
| name = | | name = | ||
| homeworld = | |||
| star system = | | star system = | ||
| sector = | | sector = | ||
| region = | |||
| quadrant = | | quadrant = | ||
| discovery date = | | discovery date = | ||
| extinction date = | | extinction date = | ||
| affiliation = | | affiliation = | ||
| political system = | | political system = | ||
| population = | | population = | ||
Line 183: | Line 121: | ||
| character = Aggressive/Peaceful/.etc | | character = Aggressive/Peaceful/.etc | ||
}}</pre> | }}</pre> | ||
{{clear}} | {{clear}} | ||
[[Category:Infobox Templates]] | [[Category:Infobox Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 07:46, 6 June 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 }}