Template:Spell page: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
(5 intermediate revisions by the same user not shown)
Line 14: Line 14:
<h2> Description </h2>
<h2> Description </h2>


{{{description}}} {{#if: {{{warning|}}} |
{{{description}}} {{#if: {{{extra description|}}} | {{blank}}
<p>{{Colour|white|{{{warning}}}}}</p> }}
 
{{{extra description}}}
 
}}{{#if: {{{warning|}}} | {{blank}}
 
<p>{{Colour|white|{{{warning}}}}}</p>
 
}}


<h2> Properties </h2>
<h2> Properties </h2>
Line 157: Line 164:


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
The spell creates {{#switch: {{{area category}}}
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}}
| cloud = a cloud
| surface = a surface
| #default = an area
}} with the following properties.
 
* {{AOE | {{{area shape}}} | m = {{{area range m}}} | ft = {{{area range ft}}} }}
* {{Duration | {{{area duration}}} }} {{#if: {{{area turn start damage|}}} | {{blank}}
 
Creatures starting their turn in the area suffer:
{{DamageInfo
| {{{area turn start damage}}}
| {{{area turn start damage type}}}
| save = {{{area turn start damage save|}}}
| save effect = {{{area turn start damage save effect|}}}
}}
}} <!-- / area turn start damage --> {{#if: {{{area turn end damage|}}} | {{blank}}
 
Creatures ending their turn in the area suffer:
{{DamageInfo
| {{{area turn end damage}}}
| {{{area turn end damage type}}}
| save = {{{area turn end damage save|no}}}
| save effect = {{{area turn end damage save effect|}}}
}}
}} <!-- / area turn end damage --> {{#if: {{{area condition|}}} | {{blank}}
 
Creatures within the area are affected by the following conditions:
 
{{Condition | {{{area condition}}} }}{{Main namespace only|{{Inflicts|{{{area condition|}}}|sai }} }}
{{#if: {{{area condition 2|}}} | {{blank}}
{{Condition | {{{area condition 2}}} }}{{Main namespace only|{{Inflicts|{{{area condition 2|}}}|sai }} }}
}} {{#if: {{{area condition 3|}}} | {{blank}}
{{Condition | {{{area condition 3}}} }}{{Main namespace only|{{Inflicts|{{{area condition 3|}}}|sai }} }}
}} {{#if: {{{area condition 4|}}} | {{blank}}
{{Condition | {{{area condition 4}}} }}{{Main namespace only|{{Inflicts|{{{area condition 4|}}}|sai }} }}
}}
}} <!-- / area condition -->
</div>
</div>
}} <!-- / area -->
}} <!-- / area -->
Line 268: Line 238:


}}
}}
 
{{#if: {{{area category|}}}{{{area turn start damage|}}}{{{area turn end damage|}}}{{{area condition|}}}{{{area condition 2|}}}{{{area condition 3|}}}{{{area condition 4|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}} }}
{{#switch: {{{this is an example}}}
{{#switch: {{{this is an example}}}
| yes =
| yes =
Line 289: Line 259:
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}}
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}}
| description = {{{description|}}}
| description = {{{description|}}}
| extra_description = {{{extra description|}}}
| action_type = {{#if:{{#pos:{{{cost|}}}|reaction}}|reaction|{{#if:{{#pos:{{{cost|}}}|bonus}}|bonus|{{#if:{{#pos:{{{cost|}}}|action}}|action|{{#if:{{#pos:{{{cost|}}}|movement}}|movement|}}}}}}}}
| action_type = {{#if:{{#pos:{{{cost|}}}|reaction}}|reaction|{{#if:{{#pos:{{{cost|}}}|bonus}}|bonus|{{#if:{{#pos:{{{cost|}}}|action}}|action|{{#if:{{#pos:{{{cost|}}}|movement}}|movement|}}}}}}}}
| spell_range = {{#if:{{{range m|}}}{{{range ft|}}}|{{{range m|}}}/{{{range ft|}}}|{{{range|}}} }}
| spell_range = {{#if:{{{range m|}}}{{{range ft|}}}|{{{range m|}}}/{{{range ft|}}}|{{{range|}}} }}
Line 321: Line 292:
| has_attack_roll = Boolean
| has_attack_roll = Boolean
| description = Wikitext
| description = Wikitext
| extra_description = Wikitext
| action_type = String
| action_type = String
| spell_range = String
| spell_range = String

Navigation menu