Changes

Jump to navigation Jump to search

Template:Creature

741 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|
{{!}}-
! class="creature-unique-row" {{!}} [[Unique]]
{{!}}-
{{!}}|}}
|-
! styleclass="backgroundinfobox-color:#4B3E30; color:#FFFFFF;header-row" | Information
|-
|
{{#ifeq:{{{unique|yes}}}|<b>This creature is a [[unique]].</b>{{!}}-{{!}}|}}{{#if:{{{aggro|}}}|;Aggressive:
{{#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|}}}|;[[Taming|Tamable]]:
{{#switch: {{lc:{{{tamable}}}}}
| no = ;[[Taming|Tamable]]:No, this creature is unable to be tamed. | yes = ;[[Taming|Tamable]]:Yes, you may tame this creature. | unknown = ;[[Taming|Tamable]]:The ability to tame this creature is not known. | #default = ;[[Taming|Tamable]]:{{{tamable}}}
}}
{{!}}-
{{!}}|}}{{#if:{{{dommable|}}}|;[[Dominate]]:
{{#switch: {{lc:{{{dommable}}}}}
| no = ;[[Dominate]]:No, this creature is unable to be dominated. | yes = ;[[Dominate]]:Yes, you may dominate this creature. | unknown = ;[[Dominate]]:The ability to dominate this creature is not known. | #default = ;[[Dominate]]:{{{dommable}}}
}}
{{!}}-
{{!}}|}}{{#if:{{{groomable|}}}|;[[Grooming|Groomable]]:
{{#switch: {{lc:{{{groomable}}}}}
| no = ;[[Grooming|Groomable]]:No, this creature cannotbe groomed. | yes = ;[[Grooming|Groomable]]:Yes, you may dominate groom this creature. | unknown = ;[[Grooming|Groomable]]:The ability to dominate groom this creature is not known. | #default = ;[[Grooming|Groomable]]:{{{groomable}}}
}}
{{!}}-
{{!}}|}}{{#if:{{{ridable|}}}|;[[Mounts|Ridable]]:
{{#switch: {{lc:{{{ridable}}}}}
| no = ;[[Mounts|Ridable]]:No, this creature cannot be ridden. | yes = ;[[Mounts|Ridable]]:Yes, you may ride this creature. | unknown = ;[[Mounts|Ridable]]:The ability to ride this creature is unknown. | #default = ;[[Mounts|Ridable]]:{{{ridable}}}
}}
{{!}}-
{{!}}|}}{{#if:{{{swim|}}}|;[[Swimming|Swimmer]]:
{{#switch: {{lc:{{{swim}}}}}
| no = ;[[Swimming|Swimmer]]:No, this creature cannot swim. | yes = ;[[Swimming|Swimmer]]:Yes, this creature can swim. | unknown = ;[[Swimming|Swimmer]]:It is unknown if this creature can swim. | #default = ;[[Swimming|Swimmer]]:{{{swim}}}
}}
{{!}}-
{{!}}|}}{{#if:{{{butcheringprod|}}}|;[[Butchering|Butchering produces]] products: {{{butcheringprod}}}
{{!}}-
{{!}}|}}{{#if:{{{eatsmeattype|}}}|;EatsMeat type: {{{eatsmeattype}}}
{{!}}-
{{!}}|}}{{#if:{{{laireats|}}}|;LairDiet: {{{laireats}}}
{{!}}-
{{!}}|}}{{#if:{{{spawnlair|}}}|;Spawns onLair: {{{spawnlair}}}
{{!}}-
{{!}}|}}{{#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
|image=deer.jpg *** defaults to {{PAGENAME}}.jpg or {{PAGENAME}}.png ***
|unique=yes(leave out for non-uniques)
|aggro=Yes|No|Reduced
|tamable=Yes|No|Unknown
|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