Template:Infobox creature: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Templates for items, creatures and loot |
Template page shows docs and example only |
||
| Line 1: | Line 1: | ||
<div class="infobox"> |
<includeonly><div class="infobox"> |
||
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| |
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| |
||
<div class="infobox-image">[[File:{{{image}}}|240px]]</div>}}{{#if:{{{level|}}}| |
<div class="infobox-image">[[File:{{{image}}}|240px]]</div>}}{{#if:{{{level|}}}| |
||
| Line 7: | Line 7: | ||
<div class="infobox-row"><span>Behaviour</span><span>{{{behaviour}}}</span></div>}}{{#if:{{{drops|}}}| |
<div class="infobox-row"><span>Behaviour</span><span>{{{behaviour}}}</span></div>}}{{#if:{{{drops|}}}| |
||
<div class="infobox-row"><span>Drops</span><span>{{{drops}}}</span></div>}} |
<div class="infobox-row"><span>Drops</span><span>{{{drops}}}</span></div>}} |
||
</div>{{#ifeq:{{NAMESPACE}}||[[Category:Creatures]]}}<noinclude> |
</div>{{#ifeq:{{NAMESPACE}}||[[Category:Creatures]]}}</includeonly><noinclude> |
||
Put it at the top of a creature page; leave out what you don't know. List the full drops with [[Template:Loot table]]. |
Put it at the top of a creature page; leave out what you don't know. List the full drops with [[Template:Loot table]]. |
||
<pre> |
<pre> |
||
Latest revision as of 17:33, 16 November 2026
Put it at the top of a creature page; leave out what you don't know. List the full drops with Template:Loot table.
{{Infobox creature
| level = 12
| family = Wolf
| location = Riverlands
| behaviour = Aggressive, hunts in packs
| drops = Hide, meat (see below)
}}
Example creature
Level12
FamilyWolf
WhereRiverlands
BehaviourAggressive, hunts in packs
DropsHide, meat (see below)
Creature summary box. Adds the page to Category:Creatures.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Defaults to the page title. | String | optional |
| Image | image | File name without File:. | File | optional |
| Level | level | no description
| String | suggested |
| Family | family | no description
| String | suggested |
| Where | location | no description | Content | suggested |
| Behaviour | behaviour | no description
| Content | optional |
| Drops | drops | Short list; the full table goes in a Loot table. | Content | optional |