Template:Condition/format

From bg3.wiki
Jump to navigation Jump to search
Template documentation

Template responsible for formatting {{Condition}}. This is intended for internal use by the parent template only.

Examples

Markup
{{Condition/format
| page = Bleeding (Condition)
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| effects = * Bleeds you out.
}}
Renders as
Bleeding Bleeding
  • Bleeds you out.
Markup
{{Condition/format
| page = Bleeding (Condition)
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| save = CON
| dc = 13
| effects = * Inflicts damage every turn.
| duration = Saving Throw
}}
Renders as
Bleeding Bleeding

Duration: Until successful Saving Throw

DC 13  Constitution saving throw

  • Inflicts damage every turn.
Markup
{{Condition/format
| page = Bleeding (Condition)
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| effects =
* Inflicts damage every turn.
* Cured by healing.
| altname = Oh no I'm bleeding
| types = Diseased
| duration = 
}}
Renders as
Oh no I'm bleeding Oh no I'm bleeding
  • Inflicts damage every turn.
  • Cured by healing.
Markup
{{Condition/format
| page = Polymorphed (Condition)
| name = Polymorphed
| icon = Polymorphed Condition Icon.webp
| effects =
* Creature is turned into a harmless sheep with 3 [[Hit Points]] for 5 turns.
* If the sheep's Hit Points are reduced to 0, the creature reverts to its original form with its original Hit Points.
| type = Polymorphed
| duration = 5
| creature = Sheep
| creature actions = Sleep; Bite (Dire Wolf)
| creature passives = Extra Attack
}}
Renders as
Polymorphed Polymorphed

Duration: 5 turns

  • Creature is turned into a harmless sheep with 3 Hit Points for 5 turns.
  • If the sheep's Hit Points are reduced to 0, the creature reverts to its original form with its original Hit Points.

Creature: Sheep

Portrait Sheep.png
Portrait Frame.png

STR

12
(+1)

DEX

10

CON

11

HP Icon.png Hit Points

3

Creature AC Icon.png Armour Class

10

Sleep Sleep (Action + Level 1 Spell Slot)
Cast as a level 1 spell at will.
Bite Bite (Action)
Bite a target.
Extra Attack Extra Attack
You can make an additional free attack after making an unarmed or weapon attack.
Markup
Inline example: {{Condition/format
| page = Bleeding (Condition)
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| inline = true
| types = diseased
}}. Blah blah blah.
Renders as

Inline example: Bleeding Bleeding. Blah blah blah.

Template data

Display a block of information about a condition.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
namepage

Condition page to link to.

Page namerequired
namename

Name of the condition.

Stringrequired
iconicon

Icon file of the condition.

Filerequired
altnamealtname

An alternative display name for the condition link.

Stringoptional
durationduration

Duration of the condition. This is generally a number of turns, but refer to Template:Duration for special values.

Suggested values
Long rest Permanent Saving Throw Whilst on surface
Example
10
Stringoptional
savesave

Ability used for the saving throw to resist this condition. Accepts abilities in either the shorthand (e.g. STR) or long form (e.g. Strength)

Suggested values
STR DEX CON INT WIS CHA
Example
Strength
Stringoptional
dcdc

The difficulty class of the saving throw to resist this condition. This is either a fixed number or a special value like "caster". Refer to Template:Saving Throw for these special values.

Suggested values
caster weapon action
Example
15
Stringoptional
typestypes

Any condition types the condition belongs to.

Example
Diseased
Stringoptional
radius mradius m

Radius of the condition in metres. This is rarely used.

Numberoptional
inlineinline

Whether the condition should be formatted inline. See also Template:Condition inline.

Booleandeprecated