Changes

Jump to navigation Jump to search

Template:Creature

352 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}}
|
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|90px|A {{{name|{{PAGENAME}}}}}]]
}}
}}{{#ifeq:{{lc:{{{unique|}}}}}|yes|
{{!}}-
! styleclass="backgroundcreature-color:#E3CA74; 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.
{{!}}|}}{{#if:{{{butcheringprod|}}}|;[[Butchering|Butchering produces]]:{{{butcheringprod}}}
{{!}}-
{{!}}|}}{{#if:{{{meattype|}}}|;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