Difference between revisions of "Template:Creature"

From Wurmpedia
Jump to navigation Jump to search
m (Fix for creature template.)
m (I'll get this right soon :))
Line 17: Line 17:
 
{{!}}-
 
{{!}}-
 
{{!}}|}}
 
{{!}}|}}
{{#if:{{{aggro|}}}|;Aggressive:
+
{{#if:{{{aggro|}}}|
 
{{#switch: {{lc:{{{aggro}}}}}
 
{{#switch: {{lc:{{{aggro}}}}}
| no = No, this creature will not unprovoked.
+
| no = ;Aggressive:No, this creature will not unprovoked.
| yes = Yes, this creature will attack unprovoked.
+
| yes = ;Aggressive:Yes, this creature will attack unprovoked.
| reduced = Yes, this creature will occasionally attack unprovoked.
+
| reduced = ;Aggressive:Yes, this creature will occasionally attack unprovoked.
| #default = {{{aggro}}}
+
| #default = ;Aggressive:{{{aggro}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
 
{{!}}|}}
 
{{!}}|}}
{{#if:{{{tamable|}}}|;[[Taming|Tamable]]:
+
{{#if:{{{tamable|}}}|
 
{{#switch: {{lc:{{{tamable}}}}}
 
{{#switch: {{lc:{{{tamable}}}}}
| no = No, this creature is unable to be tamed.
+
| no = ;[[Taming|Tamable]]:No, this creature is unable to be tamed.
| yes = Yes, you may tame this creature.
+
| yes = ;[[Taming|Tamable]]:Yes, you may tame this creature.
| unknown = The ability to tame this creature is not known.
+
| unknown = ;[[Taming|Tamable]]:The ability to tame this creature is not known.
| #default = {{{tamable}}}
+
| #default = ;[[Taming|Tamable]]:{{{tamable}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
 
{{!}}|}}
 
{{!}}|}}
{{#if:{{{dommable|}}}|;[[Dominate]]:
+
{{#if:{{{dommable|}}}|
 
{{#switch: {{lc:{{{dommable}}}}}
 
{{#switch: {{lc:{{{dommable}}}}}
| no = No, this creature is unable to be dominated.
+
| no = ;[[Dominate]]:No, this creature is unable to be dominated.
| yes = Yes, you may dominate this creature.
+
| yes = ;[[Dominate]]:Yes, you may dominate this creature.
| unknown = The ability to dominate this creature is not known.
+
| unknown = ;[[Dominate]]:The ability to dominate this creature is not known.
| #default = {{{dommable}}}
+
| #default = ;[[Dominate]]:{{{dommable}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
 
{{!}}|}}
 
{{!}}|}}
{{#if:{{{groomable|}}}|;[[Grooming|Groomable]]:
+
{{#if:{{{groomable|}}}|
 
{{#switch: {{lc:{{{groomable}}}}}
 
{{#switch: {{lc:{{{groomable}}}}}
| no = No, this creature cannot
+
| no = ;[[Grooming|Groomable]]:No, this creature cannot be groomed.
| yes = Yes, you may dominate this creature.
+
| yes = ;[[Grooming|Groomable]]:Yes, you may groom this creature.
| unknown = The ability to dominate this creature is not known.
+
| unknown = ;[[Grooming|Groomable]]:The ability to groom this creature is not known.
| #default = {{{groomable}}}
+
| #default = ;[[Grooming|Groomable]]:{{{groomable}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
 
{{!}}|}}
 
{{!}}|}}
{{#if:{{{ridable|}}}|;[[Mounts|Ridable]]:
+
{{#if:{{{ridable|}}}|
 
{{#switch: {{lc:{{{ridable}}}}}
 
{{#switch: {{lc:{{{ridable}}}}}
| no = No, this creature cannot be ridden.
+
| no = ;[[Mounts|Ridable]]:No, this creature cannot be ridden.
| yes = Yes, you may ride this creature.
+
| yes = ;[[Mounts|Ridable]]:Yes, you may ride this creature.
| unknown = The ability to ride this creature is unknown.
+
| unknown = ;[[Mounts|Ridable]]:The ability to ride this creature is unknown.
| #default = {{{ridable}}}
+
| #default = ;[[Mounts|Ridable]]:{{{ridable}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
 
{{!}}|}}
 
{{!}}|}}
{{#if:{{{swim|}}}|;[[Swimming|Swimmer]]:
+
{{#if:{{{swim|}}}|
 
{{#switch: {{lc:{{{swim}}}}}
 
{{#switch: {{lc:{{{swim}}}}}
| no = No, this creature cannot swim.
+
| no = ;[[Swimming|Swimmer]]:No, this creature cannot swim.
| yes = Yes, this creature can swim.
+
| yes = ;[[Swimming|Swimmer]]:Yes, this creature can swim.
| unknown = It is unknown if this creature can swim.
+
| unknown = ;[[Swimming|Swimmer]]:It is unknown if this creature can swim.
| #default = {{{swim}}}
+
| #default = ;[[Swimming|Swimmer]]:{{{swim}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
 
{{!}}|}}
 
{{!}}|}}
{{#if:{{{butcheringprod|}}}|;[[Butchering]] products: {{{butcheringprod}}}
+
{{#if:{{{butcheringprod|}}}|;[[Butchering]] products:{{{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:15, 20 February 2016


Usage:

{{Creature
|image=deer.jpg    *** defaults to {{PAGENAME}}.jpg or {{PAGENAME}}.png ***
|unique=yes
|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]]
}}