Template:Condition

Template page
Revision as of 12:04, 12 October 2023 by Sky (talk | contribs) (add cat)

Use this to display a condition. Examples follow.

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

Base usage

Usage:

{{Condition | Bleeding }}

Result:


Bleeding [[{{{page}}}|Bleeding]]

With duration

Usage:

{{Condition | Bleeding | duration = 2 }}

Result:


Bleeding [[{{{page}}}|Bleeding]]

Duration: 2 turns


With saving throw

Usage:

{{Condition | Bleeding | save = CON }}

Result:


Bleeding [[{{{page}}}|Bleeding]]

Constitution saving throw


With duration and saving throw

Usage:

{{Condition | Bleeding | save = CON | duration = 2 }}

Result:


Bleeding [[{{{page}}}|Bleeding]]

Duration: 2 turns

Constitution saving throw


With a border

Use border = 1 to add a border.

{{Condition | Bleeding | save = CON | duration = 2 | border = 1}}

Result:


Bleeding [[{{{page}}}|Bleeding]]

Duration: 2 turns

Constitution saving throw


Inline-friendly

Usage:

{{Condition | Bleeding | inline = true }}

Result: blabla Bleeding [[{{{page}}}|Bleeding]] blabla

Alternative display name

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

Result:

oh no i"m bleeding [[{{{page}}}|oh no i"m bleeding]]

Duration: 2 turns

Constitution saving throw

Also displays types

Feverish [[{{{page}}}|Feverish]]