Template:Condition: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: tables = conditions | <includeonly><div style="padding-bottom: 1em"><div class="bg3wiki-tooltip-box">{{#cargo_query: tables = conditions | ||
| fields = name, icon, effects, CONCAT('{{{save|}}}') = save, CONCAT('{{{duration|}}}') = duration | | fields = name, icon, effects, CONCAT('{{{save|}}}') = save, CONCAT('{{{duration|}}}') = duration | ||
| where = name = '{{#replace: {{{1}}} | ' | '' }}' | | where = name = '{{#replace: {{{1}}} | ' | '' }}' | ||
Line 5: | Line 5: | ||
| template = Condition/Format | | template = Condition/Format | ||
| named args = yes | | named args = yes | ||
}}</includeonly><noinclude> | }}</div></div></includeonly><noinclude> | ||
Use this to display a condition. Examples follow. | Use this to display a condition. Examples follow. | ||
Revision as of 09:38, 17 September 2023
Use this to display a condition. Examples follow.
This template just runs the Cargo query. For the formatting, see: Template:Condition/Format
Usage:
{{Condition | Bleeding }}
Result:
- Creature takes 2Slashing damage at the start of each turn and has Disadvantage on Constitution Saving throws.
- Removed by healing.
Usage:
{{Condition | Bleeding | duration = 2 }}
Result:
Duration: 2 turns
- Creature takes 2Slashing damage at the start of each turn and has Disadvantage on Constitution Saving throws.
- Removed by healing.
Usage:
{{Condition | Bleeding | save = CON }}
Result:
- Creature takes 2Slashing damage at the start of each turn and has Disadvantage on Constitution Saving throws.
- Removed by healing.
Usage:
{{Condition | Bleeding | save = CON | duration = 2 }}
Result:
Duration: 2 turns
- Creature takes 2Slashing damage at the start of each turn and has Disadvantage on Constitution Saving throws.
- Removed by healing.