Difference between revisions of "Template:Creature"

From Wurmpedia
Jump to navigation Jump to search
m (Line break fix)
m (Changed unique tag formatting)
Line 9: Line 9:
 
         | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|90px|A {{{name|{{PAGENAME}}}}}]]
 
         | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|90px|A {{{name|{{PAGENAME}}}}}]]
 
     }}
 
     }}
}}
+
}}{{#ifeq:{{lc:{{{unique|}}}}}|yes|
 +
{{!}}-
 +
! style="background-color:#E3CA74; color:#FFFFFF;" | [[Unique]]
 +
{{!}}-
 +
{{!}}|}}
 
|-
 
|-
 
! style="background-color:#4B3E30; color:#FFFFFF;" | Information
 
! style="background-color:#4B3E30; color:#FFFFFF;" | Information
 
|-
 
|-
 
|
 
|
{{#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 70: Line 72:
 
{{!}}|}}{{#if:{{{lair|}}}|;Lair:{{{lair}}}
 
{{!}}|}}{{#if:{{{lair|}}}|;Lair:{{{lair}}}
 
{{!}}-
 
{{!}}-
{{!}}|}}{{#if:{{{spawn|}}}|;Spawns on:{{{spawn}}}
+
{{!}}|}}{{#if:{{{spawn|}}}|;Spawns on:{{{spawn}}}|}}
{{!}}-
 
{{!}}|}}
 
 
|}
 
|}
 
[[Category:Bestiary]]
 
[[Category:Bestiary]]

Revision as of 21:37, 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]]
}}