Template:Duration

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

Display a nicely formatted duration.

The duration can be a number of turns or one of the special values below:

  • Permanent
  • Until short rest or Short rest
  • Until long rest or Long rest
  • Until saving throw or Saving throw
  • Surface or Whilst on surface
  • Combat or Until end of combat

These special values are not case sensitive.

Examples

Markup Renders as
{{Duration|1}}
Duration Icons.png Duration: 1 turn
{{Duration|5}}
Duration Icons.png Duration: 5 turns
{{Duration|Until Long Rest}}
Duration Icons.png Duration: Until Long rest
{{Duration|PERMANENT}}
Duration Icons.png Duration: Permanent
{{Duration|Whilst on surface}}
Duration Icons.png Duration: Whilst on surface
{{Duration|Saving Throw}}
Duration Icons.png Duration: Until successful Saving Throw
{{Duration|Until end of combat}}
Duration Icons.png Duration: Until end of combat

Template data

Display a nicely formatted duration

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
duration1

Duration specified as a number of turns or one of the special values below.

Suggested values
Permanent Short rest Until short rest Long rest Until long rest Saving throw Until saving throw Surface Whilst on surface Combat Until end of combat
Stringrequired