Template:Area full/Format

From bg3.wiki
< Template:Area full
Revision as of 17:11, 22 November 2024 by HiddenDragon (talk | contribs) (Add support for spell save dc override)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation

Display formatted information for Areas. This template is meant to be used with a Cargo query called by Template:Area full.

Examples

Markup
{{Area full/Format
| page = Fire (surface)
| name = Fire
| description = Deals {{DamageText|1d4|Fire}} damage per turn.
| icon = Fire surface Icon.webp
| type = surface
| shape = Radius
| range m = 9
| range ft = 30
| duration = 10
| dippable = yes
| condition = Burning
| save = CON
}}
Renders as
Fire Fire

Duration: 10 turns

AoE: 9 m / 30 ft (Radius)

Deals 1d4Damage TypesFire damage per turn.

Type: Surface
Dippable Dippable

Condition: Burning

Burning Burning
  • Takes 1d4Damage TypesFire damage per turn.
  • Can be removed with the Help Help action, using a Healing Potion or gaining Wet Wet.
  • Immune from if Wet Wet.
  • Dip Dip action can be used on Burning characters and/or objects.
Markup
{{Area full/Format
| page = Electrified Steam (cloud)
| name = Electrified Steam
| icon = Electrified Steam cloud Icon.webp
| description = Deals {{DamageText|1d4|Lightning}} damage per turn.
| type = cloud
| condition = Electrocuted
| condition2 = Wet
}}
Renders as
Electrified Steam Electrified Steam

Deals 1d4Damage TypesLightning damage per turn.

Type: Cloud

Condition: Electrocuted

Electrocuted Electrocuted
  • Takes 1d4Damage TypesLightning damage at the start of each turn.

Condition: Wet

Wet Wet
Markup
{{Area full/Format
| page = Drow Poison Cloud
| name = Drow Poison Cloud
| icon = Poison Cloud cloud Icon.webp
| description = Chance to set Poisoned.
| type = cloud
| condition = Stricken with Drow Poison
| condition save = CON
| condition dc = 13
}}
Renders as
Drow Poison Cloud Drow Poison Cloud

Chance to set Poisoned.

Type: Cloud

Condition: Stricken with Drow Poison

Stricken with Drow Poison Stricken with Drow Poison

DC 13  Constitution saving throw

Template data

Display formatted information for an area or surface.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

The name of the area.

Stringoptional
iconicon

The icon of the area

Fileoptional
inlineinline

Whether the area should be formatted inline

Booleanoptional
durationduration

How long this area lasts, in turns

Stringoptional
shapeshape

How to define the size of the area

Stringoptional
range mrange m

The size of the area in meters

Stringoptional
range ftrange ft

The size of the area in feet

Stringoptional
typetype

cloud, surface, or area

Stringoptional
descriptiondescription

The description of the area

Stringoptional
altnamealtname

An alternative display name for the condition link.

Stringoptional