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 = '{{{1}}}' | | where = name = '{{trim| {{{1}}} }}' | ||
| format = template | | format = template | ||
| template = Condition/Format | | template = Condition/Format | ||
Line 13: | Line 13: | ||
<pre> | <pre> | ||
{{Condition|bleeding}} | {{Condition | bleeding }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
---- | ---- | ||
{{Condition|bleeding}} | {{Condition | bleeding }} | ||
---- | ---- | ||
Line 24: | Line 24: | ||
<pre> | <pre> | ||
{{Condition|bleeding|duration = 2}} | {{Condition | bleeding | duration = 2 }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
---- | ---- | ||
{{Condition|bleeding|duration = 2}} | {{Condition | bleeding | duration = 2 }} | ||
---- | ---- | ||
Line 35: | Line 35: | ||
<pre> | <pre> | ||
{{Condition|bleeding|save = CON}} | {{Condition | bleeding | save = CON }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
---- | ---- | ||
{{Condition|bleeding|save = CON}} | {{Condition | bleeding | save = CON }} | ||
---- | ---- | ||
Line 46: | Line 46: | ||
<pre> | <pre> | ||
{{Condition|bleeding|save = CON|duration = 2}} | {{Condition | bleeding | save = CON | duration = 2 }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
---- | ---- | ||
{{Condition|bleeding|save = CON|duration = 2}} | {{Condition | bleeding | save = CON | duration = 2 }} | ||
---- | ---- | ||
</noinclude> | </noinclude> |
Revision as of 02:14, 25 July 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.