Template:Species: Difference between revisions

From Mason Wiki
Jump to navigation Jump to search
Content deleted Content added
changing storage method to see if that fixes an issue
diet storage now strips links
Line 239: Line 239:
}}{{#ifeq:{{PAGENAME}}|Species||{{#ifeq:{{show|SpeciesInfo|{{PAGENAME}}|title}}|{{PAGENAME}}||[[Category:Pages containing cargo querys which returned no results]]}}}}
}}{{#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|}}}}}
-->{{#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={{#replace:{{#replace:{{{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>

Revision as of 15:24, 5 April 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