Template:Condition: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Finish renaming inline)
(Only close div if border exists)
Line 8: Line 8:
| order by = _ID
| order by = _ID
| more results text=
| more results text=
}}{{#if:{{{border|1}}}|</div></div>||}}</onlyinclude></includeonly><noinclude>
}}{{#if:{{{border|}}}|</div></div>||}}</onlyinclude></includeonly><noinclude>
Use this to display a condition.  Examples follow.
Use this to display a condition.  Examples follow.



Revision as of 10:23, 28 September 2023

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 | skip effect = true }}

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