Template:Area full/Format: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#lvardef:text|[[{{{page|{{{name}}}}}}|{{{name}}}]]}}<span class="bg3wiki-condition" {{#if:{{{inline|}}}|style="white-space: nowrap"}}>
<includeonly>{{#lvardef:text|[[{{{page}}}|{{#if:{{{altname|}}}|{{{altname}}}|{{{name}}} }}]]}}<span
[[File:{{{icon}}}|frameless|{{#if:{{{inline|}}}|{{{w|25}}}px|30px}}|link=|{{{name}}}]]&nbsp;{{#if: {{{inline|}}}
class="bg3wiki-condition"
{{#if:{{{inline|}}}|style="white-space: nowrap"}}
>[[File:{{{icon}}}|frameless|{{#if:{{{inline|}}}|{{{w|25}}}px|30px}}|link=|{{{name}}}]]&nbsp;{{#if: {{{inline|}}}
| {{#lvar:text}}
| {{#lvar:text}}
| <strong>{{#lvar:text}}</strong>
| <strong>{{#lvar:text}}</strong>
}}{{#if: {{{duration|}}} |
<p>{{InfoBlob | {{Duration | {{{duration}}} }} }}</p>
}}{{#if: {{{range m|}}}{{{range ft|}}} |
<p>{{InfoBlob | {{AOE | {{{shape}}} | m = {{{range m}}} | ft = {{{range ft}}} }} }}</p>
}}{{#if: {{{inline|}}} | |
}}{{#if: {{{inline|}}} | |
<div>
<div>
{{{description}}}
{{{description}}}
</div>
</div>
{{#if: {{{type|}}}{{{dippable|}}} |
<dl class="bg3wiki-property-list">
<dl class="bg3wiki-property-list">
{{#if:{{{type|}}}|<dd>{{SmallIcon|Condition Type Icon.png}} Type: [[Area#{{ucfirst:{{{type}}}}}|{{ucfirst:{{{type}}}}}]]</dd>}}
{{#if:{{{type|}}}|<dd>{{SmallIcon|Condition Type Icon.png}} Type: [[Area#{{ucfirst:{{{type}}}}}|{{ucfirst:{{{type}}}}}]]</dd>}}
</dl>
{{#ifeq: {{lc:{{{dippable|}}}}}|yes|<dd>{{Dippable}}</dd>}}
{{#if: {{{condition|}}}{{{condition2|}}} |
</dl>}}
Creatures within the area are affected by the following conditions:
{{#if: {{{condition|}}} |
<dl>
 
<dd>{{Condition | {{{condition}}} | save = {{{condition save|}}} | dc = {{{condition dc|}}}}}</dd>
<h3> Condition: {{{condition}}} </h3>
{{#if: {{{condition2|}}} | {{blank}}
 
<dd>{{Condition | {{{condition2}}} | save = {{{condition2 save|}}} | dc = {{{condition2 dc|}}}}}</dd>
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Condition | {{{condition}}}
| save = {{{condition save|}}}
| dc = {{{condition dc|}}}
| duration = {{{condition duration|}}}
}}
}}
</dl>}} }}</span></includeonly><noinclude>
</div>
 
}} {{#if: {{{condition2|}}} |
 
<h3> Condition: {{{condition2}}} </h3>
 
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Condition | {{{condition2}}}
| save = {{{condition2 save|}}}
| dc = {{{condition2 dc|}}}
| duration = {{{condition2 duration|}}}
}}
</div>
 
}} }}</span></includeonly><noinclude>
Meant to be used with a Cargo query.  Preview:
Meant to be used with a Cargo query.  Preview:


== Single effect description ==
== Example ==


{{Area/Format
{{Area/Format
Line 28: Line 53:
| icon = Fire surface Icon.webp
| icon = Fire surface Icon.webp
| type = surface
| type = surface
| shape = Radius
| range m = 9
| range ft = 30
| duration = 10
| dippable = yes
| condition = Burning
| condition = Burning
| save = CON
| save = CON
}}
}}


== Duration only ==
== Multiple Conditions ==


{{Area/Format
{{Area/Format
Line 44: Line 74:
}}
}}


== Save only ==
== With Condition Save ==




Line 63: Line 93:
"params": {
"params": {
"name": {
"name": {
"description": "The name of the condition.",
"description": "The name of the area.",
"type": "string"
"type": "string"
},
},
"icon": {
"icon": {
"description": "The icon of the condition",
"description": "The icon of the area",
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},
"inline": {
"inline": {
"description": "Whether the condition should be formatted inline",
"description": "Whether the area should be formatted inline",
"type": "boolean"
"type": "boolean"
},
},
"duration": {},
"duration": {
"save": {},
"description": "How long this area lasts, in turns",
"effects": {},
"type": "string"
},
        "shape": {
"description": "How to define the size of the area",
"type": "string"
},
        "range m": {
"description": "The size of the area in meters",
"type": "string"
},
        "range ft": {
"description": "The size of the area in feet",
"type": "string"
},
"type": {
"description": "cloud, surface, or area",
"type": "string"
},
"description": {
"description": "The description of the area",
"type": "string"
},
"altname": {
"altname": {
"description": "An alternative display name for the condition link.",
"description": "An alternative display name for the condition link.",

Latest revision as of 18:51, 13 May 2024

Meant to be used with a Cargo query. Preview:

Example

Fire Fire

Duration: 10 turns

AoE: 9 m / 30 ft (Radius)

Deals 1d4Damage TypesFire damage per turn.

Type: Surface
Dippable Dippable

Condition: Burning

Burning Burning
  • Takes 1d4Damage TypesFire damage per turn.
  • Can be removed with the Help Help action, using a Healing Type Potion or gaining Wet Wet.
  • Immune from if Wet Wet.
  • Dip Dip action can be used on Burning characters and/or objects.

Multiple Conditions

Electrified Steam Electrified Steam

Deals 1d4Damage TypesLightning damage per turn.

Type: Cloud

Condition: Electrocuted

Electrocuted Electrocuted
  • Takes 1d4Damage TypesLightning damage at the start of each turn.

Condition: Wet

Wet Wet

With Condition Save

Drow Poison Cloud Drow Poison Cloud

Chance to set Poisoned.

Type: Cloud

Condition: Stricken with Drow Poison

Stricken with Drow Poison Stricken with Drow Poison

DC 13  Constitution saving throw

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

The name of the area.

Stringoptional
iconicon

The icon of the area

Fileoptional
inlineinline

Whether the area should be formatted inline

Booleanoptional
durationduration

How long this area lasts, in turns

Stringoptional
shapeshape

How to define the size of the area

Stringoptional
range mrange m

The size of the area in meters

Stringoptional
range ftrange ft

The size of the area in feet

Stringoptional
typetype

cloud, surface, or area

Stringoptional
descriptiondescription

The description of the area

Stringoptional
altnamealtname

An alternative display name for the condition link.

Stringoptional