Template:Condition/Format: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Undo revision 110925 by HiddenDragon (talk))
Tag: Undo
No edit summary
Line 1: Line 1:
<includeonly>{{#arraydefine:types_conditionformat|{{{types|}}}|,}}{{#lvardef:text|[[{{{name}}} (Condition)|{{#if:{{{altname|}}}|{{{altname}}}|{{{name}}} }}]]}}[[File:{{{icon}}}|frameless|{{#if:{{{inline|}}}|25px|30px}}|link=|{{{name}}}]]{{#if:{{{inline|}}}|{{#lvar:text}}|<strong>{{#lvar:text}}</strong>}}{{#if: {{{duration|}}}{{{save|}}} | <div> }}{{#if: {{{duration|}}} |
<includeonly>{{#arraydefine:types_conditionformat|{{{types|}}}|,}}{{#lvardef:text|[[{{{page}}}|{{#if:{{{altname|}}}|{{{altname}}}|{{{name}}} }}]]}}[[File:{{{icon}}}|frameless|{{#if:{{{inline|}}}|25px|30px}}|link=|{{{name}}}]]{{#if:{{{inline|}}}|{{#lvar:text}}|<strong>{{#lvar:text}}</strong>}}{{#if: {{{duration|}}}{{{save|}}} | <div> }}{{#if: {{{duration|}}} |
{{InfoBlob| {{Duration|{{{duration}}}}} }}
{{InfoBlob| {{Duration|{{{duration}}}}} }}
}}{{#if: {{{save|}}} |
}}{{#if: {{{save|}}} |
Line 11: Line 11:


{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp
Line 21: Line 22:


{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp
Line 30: Line 32:


{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp
Line 39: Line 42:


{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp
Line 51: Line 55:


{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp
Line 62: Line 67:


{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp
Line 74: Line 80:


{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp
Line 84: Line 91:
== Alternative display name ==
== Alternative display name ==
{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp
Line 94: Line 102:
== Condition with a type ==
== Condition with a type ==
{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp
Line 103: Line 112:
== Condition with multiple types ==
== Condition with multiple types ==
{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp
Line 113: Line 123:
Should not show the type.
Should not show the type.
{{Condition/Format
{{Condition/Format
| page = Bleeding (Condition)
| name = Bleeding
| name = Bleeding
| icon = Bleeding Condition Icon.webp
| icon = Bleeding Condition Icon.webp

Revision as of 09:28, 16 November 2023

Meant to be used with a Cargo query. Preview:

Single effect description

BleedingBleeding
Duration: 3 turns Constitution saving throw
Inflicts damage every turn.

Duration only

BleedingBleeding
Duration: 3 turns
Inflicts damage every turn.

Save only

BleedingBleeding
Constitution saving throw
Inflicts damage every turn.

Effect listing

BleedingBleeding
Duration: 3 turns Constitution saving throw
  • Inflicts damage every turn.
  • Cured by healing.

Duration only

BleedingBleeding
Duration: 3 turns
  • Inflicts damage every turn.
  • Cured by healing.

Save only

BleedingBleeding
DC 16  Constitution saving throw
  • Inflicts damage every turn.
  • Cured by healing.

Icon and name only

BleedingBleeding

Alternative display name

BleedingOh no I'm bleeding

  • Inflicts damage every turn.
  • Cured by healing.

Condition with a type

BleedingBleeding

  • Oof owie ouch

Condition Type Icon.pngDiseased

Condition with multiple types

BleedingBleeding

  • Oof owie ouch

Condition Type Icon.pngDiseased
Condition Type Icon.pngProne

Inline condition with a type

Should not show the type. BleedingBleeding. Blablabla.

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