Template:Creature: Difference between revisions
Appearance
Class for creature image cell |
nb>Bestiary import Creature infobox: add optional category row and taming_section switch (backward compatible) |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the creature infobox used on [[Bestiary]] pages. Every field is optional; a missing field shows "—". | This is the creature infobox used on [[Bestiary]] pages. Every field is optional; a missing field shows "—". | ||
* <code>category</code> (new): the bestiary category shown under Type, e.g. ''Undead''. Pages without it show "—". | |||
* <code>taming_section</code> (new): add an empty <code>| taming_section =</code> line to hide the whole Taming block on creatures that can't be tamed. Pages that leave it out keep the Taming block exactly as before. (This uses only core MediaWiki, no ParserFunctions, since none are installed.) | |||
<pre> | <pre> | ||
| Line 8: | Line 11: | ||
| caption = A nightmare | | caption = A nightmare | ||
| type = Animal / mount | | type = Animal / mount | ||
| category = Mounts | |||
| alignment = Evil | | alignment = Evil | ||
| karma = −14,000 | | karma = −14,000 | ||
| Line 39: | Line 43: | ||
! Type | ! Type | ||
| {{{type|—}}} | | {{{type|—}}} | ||
|- | |||
! Category | |||
| {{{category|—}}} | |||
|- | |- | ||
! Alignment | ! Alignment | ||
| Line 81: | Line 88: | ||
| {{{armor|—}}} | | {{{armor|—}}} | ||
|- | |- | ||
! colspan="2" | {{{taming_section|! colspan="2" {{!}} Taming | ||
{{!}}- | |||
! Tameable | ! Tameable | ||
{{!}} {{{tameable|No}}} | |||
{{!}}- | |||
! Min. skill | ! Min. skill | ||
{{!}} {{{taming|—}}} | |||
{{!}}- | |||
! Control slots | ! Control slots | ||
{{!}} {{{slots|—}}} | |||
{{!}}- | |||
! Bondable | ! Bondable | ||
{{!}} {{{bondable|—}}} | |||
{{!}}- | |||
! Rideable | ! Rideable | ||
{{!}} {{{rideable|No}}} | |||
{{!}}- | |||
! Favorite food | ! Favorite food | ||
{{!}} {{{food|—}}} | |||
{{!}}- | |||
! colspan="2" | Resources | }}}! colspan="2" | Resources | ||
|- | |- | ||
! Carving | ! Carving | ||
| {{{carve|—}}} | | {{{carve|—}}} | ||
|}</includeonly> | |}</includeonly> | ||
Revision as of 03:28, 27 October 2026
This is the creature infobox used on Bestiary pages. Every field is optional; a missing field shows "—".
category(new): the bestiary category shown under Type, e.g. Undead. Pages without it show "—".taming_section(new): add an empty| taming_section =line to hide the whole Taming block on creatures that can't be tamed. Pages that leave it out keep the Taming block exactly as before. (This uses only core MediaWiki, no ParserFunctions, since none are installed.)
{{Creature
| name = Nightmare
| image = [[File:NB_Nightmare.png|250px]]
| caption = A nightmare
| type = Animal / mount
| category = Mounts
| alignment = Evil
| karma = −14,000
| fame = 14,000
| aggression = Attacks on sight
| str = 496–525
| dex = 86–105
| int = 86–125
| hits = 298–315
| stam = 86–105
| mana = 86–125
| damage = 16–22
| armor = 60
| speed = Fast
| tameable = Yes
| taming = 95.1
| slots = 2
| bondable = Yes
| rideable = Yes
| food = Meat
| carve = 5 raw ribs, 10 barbed hides
}}