Template:Condition: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(didn't work)
Tag: Undo
(Add the condition name when there are no results)
Line 8: Line 8:
| order by = _ID
| order by = _ID
| more results text=
| more results text=
| default = {{{1}}}
}}{{#if:{{{border|}}}|</div></div>||}}</onlyinclude></includeonly><noinclude>{{documentation|content=
}}{{#if:{{{border|}}}|</div></div>||}}</onlyinclude></includeonly><noinclude>{{documentation|content=
Use this to display a condition.  Examples follow.
Use this to display a condition.  Examples follow.

Revision as of 07:58, 22 February 2024

Template documentation

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 Bleeding

With duration

Usage:

{{Condition | Bleeding | duration = 2 }}

Result:


Bleeding Bleeding

Duration: 2 turns


With saving throw

Usage:

{{Condition | Bleeding | save = CON }}

Result:


Bleeding Bleeding

Constitution saving throw


With duration and saving throw

Usage:

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

Result:


Bleeding Bleeding

Duration: 2 turns

DC 15  Constitution saving throw


With a border

Use border = 1 to add a border.

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

Result:


Bleeding Bleeding

Duration: 2 turns

Constitution saving throw


Inline-friendly

Usage:

{{Condition | Bleeding | inline = true }}

Result: blabla Bleeding Bleeding blabla

Alternative display name

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

Result:

oh no i'm bleeding oh no i'm bleeding

Duration: 2 turns

Constitution saving throw

Also displays types

Feverish Feverish