Template:Infobox creature: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (Collect and test-dump current creature data. (switch delimiter (UC char not working as expected. Turned to Space)))
(Adding armor value to infobox creature)
Line 30: Line 30:
| {{!}}'''Fleeing-Hitpoints'''
| {{!}}'''Fleeing-Hitpoints'''
   {{!}} {{{fhp}}}
   {{!}} {{{fhp}}}
  {{!}}-
}}
{{#if: {{{armor|}}}
| {{!}}'''Armor'''
  {{!}} {{{armor}}}
   {{!}}-
   {{!}}-
}}
}}
Line 59: Line 64:
| hp = {{{hp}}}
| hp = {{{hp}}}
| fhp = {{{fhp}}}
| fhp = {{{fhp}}}
| armor = {{{armor}}}
|                      <!-- dead creature -->
|                      <!-- dead creature -->
| loot = {{{loot}}}
| loot = {{{loot}}}

Revision as of 17:38, 19 March 2020

{{{name}}}
[[ {{{image}}}|frameless|320x320px ]]
{{{caption}}}
Vital statistics
Base-Quality {{{baseq}}}
Hitpoints {{{hp}}}
Fleeing-Hitpoints {{{fhp}}}
Armor {{{armor}}}
Creature-Products {{{loot}}}


Template documentation (for the template shown above, sometimes hidden or invisible)
Example result
Infobox creature.png
image caption
Vital statistics
Base-Quality 12
Hitpoints 321
Fleeing-Hitpoints 123
Creature-Products Fresh Mouflon Hide, Intestines, Entrails x3, Raw Mutton x6, Bone Material x3


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)
| 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


Categories