Template:Creature: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Added duration parameter for summons which are temporary)
Line 11: Line 11:
   intelligence = int,
   intelligence = int,
   wisdom = wis,
   wisdom = wis,
   charisma = cha
   charisma = cha,
  CONCAT("{{{duration|}}}")=duration
| where = _pageName = "{{#replace: {{{link|{{{1}}}}}} | " | \" }}"
| where = _pageName = "{{#replace: {{{link|{{{1}}}}}} | " | \" }}"
| format = template
| format = template
Line 27: Line 28:
| style = list
| style = list
| <nowiki>{{Creature | Abdirak}}</nowiki>
| <nowiki>{{Creature | Abdirak}}</nowiki>
| <nowiki>{{Creature | Zombie (Animate Dead)}}</nowiki>
| <nowiki>{{Creature | Zombie (Animate Dead) | duration = 10 turns}}</nowiki>
}}
}}



Revision as of 21:56, 31 January 2025

Template documentation

Creates a mini infobox displaying basic creature stats, using Template:Creature/format for formatting.

Examples:

Markup
{{Creature | Abdirak}}
Renders as
Portrait Abdirak.png
Portrait Frame.png

STR

13
(+1)

DEX

11

CON

14
(+2)

INT

12
(+1)

WIS

16
(+3)

CHA

12
(+1)

HP Icon.png Hit Points

30

Creature AC Icon.png Armour Class

10

Markup
{{Creature | Zombie (Animate Dead) | duration = 10 turns}}
Renders as
Portrait Zombie (Animate Dead).png
Portrait Frame.png

STR

16
(+3)

DEX

6
(-2)

CON

16
(+3)

INT

3
(-4)

WIS

6
(-2)

CHA

5
(-3)

Duration Icon.png Duration

10 turns

HP Icon.png Hit Points

22

Creature AC Icon.png Armour Class

8

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

The creature to use.

Contentrequired