Changes

Jump to navigation Jump to search

Template:Creature

325 bytes added, 10:16, 22 April 2021
Adding CSS
<templatestyles src="InfoTable/styles.css" />
<includeonly>
{| class="wikitable" style="float:right; margin:1em; width:200px250px;" cellpadding="3" cellspacing="10" border="1"
|+ style="font-weight: bold" | {{PAGENAME}}
|
{{#ifeq:{{lc:{{{unique|}}}}}|yes|
{{!}}-
! styleclass="backgroundcreature-color:#FFD700; color:#FFFFFF;unique-row" {{!}} [[Unique]]
{{!}}-
{{!}}|}}
|-
! styleclass="backgroundinfobox-color:#4B3E30; color:#FFFFFF;header-row" | Information
|-
|
{{#if:{{{aggro|}}}|
{{!}}
{{#switch: {{lc:{{{aggro}}}}}
| no = ;Aggressive:No, this creature will not attack unprovoked.
| yes = ;Aggressive:Yes, this creature will attack unprovoked.
| reduced = ;Aggressive:Yes, this creature will occasionally attack unprovoked.
| #default = ;Aggressive:{{{aggro}}}
}}
{{!}}-{{!}}|}}{{#if:{{{tamable|}}}|{{!}}
{{#switch: {{lc:{{{tamable}}}}}
| no = ;[[Taming|Tamable]]:No, this creature is unable to be tamed.
| #default = ;[[Taming|Tamable]]:{{{tamable}}}
}}
{{!}}-{{!}}|}}{{#if:{{{dommable|}}}|{{!}}
{{#switch: {{lc:{{{dommable}}}}}
| no = ;[[Dominate]]:No, this creature is unable to be dominated.
| #default = ;[[Dominate]]:{{{dommable}}}
}}
{{!}}-{{!}}|}}{{#if:{{{groomable|}}}|{{!}}
{{#switch: {{lc:{{{groomable}}}}}
| no = ;[[Grooming|Groomable]]:No, this creature cannot be groomed.
| #default = ;[[Grooming|Groomable]]:{{{groomable}}}
}}
{{!}}-{{!}}|}}{{#if:{{{ridable|}}}|{{!}}
{{#switch: {{lc:{{{ridable}}}}}
| no = ;[[Mounts|Ridable]]:No, this creature cannot be ridden.
| #default = ;[[Mounts|Ridable]]:{{{ridable}}}
}}
{{!}}-{{!}}|}}{{#if:{{{swim|}}}|{{!}}
{{#switch: {{lc:{{{swim}}}}}
| no = ;[[Swimming|Swimmer]]:No, this creature cannot swim.
| #default = ;[[Swimming|Swimmer]]:{{{swim}}}
}}
{{!}}-{{!}}|}}{{#if:{{{butcheringprod|}}}|{{!}};[[Butchering|Butchering produces]]:{{{butcheringprod}}}{{!}}-{{!}}|}}{{#if:{{{eatsmeattype|}}}|;Meat type:{{{meattype}}}{{!}}-{{!}}|}}{{#if:{{{eats|}}}|;EatsDiet:{{{eats}}}{{!}}-{{!}}|}}{{#if:{{{lair|}}}|{{!}};Lair:{{{lair}}}{{!}}-{{!}}|}}{{#if:{{{spawn|}}}|{{!}};Spawns on:{{{spawn}}}{{!}}-|}}
|}
  <!-- the following will place the page in bestiary category only if in the main namespace -->{{#ifeq: {{FULLPAGENAME}} | {{PAGENAME}} | [[Category:Bestiary]]| }} 
</includeonly>
<noinclude>
 ==Usage:==This template is used on ''Creature'' pages to describe their different features. Using this template is described below.
<pre>
{{Creature
|groomable=Yes|No|Unknown
|butcheringprod=[[Meat]], [[fat]], [[tail]], [[hoof]], [[gland]], [[eye]], [[hide]], [[bladder]]
|meattype=Game meat
|ridable=Yes|No|Unknown
|swim=Yes|No|Unknown
[[Category:Template]]
[[Category:Babel/C]]
</noinclude>

Navigation menu