Template:Condition: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#cargo_query: tables = conditions | fields = name, icon, description, "{{{save|}}}" = save, "{{{duration|}}}" = duration | where name = {{{name}}} | format = template | template = Condition/Format | named args = yes }}</includeonly><noinclude> Use this to display a condition, like so: <pre> WIP </pre> </noinclude>") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: tables = conditions | <includeonly>{{#cargo_query: tables = conditions | ||
| fields = name, icon, | | fields = name, icon, effects, CONCAT('{{{save|}}}') = save, CONCAT('{{{duration|}}}') = duration | ||
| where name = {{{ | | where = name = '{{{1}}}' | ||
| format = template | | format = template | ||
| template = Condition/Format | | template = Condition/Format | ||
| named args = yes | | named args = yes | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Use this to display a condition | Use this to display a condition. Examples follow. | ||
---- | |||
Usage: | |||
<pre> | |||
{{Condition|bleeding}} | |||
</pre> | |||
Result: | |||
---- | |||
{{Condition|bleeding}} | |||
---- | |||
Usage: | |||
<pre> | |||
{{Condition|bleeding|duration = 2}} | |||
</pre> | |||
Result: | |||
---- | |||
{{Condition|bleeding|duration = 2}} | |||
---- | |||
Usage: | |||
<pre> | <pre> | ||
{{Condition|bleeding|save = CON}} | |||
</pre> | </pre> | ||
Result: | |||
---- | |||
{{Condition|bleeding|save = CON}} | |||
---- | |||
Usage: | |||
<pre> | |||
{{Condition|bleeding|save = CON|duration = 2}} | |||
</pre> | |||
Result: | |||
---- | |||
{{Condition|bleeding|save = CON|duration = 2}} | |||
---- | |||
</noinclude> | </noinclude> |
Revision as of 02:02, 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.