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>{{#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 = '{{ | | where = name = '{{#replace: {{{1}}} | ' | '' }}' | ||
| format = template | | format = template | ||
| template = Condition/Format | | template = Condition/Format | ||
Line 13: | Line 13: | ||
<pre> | <pre> | ||
{{Condition | | {{Condition | Bleeding }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
---- | ---- | ||
{{Condition | | {{Condition | Bleeding }} | ||
---- | ---- | ||
Line 24: | Line 24: | ||
<pre> | <pre> | ||
{{Condition | | {{Condition | Bleeding | duration = 2 }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
---- | ---- | ||
{{Condition | | {{Condition | Bleeding | duration = 2 }} | ||
---- | ---- | ||
Line 35: | Line 35: | ||
<pre> | <pre> | ||
{{Condition | | {{Condition | Bleeding | save = CON }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
---- | ---- | ||
{{Condition | | {{Condition | Bleeding | save = CON }} | ||
---- | ---- | ||
Line 46: | Line 46: | ||
<pre> | <pre> | ||
{{Condition | | {{Condition | Bleeding | save = CON | duration = 2 }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
---- | ---- | ||
{{Condition | | {{Condition | Bleeding | save = CON | duration = 2 }} | ||
---- | ---- | ||
</noinclude> | </noinclude> |
Revision as of 00:04, 1 August 2023
Use this to display a condition. Examples follow.
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.