Template:Condition/Format: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) m (Fixed height issue) |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{inline|}}}|<span class="bg3wiki-condition" style="white-space: nowrap">{{IconLink|{{{icon}}}|{{{page}}}|{{{name|{{{page}}}}}}|w={{{w|25}}}|h={{{w|25}}}}}</span>|<div class="bg3wiki-condition"><strong>{{IconLink|{{{icon}}}|{{{page}}}|{{{name|{{{page}}}}}}|w={{{w|30}}}|h={{{w|30}}}}}</strong>{{#if: {{{duration|}}} | | <includeonly>{{#if:{{{inline|}}}|<span class="bg3wiki-condition" style="white-space: nowrap">{{IconLink|{{{icon}}}|{{{page}}}|{{{altname|{{{name|{{{page}}}}}}}}}|w={{{w|25}}}|h={{{w|25}}}}}</span>|<div class="bg3wiki-condition"><strong>{{IconLink|{{{icon}}}|{{{page}}}|{{{altname|{{{name|{{{page}}}}}}}}}|w={{{w|30}}}|h={{{w|30}}}}}</strong>{{#if: {{{duration|}}} | | ||
<p>{{InfoBlob | {{Duration | {{{duration}}} }} }}</p> | <p>{{InfoBlob | {{Duration | {{{duration}}} }} }}</p> | ||
}}{{#if: {{{save|}}} | | }}{{#if: {{{save|}}} | |
Revision as of 20:01, 9 May 2024
Meant to be used with a Cargo query. Preview:
Single effect description
Duration only
Duration: 3 turns
Inflicts damage every turn.
Save only
Inflicts damage every turn.
Effect listing
Duration only
Duration: 3 turns
- Inflicts damage every turn.
- Cured by healing.
Save only
DC 16 Constitution saving throw
- Inflicts damage every turn.
- Cured by healing.
Name and icon only, inline
Name, icon, effects only
Bleeds you out.
Name, icon, effects, types
Bleeds you out.
Alternative display name
- Inflicts damage every turn.
- Cured by healing.
Condition with a type
- Oof owie ouch
Condition with multiple types
Inline condition with a type
Should not show the type.
. Blablabla.
Should not wrap.
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 |