Template:Area page: Difference between revisions
m (add blank in front of interactions) |
(Changed "Conditions" boxes to support Saving Throw, DC and Duration. Moved condition Saving throw to "Conditions". Changed "Creation" parameter to "Created by spells" and "created by items", which use ParseList. Changed the name "Sphere" type areas to to "Summoned" type areas.) |
||
Line 15: | Line 15: | ||
<dd>{{SmallIcon|Duration Icons.png}} Period: {{{period|}}}</dd> | <dd>{{SmallIcon|Duration Icons.png}} Period: {{{period|}}}</dd> | ||
{{#if:{{{difficult terrain|}}}|<dd>{{Difficult terrain}}</dd> }} | {{#if:{{{difficult terrain|}}}|<dd>{{Difficult terrain}}</dd> }} | ||
{{#if:{{{condition1|}}}|<dd>Inflicts {{Cond|{{{condition1}}} | {{#if:{{{condition1|}}}|<dd>Inflicts {{Cond|{{{condition1}}} }}</dd> }} | ||
{{#if:{{{condition2|}}}|<dd>Inflicts {{Cond|{{{condition2}}} | {{#if:{{{condition2|}}}|<dd>Inflicts {{Cond|{{{condition2}}} }}</dd> }} | ||
</dl> | </dl> | ||
</div> | </div> | ||
{{#if:{{{condition1|}}}{{{condition2|}}}|<h2>Conditions</h2> | {{#if: {{{condition1|}}}{{{condition2|}}} | | ||
{{#if:{{{condition1|}}}|<div class="bg3wiki-tooltip-box>{{Condition|{{{condition1}}} }}</div> }} | |||
{{#if:{{{condition2|}}}|<div class="bg3wiki-tooltip-box>{{Condition|{{{condition2}}} }}</div> }}{{#if:{{{ | <h2> Conditions </h2> | ||
{{#if: {{{condition1|}}}| | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{Condition | {{{condition1}}} | |||
| save = {{{condition1 save|}}} | |||
| dc = {{{condition1 dc|}}} | |||
| duration = {{{condition1 duration|}}} | |||
}} | |||
{{Main namespace only|{{Inflicts|{{{condition1|}}}|SAI }} }} | |||
</div> | |||
}} | |||
{{#if: {{{condition2|}}}| | |||
<div class="bg3wiki-tooltip-box"> | |||
{{Condition | {{{condition2}}} | |||
| save = {{{condition2 save|}}} | |||
| dc = {{{condition2 dc|}}} | |||
| duration = {{{condition2 duration|}}} | |||
}} | |||
{{Main namespace only|{{Inflicts|{{{condition2|}}}|SAI }} }} | |||
</div> | |||
}} | |||
}} | |||
{{#if:{{{created by items}}}{{{created by spells}}}| | |||
<h2>Creation</h2> | <h2>Creation</h2> | ||
{{{ | This area can be created by the following: | ||
Items: | |||
{{#invoke: ParseList | main | {{{created by items}}} | useTemplate = MdRarityItem | type = htmlList }} | |||
Spells and Actions: | |||
{{#invoke: ParseList | main | {{{created by spells}}} | useTemplate = MdSAI | type = htmlList }} | |||
}}{{#if:{{{interactions|}}}| | }}{{#if:{{{interactions|}}}| | ||
{{blank}} | {{blank}} | ||
Line 29: | Line 57: | ||
{{{interactions}}} | {{{interactions}}} | ||
}} | }} | ||
{{#if: {{#ifeq: {{{type|}}} | surface | [[Category:Surfaces]] | }} }} | |||
{{#if: {{#ifeq: {{{type|}}} | cloud | [[Category:Clouds]] | }} }} | |||
{{#if: {{#ifeq: {{{type|}}} | summoned | [[Category:Summoned areas]] | }} }} | |||
{{main namespace only|[[Category:Areas]]}} | {{main namespace only|[[Category:Areas]]}} | ||
</includeonly><noinclude>{{documentation|content= | </includeonly><noinclude>{{documentation|content= | ||
Line 43: | Line 74: | ||
|condition1= | |condition1= | ||
|condition1 save= | |condition1 save= | ||
|condition1 dc= | |||
|condition1 duration= | |||
|condition2= | |condition2= | ||
|condition2 save= | |condition2 save= | ||
| | |condition2 dc= | ||
|condition2 duration= | |||
|created by items= | |||
|created by spells= | |||
|interactions= | |interactions= | ||
}} | }} | ||
Line 60: | Line 96: | ||
|condition1=Prone | |condition1=Prone | ||
|condition1 save = DEX | |condition1 save = DEX | ||
| | |created by items = Grease Bottle | ||
|created by spells = Grease | |||
|interactions = | |interactions = | ||
* Turns into [[Fire (surface)]] when touched by fire. | * Turns into [[Fire (surface)]] when touched by fire. | ||
Line 106: | Line 141: | ||
"description": { | "description": { | ||
"description": "The in-game description of the area, if it exists.", | "description": "The in-game description of the area, if it exists.", | ||
"type": "content" | "type": "content", | ||
"suggested": true | |||
}, | }, | ||
"type": { | "type": { | ||
Line 129: | Line 165: | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"condition1 save": {}, | "condition1 save": { | ||
"label": "Saving throw ability", | |||
"suggestedvalues": [ | |||
"STR", | |||
"DEX", | |||
"CON", | |||
"INT", | |||
"WIS", | |||
"CHA" | |||
] | |||
}, | |||
"condition1 dc": { | |||
"description": "Difficulty Class for the Saving throw.", | |||
"example": "12" | |||
}, | |||
"condition1 duration": { | |||
"description": "Duration of the condition", | |||
"example": "1, 3, Whilst on surface, Long rest" | |||
}, | |||
"condition2": { | "condition2": { | ||
"description": "The second condition inflicted by this area", | "description": "The second condition inflicted by this area", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"condition2 save": {}, | "condition2 save": { | ||
" | "suggestedvalues": [ | ||
"description": " | "STR", | ||
"DEX", | |||
"CON", | |||
"INT", | |||
"WIS", | |||
"CHA" | |||
] | |||
}, | |||
"condition2 dc": { | |||
"description": "Difficulty Class for the Saving throw.", | |||
"description": "Difficulty Class for the Saving throw.", | |||
"example": "12" | |||
}, | |||
"condition2 duration": { | |||
"description": "Duration of the condition", | |||
"example": "1, 3, Whilst on surface, Long rest" | |||
}, | |||
"created by items": { | |||
"description": "List of items that create this area. Be sure to separate multiple items with a comma.", | |||
"example": "Acid Vial, Arrow of Acid", | |||
"type": "content" | |||
}, | |||
"created by spells": { | |||
"description": "List of spells that create this area. Be sure to separate multiple spells with a comma.", | |||
"example": "Melf's Acid Arrow, Chromatic Orb: Acid", | |||
"type": "content" | "type": "content" | ||
}, | }, | ||
Line 153: | Line 231: | ||
"condition1", | "condition1", | ||
"condition1 save", | "condition1 save", | ||
"condition1 dc", | |||
"condition1 duration", | |||
"condition2", | "condition2", | ||
"condition2 save", | "condition2 save", | ||
" | "condition2 dc", | ||
"condition2 duration", | |||
"created by items", | |||
"created by spells", | |||
"interactions" | "interactions" | ||
] | ] |
Revision as of 15:36, 24 November 2023
Template that generates an entire page for areas. Use Template:Area for displaying on a page.
Copy-ready:{{Area page |name= |image= |type=<!--surface,cloud,or omit--> |period=<!--temporary,persistent--> |difficult terrain= |summary= |condition1= |condition1 save= |condition1 dc= |condition1 duration= |condition2= |condition2 save= |condition2 dc= |condition2 duration= |created by items= |created by spells= |interactions= }}
Grease
Grease is a slippery surface that has a chance to knock a creature . It is considered Difficult Terrain.
Properties
- Type: surface
- Period: persistent
- Difficult Terrain
- Inflicts
Conditions
- Can't move or take Actions, Bonus actions, or Reactions, and has Disadvantage on Strength and Dexterity saving throws.
- Attacks against a Prone creature have Advantage if they're made within 3 m / 10 ft of the creature.
- A Prone creature must spend half its Movement Speed to stand up.
- A character with the Athlete feat spends only 1.5 m / 5 ft of Movement Speed to stand up.
Creation
This area can be created by the following:
Items:
Spells and Actions:
Interactions
- Turns into Fire (surface) when touched by fire.
Hunger of Hadar
Hunger of Hadar is a dark cloud that and damages creatures within. It is considered Difficult Terrain.
Description
A sphere of cold blackness, teeming with unknown horrors.
The area is Difficult Terrain, and creatures within are Blinded.
Properties
- Period: temporary
- Difficult Terrain
- Inflicts
- Inflicts
Conditions
- Ranged attacks and spells have a range of 3 m / 10 ft and Attack Rolls suffer Disadvantage.
- Attack Rolls against Blinded creatures have Advantage.
Creation
This area can be created by the following:
Items:
- [[{{{created by items}}}]]
Spells and Actions:
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the area. Defaults to the page name. | Unknown | suggested |
image | image | A file without the File: prefix. | File | suggested |
summary | summary | A short summary of the area. Not the in-game description. | Content | suggested |
difficult terrain | difficult terrain | If specified, marks the area as Difficult Terrain. | Boolean | optional |
description | description | The in-game description of the area, if it exists. | Content | suggested |
type | type | If the area has the cloud or surface property.
| String | optional |
period | period | Whether the area is persistent or temporary. Should NOT be a set duration - duration will be part of [[Template:Area]] for displaying on pages.
| String | required |
condition1 | condition1 | The first condition inflicted by this area | Page name | optional |
Saving throw ability | condition1 save | no description
| Unknown | optional |
condition1 dc | condition1 dc | Difficulty Class for the Saving throw.
| Unknown | optional |
condition1 duration | condition1 duration | Duration of the condition
| Unknown | optional |
condition2 | condition2 | The second condition inflicted by this area | Page name | optional |
condition2 save | condition2 save | no description
| Unknown | optional |
condition2 dc | condition2 dc | Difficulty Class for the Saving throw.
| Unknown | optional |
condition2 duration | condition2 duration | Duration of the condition
| Unknown | optional |
created by items | created by items | List of items that create this area. Be sure to separate multiple items with a comma.
| Content | optional |
created by spells | created by spells | List of spells that create this area. Be sure to separate multiple spells with a comma.
| Content | optional |
interactions | interactions | 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. | Unknown | optional |