Template:Condition/Format: Difference between revisions
Jump to navigation
Jump to search
(nahhh) Tag: Undo |
HiddenDragon (talk | contribs) (Add support for optional 'dc' field, only used along with the 'save' field) |
||
Line 2: | Line 2: | ||
{{InfoBlob| {{Duration|{{{duration}}}}} }} | {{InfoBlob| {{Duration|{{{duration}}}}} }} | ||
}} {{#if: {{{save|}}} | | }} {{#if: {{{save|}}} | | ||
{{InfoBlob| {{SavingThrow|{{{save}}}}} }} | {{InfoBlob| {{SavingThrow|{{{save}}}|dc={{{dc|}}}}} }} | ||
}}{{#if: {{{duration|}}}{{{save|}}} | </div> }} {{#if:{{{inline|}}}||{{{effects}}}{{#if:{{{types|}}}|{{clear}} | }}{{#if: {{{duration|}}}{{{save|}}} | </div> }} {{#if:{{{inline|}}}||{{{effects}}}{{#if:{{{types|}}}|{{clear}} | ||
{{#arrayprint:types|<br>|@|{{Condition Type|@}} }} | {{#arrayprint:types|<br>|@|{{Condition Type|@}} }} | ||
Line 65: | Line 65: | ||
| icon = Bleeding Condition Icon.webp | | icon = Bleeding Condition Icon.webp | ||
| save = CON | | save = CON | ||
| dc = 16 | |||
| effects = | | effects = | ||
* Inflicts damage every turn. | * Inflicts damage every turn. |
Revision as of 19:45, 3 November 2023
Meant to be used with a Cargo query. Preview:
Single effect description
Bleeding Duration: 3 turns Constitution saving throw
Inflicts damage every turn.
Duration only
Bleeding Duration: 3 turns
Inflicts damage every turn.
Save only
Bleeding Inflicts damage every turn.Effect listing
Bleeding Duration: 3 turns Constitution saving throw
- Inflicts damage every turn.
- Cured by healing.
Duration only
Bleeding Duration: 3 turns
- Inflicts damage every turn.
- Cured by healing.
Save only
Bleeding- Inflicts damage every turn.
- Cured by healing.
Icon and name only
Alternative display name
- Inflicts damage every turn.
- Cured by healing.
Condition with a type
- Oof owie ouch
Condition with multiple types
- Oof owie ouch
Inline condition with a type
Should not show the type. Bleeding
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the condition. | String | optional |
icon | icon | The icon of the condition | File | optional |
inline | inline | Whether the condition should be formatted inline | Boolean | optional |
duration | duration | no description | Unknown | optional |
save | save | no description | Unknown | optional |
effects | effects | no description | Unknown | optional |
altname | altname | An alternative display name for the condition link. | String | optional |