Template:Condition/Format: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
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}}}}}</span>|<span class="bg3wiki-condition"><strong>{{IconLink|{{{icon}}}|{{{page}}}|{{{name|{{{page}}}}}}|w={{{w|30}}}}}</strong>{{#if: {{{duration|}}} |
<includeonly>{{#if:{{{inline|}}}|<span class="bg3wiki-condition" style="white-space: nowrap">{{IconLink|{{{icon}}}|{{{page}}}|{{{name|{{{page}}}}}}|w={{{w|25}}}}}</span>|<div class="bg3wiki-condition"><strong>{{IconLink|{{{icon}}}|{{{page}}}|{{{name|{{{page}}}}}}|w={{{w|30}}}}}</strong>{{#if: {{{duration|}}} |
<p>{{InfoBlob | {{Duration | {{{duration}}} }} }}</p>
<p>{{InfoBlob | {{Duration | {{{duration}}} }} }}</p>
}}{{#if: {{{save|}}} |
}}{{#if: {{{save|}}} |
Line 9: Line 9:
{{#if: {{{types|}}} |
{{#if: {{{types|}}} |
<div>{{Condition Type | {{{types|}}} }}</div>
<div>{{Condition Type | {{{types|}}} }}</div>
}}}}</span></includeonly><noinclude>
}}</div>}}</includeonly><noinclude>
Meant to be used with a Cargo query.  Preview:
Meant to be used with a Cargo query.  Preview:



Revision as of 17:13, 9 May 2024

Meant to be used with a Cargo query. Preview:

Single effect description

Bleeding Bleeding

Duration: 3 turns

Constitution saving throw

Inflicts damage every turn.

Duration only

Bleeding Bleeding

Duration: 3 turns

Inflicts damage every turn.

Save only

Bleeding Bleeding

Constitution saving throw

Inflicts damage every turn.

Effect listing

Bleeding Bleeding

Duration: 3 turns

Constitution saving throw

  • Inflicts damage every turn.
  • Cured by healing.

Duration only

Bleeding Bleeding

Duration: 3 turns

  • Inflicts damage every turn.
  • Cured by healing.

Save only

Bleeding Bleeding

DC 16  Constitution saving throw

  • Inflicts damage every turn.
  • Cured by healing.

Name and icon only, inline

Bleeding Bleeding

Name, icon, effects only

Bleeding Bleeding

Bleeds you out.

Name, icon, effects, types

Bleeding Bleeding

Bleeds you out.

Alternative display name

Bleeding Bleeding
  • Inflicts damage every turn.
  • Cured by healing.

Condition with a type

Bleeding Bleeding
  • Oof owie ouch

Condition with multiple types

Bleeding Bleeding
  • Oof owie ouch

Inline condition with a type

Should not show the type.

Bleeding Bleeding. Blablabla.

Should not wrap.

Bleeding Bleeding

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

The name of the condition.

Stringoptional
iconicon

The icon of the condition

Fileoptional
inlineinline

Whether the condition should be formatted inline

Booleanoptional
durationduration

no description

Unknownoptional
savesave

no description

Unknownoptional
effectseffects

no description

Unknownoptional
altnamealtname

An alternative display name for the condition link.

Stringoptional