Difference between revisions of "Template:Creature"

From Wurmpedia
Jump to navigation Jump to search
m (Another fix)
m (Line break fix)
Line 14: Line 14:
 
|-
 
|-
 
|
 
|
{{#ifeq:{{lc:{{{unique|}}}}}|yes|<b>This creature is a [[unique]].</b>
+
{{#ifeq:{{lc:{{{unique|}}}}}|yes|<div style="text-align:center;display:inline-block"><b>This creature is a [[unique]].</b></div>
 
{{!}}-
 
{{!}}-
{{!}}|}}
+
{{!}}|}}{{#if:{{{aggro|}}}|
{{#if:{{{aggro|}}}|
 
 
{{#switch: {{lc:{{{aggro}}}}}
 
{{#switch: {{lc:{{{aggro}}}}}
 
| no = ;Aggressive:No, this creature will not unprovoked.
 
| no = ;Aggressive:No, this creature will not unprovoked.
Line 25: Line 24:
 
}}
 
}}
 
{{!}}-
 
{{!}}-
{{!}}|}}
+
{{!}}|}}{{#if:{{{tamable|}}}|
{{#if:{{{tamable|}}}|
 
 
{{#switch: {{lc:{{{tamable}}}}}
 
{{#switch: {{lc:{{{tamable}}}}}
 
| no = ;[[Taming|Tamable]]:No, this creature is unable to be tamed.
 
| no = ;[[Taming|Tamable]]:No, this creature is unable to be tamed.
Line 34: Line 32:
 
}}
 
}}
 
{{!}}-
 
{{!}}-
{{!}}|}}
+
{{!}}|}}{{#if:{{{dommable|}}}|
{{#if:{{{dommable|}}}|
 
 
{{#switch: {{lc:{{{dommable}}}}}
 
{{#switch: {{lc:{{{dommable}}}}}
 
| no = ;[[Dominate]]:No, this creature is unable to be dominated.
 
| no = ;[[Dominate]]:No, this creature is unable to be dominated.
Line 43: Line 40:
 
}}
 
}}
 
{{!}}-
 
{{!}}-
{{!}}|}}
+
{{!}}|}}{{#if:{{{groomable|}}}|
{{#if:{{{groomable|}}}|
 
 
{{#switch: {{lc:{{{groomable}}}}}
 
{{#switch: {{lc:{{{groomable}}}}}
 
| no = ;[[Grooming|Groomable]]:No, this creature cannot be groomed.
 
| no = ;[[Grooming|Groomable]]:No, this creature cannot be groomed.
Line 52: Line 48:
 
}}
 
}}
 
{{!}}-
 
{{!}}-
{{!}}|}}
+
{{!}}|}}{{#if:{{{ridable|}}}|
{{#if:{{{ridable|}}}|
 
 
{{#switch: {{lc:{{{ridable}}}}}
 
{{#switch: {{lc:{{{ridable}}}}}
 
| no = ;[[Mounts|Ridable]]:No, this creature cannot be ridden.
 
| no = ;[[Mounts|Ridable]]:No, this creature cannot be ridden.
Line 61: Line 56:
 
}}
 
}}
 
{{!}}-
 
{{!}}-
{{!}}|}}
+
{{!}}|}}{{#if:{{{swim|}}}|
{{#if:{{{swim|}}}|
 
 
{{#switch: {{lc:{{{swim}}}}}
 
{{#switch: {{lc:{{{swim}}}}}
 
| no = ;[[Swimming|Swimmer]]:No, this creature cannot swim.
 
| no = ;[[Swimming|Swimmer]]:No, this creature cannot swim.
Line 70: Line 64:
 
}}
 
}}
 
{{!}}-
 
{{!}}-
{{!}}|}}
+
{{!}}|}}{{#if:{{{butcheringprod|}}}|;[[Butchering|Butchering produces]]:{{{butcheringprod}}}
{{#if:{{{butcheringprod|}}}|;[[Butchering|Butchering produces]]:{{{butcheringprod}}}
 
 
{{!}}-
 
{{!}}-
{{!}}|}}
+
{{!}}|}}{{#if:{{{eats|}}}|;Eats:{{{eats}}}
{{#if:{{{eats|}}}|;Eats:{{{eats}}}
 
 
{{!}}-
 
{{!}}-
{{!}}|}}
+
{{!}}|}}{{#if:{{{lair|}}}|;Lair:{{{lair}}}
{{#if:{{{lair|}}}|;Lair:{{{lair}}}
 
 
{{!}}-
 
{{!}}-
{{!}}|}}
+
{{!}}|}}{{#if:{{{spawn|}}}|;Spawns on:{{{spawn}}}
{{#if:{{{spawn|}}}|;Spawns on:{{{spawn}}}
 
 
{{!}}-
 
{{!}}-
 
{{!}}|}}
 
{{!}}|}}

Revision as of 21:33, 20 February 2016


Usage:

{{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
|dommable=Yes|No|Unknown
|groomable=Yes|No|Unknown
|butcheringprod=[[Meat]], [[fat]], [[tail]], [[hoof]], [[gland]], [[eye]], [[hide]], [[bladder]]
|ridable=Yes|No|Unknown
|swim=Yes|No|Unknown
|eats=Grain and seeds
|lair=[[Deer Yard]]
|spawn=[[Grass]], [[Steppe]]
}}