Difference between revisions of "Template:Biota"

From The Orthorbbae Library
Jump to: navigation, search
m
m
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeOnly>
 
<includeOnly>
[[Category:{{{section|Moonless Age}}} Flora & Fauna]]
+
[[Category:{{{section|Moonless Age}}} Ecology]]
 +
{{#if: {{#pos:{{{kingdom|}}}|Animal}}
 +
| [[Category:{{{section|Moonless Age}}} Fauna]]
 +
}}
 
{{#if: {{#pos:{{{kingdom|}}}|Plant}}
 
{{#if: {{#pos:{{{kingdom|}}}|Plant}}
  | [[Category:{{{section}}} Plants]]
+
  | [[Category:{{{section|Moonless Age}}} Flora]]
 
}}
 
}}
 
{{#if: {{#pos:{{{kingdom|}}}|Fungus}}
 
{{#if: {{#pos:{{{kingdom|}}}|Fungus}}
  | [[Category:{{{section}}} Fungi]]
+
  | [[Category:{{{section|Moonless Age}}} Flora]]
}}
 
{{#if: {{#pos:{{{kingdom|}}}|Animal}}
 
| [[Category:{{{section}}} Animals]]
 
 
}}
 
}}
 
</includeOnly>
 
</includeOnly>
 
<div class="InfoBox">
 
<div class="InfoBox">
 
   <div class="InfoBoxHeader">{{PAGENAME}}</div>
 
   <div class="InfoBoxHeader">{{PAGENAME}}</div>
   ''<div style='clear:both; text-align:center'>{{{section|Moonless Age}}} {{{kingdom}}}''<br/>
+
   ''<div style='clear:both; text-align:center'>{{{section|Moonless Age}}} {{{kingdom|Organism}}}''<br/>
  
   <div style="padding:5px;">{{#ifexist:File:Portrait_{{PAGENAME}}_Specimen.png
+
   <div style="padding:5px;">{{#ifexist:File:{{PAGENAME}}_Specimen.png
             |[[Image:{{PAGENAME}}_Specimen.png|240px|{{PAGENAME}} Specimen]]
+
             |[[Image:{{PAGENAME}}_Specimen.png|240px|A_{{PAGENAME}}_Specimen]]
 
             |[[Image:Portrait_default.png|link=File:{{PAGENAME}}_Specimen.png|240px|(Image missing, click to upload)]]}}
 
             |[[Image:Portrait_default.png|link=File:{{PAGENAME}}_Specimen.png|240px|(Image missing, click to upload)]]}}
 
</div>
 
</div>
 
 
{{#if: {{{img_caption|}}} |<div style="clear:both">''{{{img_caption}}}''</div>}}
 
{{#if: {{{img_caption|}}} |<div style="clear:both">''{{{img_caption}}}''</div>}}
{{#if: {{{type|Unknown}}} |
+
</div>
 +
{{#if: {{{niche|}}} |
 
<div class="InfoBoxHeader">Classification</div>
 
<div class="InfoBoxHeader">Classification</div>
{{{type|}}}
+
<div style='text-align:center'>{{{niche}}}</div>
|}}</div>
+
|}}
 
{{#if: {{{habitat|}}} |
 
{{#if: {{{habitat|}}} |
 
<div class="InfoBoxHeader">Habitat</div>
 
<div class="InfoBoxHeader">Habitat</div>
 
{{{habitat}}}
 
{{{habitat}}}
|}}</div>
+
|}}
 
{{#if: {{{trivia|}}} |
 
{{#if: {{{trivia|}}} |
 
<div class="InfoBoxHeader">Trivia</div>
 
<div class="InfoBoxHeader">Trivia</div>
 
{{{trivia}}}
 
{{{trivia}}}
|}}
+
|}}</div>
 
 
 
<noinclude>
 
<noinclude>
 
[[Category:Page Types]]
 
[[Category:Page Types]]
 
A template for use on flora and fauna pages. It creates the infobox seen on the right of each page.
 
A template for use on flora and fauna pages. It creates the infobox seen on the right of each page.
  
 
+
Arguments:
Optional arguments:
 
 
* img_caption - A short description of the main image.
 
* img_caption - A short description of the main image.
* section - The comic in which the character appears; default ''Moonless Age''
+
* section - The comic in which the character appears. Default is ''Moonless Age''
* kingdom - What taxonomic kingdom the organism is (Plant, Animal, Fungus, etc).
+
* kingdom - What taxonomic kingdom the organism is (Plant, Animal, Fungus, etc). Default is ''Organism''.
* type - What type of creature it is (Carnivore, Herbivore, Omnivore, Parasite, etc).
+
* niche - What type of creature it is (Carnivore, Herbivore, Omnivore, Parasite, etc).
 
* habitat - Locations the organism can be found.
 
* habitat - Locations the organism can be found.
 
* trivia - Various one-liner facts.
 
* trivia - Various one-liner facts.
 
</noinclude>
 
</noinclude>

Latest revision as of 15:07, 14 July 2019

Biota
Moonless Age Organism
(Image missing, click to upload)


A template for use on flora and fauna pages. It creates the infobox seen on the right of each page.

Arguments:

  • img_caption - A short description of the main image.
  • section - The comic in which the character appears. Default is Moonless Age
  • kingdom - What taxonomic kingdom the organism is (Plant, Animal, Fungus, etc). Default is Organism.
  • niche - What type of creature it is (Carnivore, Herbivore, Omnivore, Parasite, etc).
  • habitat - Locations the organism can be found.
  • trivia - Various one-liner facts.