Template:Species: Difference between revisions

From Mason Wiki
Jump to navigation Jump to search
Content deleted Content added
nvm I broke something, looking for alternate solution
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 128: Line 128:
<td style="border-top: solid 1px #999999; padding: 0.4em 1em 0.4em 0; vertical-align: right;" > '''Domain'''{{#if:{{{kingdom|}}}|<br>'''Kingdom'''}}{{#if:{{{subkingdom|}}}|<br>'''Subkingdom'''}}{{#if:{{{superphylum|}}}|<br>'''Superphylum'''}}{{#if:{{{phylum|}}}|<br>'''Phylum'''}}{{#if:{{{subphylum|}}}|<br>'''Subphylum'''}}{{#if:{{{superclass|}}}|<br>'''Superclass'''}}{{#if:{{{class|}}}|<br>'''Class'''}}{{#if:{{{subclass|}}}|<br>'''Subclass'''}}{{#if:{{{superorder|}}}|<br>'''Superorder'''}}{{#if:{{{order|}}}|<br>'''Order'''}}{{#if:{{{suborder|}}}|<br>'''Suborder'''}}{{#if:{{{superfamily|}}}|<br>'''Superfamily'''}}{{#if:{{{family|}}}|<br>'''Family'''}}{{#if:{{{subfamily|}}}|<br>'''Subfamily'''}}{{#if:{{{tribe|}}}|<br>'''Tribe'''}}{{#if:{{{genus|}}}|<br>'''Genus'''}}{{#if:{{{species|}}}|<br>'''Species'''}}
<td style="border-top: solid 1px #999999; padding: 0.4em 1em 0.4em 0; vertical-align: right;" > '''Domain'''{{#if:{{{kingdom|}}}|<br>'''Kingdom'''}}{{#if:{{{subkingdom|}}}|<br>'''Subkingdom'''}}{{#if:{{{superphylum|}}}|<br>'''Superphylum'''}}{{#if:{{{phylum|}}}|<br>'''Phylum'''}}{{#if:{{{subphylum|}}}|<br>'''Subphylum'''}}{{#if:{{{superclass|}}}|<br>'''Superclass'''}}{{#if:{{{class|}}}|<br>'''Class'''}}{{#if:{{{subclass|}}}|<br>'''Subclass'''}}{{#if:{{{superorder|}}}|<br>'''Superorder'''}}{{#if:{{{order|}}}|<br>'''Order'''}}{{#if:{{{suborder|}}}|<br>'''Suborder'''}}{{#if:{{{superfamily|}}}|<br>'''Superfamily'''}}{{#if:{{{family|}}}|<br>'''Family'''}}{{#if:{{{subfamily|}}}|<br>'''Subfamily'''}}{{#if:{{{tribe|}}}|<br>'''Tribe'''}}{{#if:{{{genus|}}}|<br>'''Genus'''}}{{#if:{{{species|}}}|<br>'''Species'''}}
</td><!--
</td><!--
--><td style="border-top: solid 1px #999999; padding: 0.4em 1em 0.4em 0; text-align: left; vertical-align: top;" > [[{{{domain|Eukaryota}}}]][[category:{{{domain|Eukaryota}}}|{{PAGENAME}}]]{{#if:{{{kingdom|}}}|<br>[[{{{kingdom|}}}]][[category:{{{kingdom}}}|{{PAGENAME}}]]}}{{#if:{{{subkingdom|}}}|<br>[[{{{subkingdom|}}}]][[category:{{{subkingdom}}}|{{PAGENAME}}]]}}{{#if:{{{superphylum|}}}|<br>[[{{{superphylum|}}}]][[category:{{{superphylum}}}|{{PAGENAME}}]]}}{{#if:{{{phylum|}}}|<br>[[{{{phylum|}}}]][[category:{{{phylum}}}|{{PAGENAME}}]]}}{{#if:{{{subphylum|}}}|<br>[[{{{subphylum|}}}]][[category:{{{subphylum}}}|{{PAGENAME}}]]}}{{#if:{{{sperclass|}}}|<br>[[{{{superclass|}}}]][[category:{{{superclass}}}|{{PAGENAME}}]]}}{{#if:{{{class|}}}|<br>[[{{{class|}}}]][[category:{{{class}}}|{{PAGENAME}}]]}}{{#if:{{{subclass|}}}|<br>[[{{{subclass|}}}]][[category:{{{subclass}}}|{{PAGENAME}}]]}}{{#if:{{{superorder|}}}|<br>[[{{{superorder|}}}]][[category:{{{superorder}}}|{{PAGENAME}}]]}}{{#if:{{{order|}}}|<br>[[{{{order|}}}]][[category:{{{order}}}|{{PAGENAME}}]]}}{{#if:{{{suborder|}}}|<br>[[{{{suborder|}}}]][[category:{{{suborder}}}|{{PAGENAME}}]]}}{{#if:{{{superfamily|}}}|<br>[[{{{superfamily|}}}]][[category:{{{superfamily}}}|{{PAGENAME}}]]}}{{#if:{{{family|}}}|<br>[[{{{family|}}}]][[category:{{{family}}}|{{PAGENAME}}]]}}{{#if:{{{subfamily|}}}|<br>[[{{{subfamily|}}}]][[category:{{{subfamily}}}|{{PAGENAME}}]]}}{{#if:{{{tribe|}}}|<br>[[{{{tribe|}}}]][[category:{{{tribe}}}|{{PAGENAME}}]]}}{{#if:{{{genus|}}}|<br>''{{{genus|}}}''}}<br>''{{{genus|}}} {{{species|}}}''
--><td style="border-top: solid 1px #999999; padding: 0.4em 1em 0.4em 0; text-align: left; vertical-align: top;" > [[domain::{{{domain|Eukaryota}}}]][[category:{{{domain|Eukaryota}}}|{{PAGENAME}}]]{{#if:{{{kingdom|}}}|<br>[[kingdom::{{{kingdom|}}}]][[category:{{{kingdom}}}|{{PAGENAME}}]]}}{{#if:{{{subkingdom|}}}|<br>[[subkingdom::{{{subkingdom|}}}]][[category:{{{subkingdom}}}|{{PAGENAME}}]]}}{{#if:{{{superphylum|}}}|<br>[[superphylum::{{{superphylum|}}}]][[category:{{{superphylum}}}|{{PAGENAME}}]]}}{{#if:{{{phylum|}}}|<br>[[phylum::{{{phylum|}}}]][[category:{{{phylum}}}|{{PAGENAME}}]]}}{{#if:{{{subphylum|}}}|<br>[[subphylum::{{{subphylum|}}}]][[category:{{{subphylum}}}|{{PAGENAME}}]]}}{{#if:{{{superclass|}}}|<br>[[superclass::{{{superclass|}}}]][[category:{{{superclass}}}|{{PAGENAME}}]]}}{{#if:{{{class|}}}|<br>[[class::{{{class|}}}]][[category:{{{class}}}|{{PAGENAME}}]]}}{{#if:{{{subclass|}}}|<br>[[subclass::{{{subclass|}}}]][[category:{{{subclass}}}|{{PAGENAME}}]]}}{{#if:{{{superorder|}}}|<br>[[superorder::{{{superorder|}}}]][[category:{{{superorder}}}|{{PAGENAME}}]]}}{{#if:{{{order|}}}|<br>[[order::{{{order|}}}]][[category:{{{order}}}|{{PAGENAME}}]]}}{{#if:{{{suborder|}}}|<br>[[suborder::{{{suborder|}}}]][[category:{{{suborder}}}|{{PAGENAME}}]]}}{{#if:{{{superfamily|}}}|<br>[[superfamily::{{{superfamily|}}}]][[category:{{{superfamily}}}|{{PAGENAME}}]]}}{{#if:{{{family|}}}|<br>[[family::{{{family|}}}]][[category:{{{family}}}|{{PAGENAME}}]]}}{{#if:{{{subfamily|}}}|<br>[[subfamily::{{{subfamily|}}}]][[category:{{{subfamily}}}|{{PAGENAME}}]]}}{{#if:{{{tribe|}}}|<br>[[tribe::{{{tribe|}}}]][[category:{{{tribe}}}|{{PAGENAME}}]]}}{{#if:{{{genus|}}}|<br>''{{{genus|}}}''[[Category:{{{genus|}}}]]}}<br>''{{{genus|}}} {{{species|}}}''
</td>
</td>
</tr></tr>}}<tr>
</tr></tr>}}<tr>
Line 185: Line 185:
</td></tr></table></div></div>
</td></tr></table></div></div>
</includeonly>
</includeonly>
<includeonly>[[title::{{PAGENAME}}|]][[status::{{#if:{{{extant|}}}|extinct|extant}}|]][[creator::{{{creator|Unknown}}}|]][[artist::{{{artist|{{{creator|Unknown}}}}}}|]][[epoch::{{{epoch|}}}|]][[generation::{{{generation|}}}|]][[habitat::{{{habitat|Unknown}}}|]][[size::{{{size|Unknown}}}|]][[support::{{{support|Unknown}}}|]]{{#set:diet={{{diet|}}}}}[[respiration::{{{respiration|Unknown}}}|]][[thermoregulation::{{{thermoregulation|Unknown}}}|]][[reproduction::{{{reproduction|}}}|]][[genus::{{{genus|}}}|]][[species::{{{species|}}}|]]{{#set:ancestor={{{ancestor|}}}{{{ancestorX|}}}}}[[exgen::{{{exgen|0}}}|]][[exepoch::{{Exepochcalc|{{{name|{{PAGENAME}}}}}}}|]][[excause::{{{excause|unknown cause}}}|]][[image::{{{image|}}}|]]{{#set:pagetype=species}}
<!--<noinclude>{{#cargo_declare:
_table = SpeciesInfo
|title = Wikitext string
|type = Wikitext string
|status = Wikitext string
|creator = Wikitext string
|artist = Wikitext string
|epoch = Wikitext string
|generation = Wikitext string
|habitat = Wikitext
|size = Wikitext string
|support = Wikitext string
|diet = Wikitext
|respiration = Wikitext string
|thermoregulation = Wikitext string
|reproduction = Wikitext string
|family = Wikitext string
|genus = Wikitext string
|species = Wikitext string
|ancestor = Wikitext
|exgen = Wikitext string
|exepoch = Wikitext string
|excause=Wikitext string
|descendants = Wikitext
|image = File
|imageAlt = Wikitext string
}}</noinclude>--><includeonly><!--{{#cargo_store:
_table = SpeciesInfo
|title = {{PAGENAME}}
|type = Species
|status = {{#if:{{{extant|}}}|extinct|extant}}
|creator = {{{creator|Unknown}}}
|artist = {{{artist|}}}
|epoch = {{{epoch|}}}
|generation = {{{generation|}}}
|habitat = {{{habitat|Unknown}}}
|size = {{{size|Unknown}}}
|support = {{{support|Unknown}}}
|diet = {{{diet|}}}
|respiration = {{{respiration|Unknown}}}
|thermoregulation = {{{thermoregulation|Unknown}}}
|reproduction = {{{reproduction|}}}
|family = {{{family|}}}
|genus = {{{genus|}}}
|species = {{{species|}}}
|ancestor = {{{ancestor|}}}{{{ancestorX|}}}
|exgen = {{{exgen|?}}}
|exepoch = {{Exepochcalc|{{{name|{{PAGENAME}}}}}}}
|excause={{{excause|unknown cause}}}
|descendants = {{#if:{{#dpl:|debug=no|noresultsheader= |category=Descendant of {{PAGENAME}}|titlemaxlength=40}}|{{#dpl:|debug=no|noresultsheader= |category=Descendant of {{PAGENAME}}|titlemaxlength=40}}|none}}
|image = {{{image|}}}
|imageAlt = {{{image|}}}
}}{{#ifeq:{{PAGENAME}}|Species||{{#ifeq:{{show|SpeciesInfo|{{PAGENAME}}|title}}|{{PAGENAME}}||[[Category:Pages containing cargo querys which returned no results]]}}}}

-->{{#set:title={{PAGENAME}}}}{{#set:status={{#if:{{{extant|}}}|extinct|extant}}}}{{#set:creator={{{creator|Unknown}}}}}{{#set:artist={{{artist|{{{creator|Unknown}}}}}}}}{{#set:epoch={{{epoch|}}}}}{{#set:generation={{{generation|}}}}}{{#set:habitat={{{habitat|Unknown}}}}}{{#set:size={{{size|Unknown}}}}}{{#set:support={{{support|Unknown}}}}}{{#set:diet={{{diet|}}}}}{{#set:respiration={{{respiration|Unknown}}}}}{{#set:thermoregulation={{{thermoregulation|Unknown}}}}}{{#set:reproduction={{{reproduction|}}}}}{{#set:family={{{family|}}}}}{{#set:genus={{{genus|}}}}}{{#set:species={{{species|}}}}}{{#set:ancestor={{{ancestor|}}}{{{ancestorX|}}}}}{{#set:exgen={{{exgen|?}}}}}{{#set:exepoch={{Exepochcalc|{{{name|{{PAGENAME}}}}}}}}}{{#set:excause={{{excause|unknown cause}}}}}{{#set:image={{{image|}}}}}
</includeonly>
</includeonly>

Latest revision as of 03:45, 20 June 2023

This template is to be used on species pages.

Usage

{{Species
|name             = 
|epoch             =
|generation       = 
|creator          = Creator, just plain text
|creator2         = Optional, plain text (leave blank if there's only one creator)
|artist           = Optional, leave blank if it's the same as the creator
|image            = Just the file name, leave blank if none (optional)
|extant           = (If extinct, place a 1 here.  If extant leave blank)
|exepoch           = 
|exgen            = 
|excause          = 
|ancestor         = 
|ancestorX        = If there is a special case, put raw code in here, leave above blank. 
|size             = Creatures size (optional)
|support          =
|habitat          = Where your species lives (see biome list)
|habitat2         = Additional habitat, can add up 20 using the format |habitat# = location. Deprecated; just paste the whole thing under habitat and make each biome a link.
|diet             = Herbivore/Carnivore/Omnivore (optional)
|respiration      = 
|thermoregulation =
|reproduction     =
|domain           =
|kingdom          =
|phylum           =
|class            =
|order            =
|family           =
|genus            =
|species          =
}}

Example input

{{Species
|name             = Protosagania
|epoch             = 1
|generation       = 1
|creator          = Hydromancerx
|creator2         = 
|artist           = 
|image            = Sagan_001.jpg
|extant           = 1
|exepoch           = 
|exgen            = 
|excause          = 
|ancestor         =
|size             = Microscopic 
|support          =
|habitat          = Tidepool
|diet             = Varied
|respiration      = Varied
|thermoregulation = Varied
|reproduction     = Binary fission
|domain           = Nucleophora
|kingdom          = Protobia
|phylum           = Sagamoeboidea
|class            = N/A
|order            = N/A
|family           = N/A
|genus            = Protosagania
|species          = sp.
}}
text text text text text

Example output

Protosagania
(Protosagania sp.)
File:Sagan 001.jpg

1/8, solar flare
Creator Hydromancerx Other
Taxonomy
Domain
Kingdom
Phylum
Genus
Species
Eukaryota
Protobia
Sagamoeboidea
Protosagania
Protosagania sp.
Epoch/Generation 1/1
Habitat Tidepool
Size Microscopic
Support Unknown
Diet Varied
Respiration Varied
Thermoregulation Varied
Reproduction Binary fission
Descendant of Ancestor of
Unknown


text text text text text text