Template:Infobox creature/doc
Jump to navigation
Jump to search
| Example result | |
|---|---|
![]() image caption "{{{ptext1}}}" | |
| Base-Quality | 12 |
| Is Deadly | yes |
| Hitpoints | 321 |
| Fleeing-Hitpoints | 123 |
| Creature-Products | Fresh Mouflon Hide, Intestines, Entrails x3, Raw Mutton x6, Bone Material x3 |
| Back to Creatures | |
- Description
- This template is used to create a creature infobox on creature pages.
- Basic syntax
- Type
{{infobox creature|...}}at the top of the page. Available parameters shown below.
- Parameters
{{infobox creature
General infobox parameters. Should only be used when needed or appropriate.
| name = Infobox Title (defaults to related page-name)
| image = File:Example.ext (defaults to "...")
| imagewidth = 123 (To resize image if needed. Capped to a maximum of 350)
| caption = text (Concise infobox-image caption text if needed)
| ptext1 = In-game/paginae text (type1). -- If any.
Creature parts. (if applicable. ie: they do not apply all to all creatures)
| xitem = 56 -- Inventory size of the item.
| yitem = 78 -- .. (only applies to stuff than can be placed inside some inventory ofc.)
| xobst = 1.234 -- Objects terrain footprint size.
| yobst = 5.678 -- .. (Anything generally not traversable or that blocks other builds. like: Mound Bed.)
| baseq = 25
| deadly = yes/no (bool-property)
| hp = 200
| fhp = 120
| armor = 50
| loot = [[Fresh Mouflon Hide]], [[Intestines]], [[Entrails]] x3, [[Raw Mutton]] x6, [[Bone Material]] x3
Outdated parts.
| location = (Input moved and renamed! Creature related terrain data can be added on the related terrain pages)
}}
- Properties
- ptext1 -> Paginae/text1 (page)
- (x|y)item -> yitem, yitem (number)
- (x|y)obst -> yobst, yobst (number)
- baseq -> crt-basequality (number) -- crt-basequality-txt for invalid number cases.
- fhp -> crt-fleeinghitpoints (number) -- crt-fleeinghitpoints-txt for invalid numbers cases.
- hp -> crt-hitpoints (number) -- crt-hitpoints-txt for invalid numbers cases.
- armor -> crt-armor (number)
- deadly -> crt-isdeadly (bool)
- (auto) -> object_type as "creature" (text)
- Categories
- (auto) -> Creatures
Tracking Categories:
- (x|y)item -> Tmp_xyitem
- (x|y)obst -> Tmp_xyobj
- +Tmp_xyobj(neg) for resources that are based on 'neg' instead of 'obst' layer data.
