Template:Area page: Difference between revisions

Jump to navigation Jump to search
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.
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 save|}}}| ({{Saving throw|{{{condition1 save|}}} }}) }}</dd> }}
{{#if:{{{condition1|}}}|<dd>Inflicts {{Cond|{{{condition1}}} }}</dd> }}
{{#if:{{{condition2|}}}|<dd>Inflicts {{Cond|{{{condition2}}} }} {{#if:{{{condition2 save|}}}| ({{Saving throw|{{{condition2 save|}}} }}) }} </dd> }}
{{#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:{{{creation|}}}|
<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>
{{{creation}}}
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=
|creation=
|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
|creation =
|created by items = Grease Bottle
* {{SAI|Grease|w=30}}
|created by spells = Grease
* {{MdRarityItem|Grease Bottle}}
|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": {
"creation": {
"suggestedvalues": [
"description": "A description of how to create this area.",
"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",
"creation",
"condition2 dc",
"condition2 duration",
"created by items",
"created by spells",
"interactions"
"interactions"
]
]

Navigation menu