Difference between revisions of "Template:Creature"
Jump to navigation
Jump to search
m (Bestiary category to only be placed in main namespace pages) |
Ostentatio (talk | contribs) (Adding CSS) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | <templatestyles src="InfoTable/styles.css" /> | ||
<includeonly> | <includeonly> | ||
− | {| class="wikitable" style="float:right; margin:1em; width: | + | {| class="wikitable" style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1" |
|+ style="font-weight: bold" | {{PAGENAME}} | |+ style="font-weight: bold" | {{PAGENAME}} | ||
| | | | ||
Line 12: | Line 13: | ||
{{#ifeq:{{lc:{{{unique|}}}}}|yes| | {{#ifeq:{{lc:{{{unique|}}}}}|yes| | ||
{{!}}- | {{!}}- | ||
− | ! | + | ! class="creature-unique-row" {{!}} [[Unique]] |
{{!}}- | {{!}}- | ||
{{!}}|}} | {{!}}|}} | ||
|- | |- | ||
− | ! | + | ! class="infobox-header-row" | Information |
|- | |- | ||
| | | | ||
Line 71: | Line 72: | ||
{{!}}|}}{{#if:{{{meattype|}}}|;Meat type:{{{meattype}}} | {{!}}|}}{{#if:{{{meattype|}}}|;Meat type:{{{meattype}}} | ||
{{!}}- | {{!}}- | ||
− | {{!}}|}}{{#if:{{{eats|}}}|; | + | {{!}}|}}{{#if:{{{eats|}}}|;Diet:{{{eats}}} |
{{!}}- | {{!}}- | ||
{{!}}|}}{{#if:{{{lair|}}}|;Lair:{{{lair}}} | {{!}}|}}{{#if:{{{lair|}}}|;Lair:{{{lair}}} |
Latest revision as of 18:16, 22 April 2021
Usage
This template is used on Creature pages to describe their different features. Using this template is described below.
{{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]] |meattype=Game meat |ridable=Yes|No|Unknown |swim=Yes|No|Unknown |eats=Grain and seeds |lair=[[Deer Yard]] |spawn=[[Grass]], [[Steppe]] }}