Template:Area page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 4: Line 4:
|description = {{{name|{{PAGENAME}} }}} is {{{summary|a type of Area}}}
|description = {{{name|{{PAGENAME}} }}} is {{{summary|a type of Area}}}
}} }}__NOTOC__<div style="min-height: 200px" class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"
}} }}__NOTOC__<div style="min-height: 200px" class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"
><!--Extract name and icon from the page title-->{{#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}} }}{{#lvardef: icon | {{#if: {{{icon|}}} | {{{icon}}} | {{#lvar: filename}} Unfaded Icon.webp }} }}{{#lvardef: controllericon | {{#if: {{{controller icon|}}} | {{{controller icon}}} | {{#lvar: filename}} Icon.webp }} }}
><!--Extract name and icon from the page title-->{{#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}} }}{{#lvardef: icon | {{#if: {{{icon|}}} | {{{icon}}} | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} Unfaded Icon.webp }} }}{{#lvardef: controllericon | {{#if: {{{controller icon|}}} | {{{controller icon}}} | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} Icon.webp }} }}
{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right|alt={{PAGENAME}} image]] | {{#if:{{{controller icon|}}} | [[File:{{{controller icon}}}|frameless|right|alt={{PAGENAME}} controller icon]] | {{#if:{{{icon|}}} | [[File:{{{icon}}}|frameless|right|alt={{PAGENAME}} icon]] | }} }} }}
{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right|alt={{PAGENAME}} image]] | {{#if:{{{controller icon|}}} | [[File:{{{controller icon}}}|frameless|right|alt={{PAGENAME}} controller icon]] | {{#if:{{{icon|}}} | [[File:{{{icon}}}|frameless|right|alt={{PAGENAME}} icon]] | }} }} }}



Revision as of 22:15, 30 April 2024

Template documentation

Template that generates an entire page for areas. Use Template:Area for displaying on a page.

Copy-ready:
{{Area page
| name =
| image =
| controller icon =
| icon =
| summary =
| description =
| type = <!--surface,cloud,or omit-->
| dippable =
| movement multiplier =
| condition =
| condition save =
| condition dc =
| condition2 =
| condition2 save =
| condition2 dc =
| created by items =
| created by spells =
| interactions =
| notes =
}}

Grease

Area page image

Grease is a slippery surface that has a chance to knock a creature Prone Prone.


Properties

Type: Surface

Creation

This area can be created by the following:

Items:

Spells and actions:

Interactions


Hunger of Hadar

Area page image

Hunger of Hadar is an area created by Hunger of Hadar Hunger of Hadar. It creates an area of magical darkness that impedes movement and deals damage at the beginning and end of each turn.

Description

A sphere of cold blackness, teeming with unknown horrors.

Creatures starting their turn in the area take 2d6Damage TypesCold damage. Creatures ending their turn in the area possibly take 2d6Damage TypesAcid damage.

The area is Difficult Terrain and creatures within are Blinded Blinded.

Properties

Type: Summoned

Creation

This area can be created by the following:

Spells and actions:


Template data

Generates an entire page for representing areas.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

The name of the area. Defaults to the page name.

Unknownsuggested
imageimage

A 380x380 image without the File: prefix.

Filesuggested
controller iconcontroller icon

A 144x144 image without the File: prefix.

Filesuggested
iconicon

A 64x64 icon without the File: prefix.

Filesuggested
summarysummary

A short summary of the area. Not the in-game description.

Contentsuggested
descriptiondescription

The in-game description of the area, if it exists.

Contentsuggested
typetype

If the area has the cloud or surface property.

Suggested values
cloud surface summoned
Default
surface
Stringsuggested
dippabledippable

Whether or not this area (usually a surface) is dippable

Default
no
Booleansuggested
conditioncondition

The full name of the condition (if any) that this area applies to its target/s. Leave blank if there is no condition.

Example
Hastened
Stringoptional
condition savecondition save

The save that the action's target must roll to avoid or reduce its effects. Can use short or long name, e.g: "STR" or "Strength"

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition dccondition dc

The optional fixed DC of the condition that targets have to pass to apply it

Example
12
Numberoptional
condition2condition2

The full name of the condition (if any) that is applied if there is a second condition.

Example
Hastened
Stringoptional
condition2 savecondition2 save

The save that the action's target must roll to avoid or reduce the effects of the second condition. Can use short or long name, e.g: "STR" or "Strength"

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition2 dccondition2 dc

The optional fixed DC of the second condition that targets have to pass to apply it

Example
12
Numberoptional
created by itemscreated by items

List of items that create this area. Be sure to separate multiple items with a comma.

Example
Acid Vial, Arrow of Acid
Contentoptional
created by spellscreated by spells

List of spells that create this area. Be sure to separate multiple spells with a comma.

Example
Melf's Acid Arrow, Chromatic Orb: Acid
Contentoptional
interactionsinteractions

A description of interactions that the area has that can turn it into something else. Note that this does NOT include being erased by other areas of the same surface/cloud type.

Unknownoptional
notesnotes

Any extra or related information about the spell. Please use * for bullet points.

Contentoptional
This template defines the table "areas". View table.