Template:Infobox creature: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (Assuming that right parenthesis was an accident.)
m (Undid, I screwed up)
Line 1: Line 1:
<includeonly>
{| class="infobox" style="font-size:89%; width:250px;"
{| class="infobox" style="font-size:89%; width:250px;"
|-
|-
Line 16: Line 17:
| {{{hp}}}
| {{{hp}}}
|-
|-
| '''Butcher Quality'''
| '''Butcher-Quality'''
| {{{butcherQuality}}}
| {{{butcherQuality}}}
|-
|-
Line 23: Line 24:
|-
|-
{{#if: {{{agility|}}}
{{#if: {{{agility|}}}
| {{!}} '''Agility'''
| {{!}} '''Agility)'''
   {{!}} [[agility::{{{agility}}}]]
   {{!}} [[agility::{{{agility}}}]]
}}
}}
|}<noinclude><br style="clear:both;" />
|}
{{documentation}}</noinclude>
</includeonly>
 
<noinclude><br style="clear:both;" />
{{documentation}} <!-- doc before example template to prevent template covering the (missing) doc. -->
{{Creature
| location      = (location) [[Forest]]
| avgLevel      = (avgLevel) 1
| hp            = (hp) Level*23
| butcherQuality = (butcherQuality) Level*4
| loot          = (loot) [[Raw Hide]], [[Intestines]] x5
| agility        = (agility) 678
}}
</noinclude>

Revision as of 18:30, 2 August 2012



Template documentation (for the template shown above, sometimes hidden or invisible)
Example result
Infobox creature.png
image caption
Vital statistics
Location {{{location}}}
Avg. Level {{{avgLevel}}}
Hit Points 321
Butcher-Quality {{{butcherQuality}}}
Loot 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

Template:Creature