Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Condition

Template page
Revision as of 23:05, 21 July 2024 by NtCarlson (talk | contribs) (Updated documentation and added category)
Template documentation

Use this to display detailed information about a condition.

This template just runs the Cargo query. For the formatting, see: Template:Condition/Format.

Examples

Markup
{{Condition | Bleeding }}
Renders as
Bleeding Bleeding
Markup
{{Condition | Bleeding | altname=oh no i'm bleeding | duration = 2 | save = CON }}
Renders as
oh no i'm bleeding oh no i'm bleeding

Duration: 2 turns

Constitution saving throw

Markup
{{Condition
| Bleeding 
| save = Constitution 
| duration = 2 
| dc = weapon action
| border = 1
}}
Renders as
Bleeding Bleeding

Duration: 2 turns

Weapon action DC  Constitution saving throw

Markup
{{Condition | Feverish | radius m = 3 | duration = Long rest}}
Renders as
Feverish Feverish

Duration: Until Long rest

Radius: 3 m / 10 ft

Inline example

This template can also be used inline, but refer to {{Condition inline}} for a template designed for that.

Markup Renders as
{{Condition | Bleeding | inline = true }}
Bleeding Bleeding
{{Cond|Bleeding}}
Bleeding Bleeding

See also

  • {{Condition/Format}} - An internal template actually responsible for formatting this template.
  • {{Condition inline}} - Similar template that just displays the icon of the condition. For use in inline text.
  • {{Condition page}} - Page generating template responsible for adding a condition into the condition Cargo table so that it can be referenced by this template.

Template parameters

Display a block of information about a condition.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
name1

Name of the condition. This should match an entry in the conditions Cargo table.

Stringrequired
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
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