Ad placeholder

Template:Action page: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(fungal infestation support)
mNo edit summary
(85 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>{{PageSeo
<includeonly>{{#lvardef: filename | {{#replace:{{#replace:{{#replace:{{#replace:{{#titleparts: {{PAGENAME}} }}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}}}}{{#lvardef: icon | {{#if: {{{icon|}}} | {{{icon}}} | {{#lvar: filename}} Unfaded Icon.webp }} }}{{#lvardef: controllericon | {{#if: {{{controller icon|}}} | {{{controller icon}}} | {{#lvar: filename}} Icon.webp }} }}{{#switch: {{{this is an example}}}
| yes =
| #default = {{PageSeo
| description = {{{plain summary|{{{summary}}}}}}
| description = {{{plain summary|{{{summary}}}}}}
| image = {{#if: {{{image|}}} | {{{image|}}} | NoImage Icon.webp}}
| image = {{#lvar: controllericon}}
}}
}} }}
__NOTOC__
__NOTOC__
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">[[File:{{#if: {{{image|}}} | {{{image|}}} | NoImage Icon.webp}}|frameless|right]]
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] | {{#if: {{{controller icon|}}} | [[File:{{{controller icon}}}|frameless|right]] }}}}
{{{summary}}}
{{{summary}}}
<h2> Description </h2>
<h2> Description </h2>
{{{description}}}
{{{description}}} {{#if: {{{extra description|}}} | {{blank}}
{{#lvardef: hasprop | {{#if: {{{damage|}}} | 1}}{{#if: {{{cost|}}} | 1}}{{#if: {{{concentration|}}} | 1}}{{#if: {{{recharge|}}} | 1}}{{#if: {{{duration|}}} | 1}}{{#if: {{{distance|}}} | 1}}{{#if: {{{aoe|}}} | 1}}{{#if: {{{range|}}} | 1}}{{#if: {{{range m|}}} | 1}}{{#if: {{{area|}}} | 1}}{{#if: {{{attack roll|}}} | 1}}{{#if: {{{save|}}} | 1}}{{#if: {{{additional|}}} | 1}}0}}
 
{{{extra description}}}
 
}}{{#if: {{{warning|}}} |  
 
<p>{{Colour|white|{{{warning}}}}}</p>
 
}}
{{#lvardef: hasprop | {{#if: {{{damage|}}}{{{cost|}}}{{{hit cost|}}}{{{concentration|}}}{{{recharge|}}}{{{duration|}}}{{{distance|}}}{{{aoe|}}}{{{range|}}}{{{range m|}}}{{{area|}}}{{{attack roll|}}}{{{save|}}}{{{additional|}}}|1|0}} }}
{{#ifexpr: {{#lvar: hasprop}} > 0| == Properties ==
{{#ifexpr: {{#lvar: hasprop}} > 0| == Properties ==
<!--DONT DO HACKS AT HOME KIDS-->{{#lvardef:action|0}}
<dl class="bg3wiki-property-list">
{{#lvardef:bonus|0}}
{{#if: {{{cost|}}} |
{{#lvardef:reaction|0}}
<dt> Cost: </dt>
{{#lvardef:freeaction|0}}
<dd> {{InfoBlob|{{ResourceList|{{{cost}}}}}}} </dd>
{{#lvardef:movement|0}}
}} {{#if: {{{hit cost|}}} |
{{#lvardef:ar|0}}
<dt> Cost on hit: </dt>
{{#lvardef:bi|0}}
<dd> {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}} </dd>
{{#lvardef:cd|0}}
}} {{#if: {{{damage type|}}} |
{{#lvardef:co|0}}
<dt> Damage:</dt>
{{#lvardef:fi|0}}
<dd> {{DamageInfo
{{#lvardef:ki|0}}
    | {{{damage}}}
{{#lvardef:lh|0}}
    | {{{damage type}}}
{{#lvardef:nr|0}}
    | modifier = {{{damage modifier|}}}
{{#lvardef:rg|0}}
    | save = {{{damage save|}}}
{{#lvardef:sd|0}}
    | save effect = {{{damage save effect|}}}
{{#lvardef:wp|0}}
    | save dc = {{{damage save dc|}}}
{{#lvardef:ws|0}}
    | con = {{{damage con|}}}
{{#lvardef:hasaction|0}}
    | per = {{{damage per|}}}
{{#lvardef:hasmovemt|0}}
    }}</dd>
{{#lvardef:hasothers|0}}
| {{#if: {{{damage|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
{{#rmatch: {{{cost|}}}|action|{{#lvardef:action|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Action-->
<dt> Damage: </dt>
{{#rmatch: {{{cost|}}}|bonus|{{#lvardef:bonus|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Bonus-->
<dd> {{DamageBlob|{{{damage|}}}}} </dd>
{{#rmatch: {{{cost|}}}|reaction|{{#lvardef:reaction|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Reaction-->
}} {{#if: {{{damage2|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
{{#rmatch: {{{cost|}}}|freeaction|{{#lvardef:freeaction|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Free Action-->
<dd> + {{DamageBlob|{{{damage2|}}}}} </dd>
{{#rmatch: {{{cost|}}}|movement|{{#lvardef:movement|1}} {{#lvardef:hasmovemt|1}}<!--add cargo in this place-->|caseless=1}} <!--Movement-->
}} {{#if: {{{damage3|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
{{#rmatch: {{{cost|}}}|arcrec|{{#lvardef:ar|{{#rmatch:{{{cost|}}}|arcrec:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Arcane Recovery-->
<dd> + {{DamageBlob|{{{damage3|}}}}} </dd>
{{#rmatch: {{{cost|}}}|barins|{{#lvardef:bi|{{#rmatch:{{{cost|}}}|barins:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Bardic Inspiration-->
}} {{#if: {{{damage4|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
{{#rmatch: {{{cost|}}}|chadiv|{{#lvardef:cd|{{#rmatch:{{{cost|}}}|chadiv:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Channel Divinity-->
<dd> + {{DamageBlob|{{{damage4|}}}}} </dd>
{{#rmatch: {{{cost|}}}|chaoat|{{#lvardef:co|{{#rmatch:{{{cost|}}}|chaoat:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Channel Oath-->
}} }} {{#if: {{{extra damage|}}} |
{{#rmatch: {{{cost|}}}|ki|{{#lvardef:ki|{{#rmatch:{{{cost|}}}|ki:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Ki-->
<dd> + {{DamageInfo
{{#rmatch: {{{cost|}}}|layonh|{{#lvardef:lh|{{#rmatch:{{{cost|}}}|layonh:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Lay On Hands-->
    | {{{extra damage}}}
{{#rmatch: {{{cost|}}}|natrec|{{#lvardef:nr|{{#rmatch:{{{cost|}}}|natrec:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Natural Recovery-->
    | {{{extra damage type|}}}
{{#rmatch: {{{cost|}}}|rage|{{#lvardef:rg|{{#rmatch:{{{cost|}}}|rage:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Rage-->
    | modifier = {{{extra damage modifier|}}}
{{#rmatch: {{{cost|}}}|supdie|{{#lvardef:sd|{{#rmatch:{{{cost|}}}|supdie:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Superiority Die-->
    | save = {{{extra damage save|}}}
{{#rmatch: {{{cost|}}}|warpri|{{#lvardef:wp|{{#rmatch:{{{cost|}}}|warpri:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--War Priest-->
    | save effect = {{{extra damage save effect|}}}
{{#rmatch: {{{cost|}}}|wldshp|{{#lvardef:ws|{{#rmatch:{{{cost|}}}|wldshp:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Wild Shape-->
    | save dc = {{{extra damage save dc|}}}
{{#rmatch: {{{cost|}}}|fnginf|{{#lvardef:fi|{{#rmatch:{{{cost|}}}|fnginf:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Fungal Infestation-->
    | con = {{{extra damage con|}}}
{{#if: {{{level|}}} | {{#ifeq: {{{level}}} | cantrip | | {{#lvardef:hasothers|1}}}} }} <!--Spell Level + Not Cantrip -->
    | per = {{{extra damage per|}}}
|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}{{#ifeq: {{#lvar: hasaction}} | 1 | {{#lvardef:hascost|1}} | {{#ifeq: {{#lvar: hasothers}} | 1 | {{#lvardef:hascost|1}} }}}} <!-- Find out if Cost: is needed -->
    }}</dd>
<!--if you think i know what im doing, ymmv--><dl class="bg3wiki-property-list">
}} {{#if: {{{extra damage 2|}}} |
{{#ifeq: {{#lvar: hasaction}} | 1 |
<dd> + {{DamageInfo
<dt> Cost:
    | {{{extra damage 2}}}
<dd> {{#ifeq: {{#lvar: freeaction}} | 1 | {{InfoBlob|Free Action}} | {{#ifeq: {{#lvar: reaction}} | 1 | {{action|reaction}} | {{#ifeq: {{#lvar: action}} | 1 | {{#ifeq: {{#lvar: bonus}}| 1 | {{action|both}}<!--1,1--> | {{action}}<!--1,0-->}} | {{#ifeq: {{#lvar: bonus}} | 1 | {{action|bonus}}<!--0,1--> | {{blank}}<!--0,0-->}}}}}}}} {{#ifeq: {{#lvar: hasaction}} | 1 | {{#ifeq: {{#lvar: hasothers}} | 1 | +}}}} {{#if: {{{level|}}} |
    | {{{extra damage type 2|}}}
{{#switch: {{{level}}}
    | modifier = {{{extra damage modifier 2|}}}
        | cantrip =
    | save = {{{extra damage save 2|}}}
        | #default = {{SmallIcon|Spell Slot Icon.png}} Level {{{level}}} Spell Slot
    | save effect = {{{extra damage save effect 2|}}}
}} | {{#ifexpr: {{#lvar: ar}} > 0|{{R|ar|{{#lvar: ar}}}}}}{{#ifexpr: {{#lvar: bi}} > 0|{{R|bi|{{#lvar: bi}}}}}}{{#ifexpr: {{#lvar: cd}} > 0|{{R|cd|{{#lvar: cd}}}}}}{{#ifexpr: {{#lvar: co}} > 0|{{R|co|{{#lvar: co}}}}}}{{#ifexpr: {{#lvar: fi}} > 0|{{R|fi|{{#lvar: fi}}}}}}{{#ifexpr: {{#lvar: ki}} > 0|{{R|ki|{{#lvar: ki}}}}}}{{#ifexpr: {{#lvar: lh}} > 0|{{R|lh|{{#lvar: lh}}}}}}{{#ifexpr: {{#lvar: rg}} > 0|{{R|rg|{{#lvar: rg}}}}}}{{#ifexpr: {{#lvar: sd}} > 0|{{R|sd|{{#lvar: sd}}}}}}{{#ifexpr: {{#lvar: wp}} > 0|{{R|wp|{{#lvar: wp}}}}}}{{#ifexpr: {{#lvar: ws}} > 0|{{R|ws|{{#lvar: ws}}}}}}
    | save dc = {{{extra damage save dc 2|}}}
}}<!-- End if/if not level spell -->
    | con = {{{extra damage con 2|}}}
}}<!-- End if/if not hasaction -->
    | per = {{{extra damage per 2|}}}
{{#if: {{{damage|}}} {{{damage2|}}} |
    }}</dd>
<dt> Damage:
}} {{#if: {{{extra damage 3|}}} |
<dd> {{trim|
<dd> + {{DamageInfo
{{#if: {{{damage|}}} |
    | {{{extra damage 3}}}
{{#lvardef: amt|}}{{#lvardef: typ|}}{{#lvardef: mod|}}{{#lvardef: per|}}{{#lvardef: sav|}}{{#lvardef: sfx|}}
    | {{{extra damage type 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|amounttext:}}||| {{#lvardef: amttxt|{{#rmatch: {{{damage|}}}|amounttext:\s?([^\s][^,]*)|$1|caseless=0}}}}}}
    | modifier = {{{extra damage modifier 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|amount:}}||| {{#lvardef: amt|{{#rmatch: {{{damage|}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save = {{{extra damage save 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|type:}}|||{{#lvardef: typ|{{#rmatch: {{{damage|}}}|type:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save effect = {{{extra damage save effect 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|mod:}}|||{{#lvardef: mod|{{#rmatch: {{{damage|}}}|mod:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save dc = {{{extra damage save dc 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|per:}}|||{{#lvardef: dot|{{#rmatch: {{{damage|}}}|per:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | con = {{{extra damage con 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|save:}}|||{{#lvardef: sav|{{#rmatch: {{{damage|}}}|save:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | per = {{{extra damage per 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|save effect:}}|||{{#lvardef: sfx|{{#rmatch: {{{damage|}}}|save effect:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    }}</dd>
{{#lvardef: dmg1|{{#if: {{#lvar: amttxt}}|{{InfoBlob|{{DamageText|{{#lvar: amttxt}} |{{#lvar: typ}}}}}}|{{DamageInfo|{{#lvar: amt}}|{{#lvar: typ}}|modifier = {{#lvar:mod}}|per = {{#lvar: dot}}|save = {{#lvar: sav}}|save effect = {{#lvar: sfx}}}}}}}}}}
}} {{#if: {{{extra damage 4|}}} |
{{#if: {{{damage2|}}} |
<dd> + {{DamageInfo
{{#lvardef: amttxt|}}{{#lvardef: amt|}}{{#lvardef: typ|}}{{#lvardef: mod|}}{{#lvardef: per|}}{{#lvardef: sav|}}{{#lvardef: sfx|}}
    | {{{extra damage 4}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|amounttext:}}||| {{#lvardef: amttxt|{{#rmatch: {{{damage2|}}}|amounttext:\s?([^\s][^,]*)|$1|caseless=0}}}}}}
    | {{{extra damage type 4|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|amount:}}||| {{#lvardef: amt|{{#rmatch: {{{damage2|}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | modifier = {{{extra damage modifier 4|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|type:}}|||{{#lvardef: typ|{{#rmatch: {{{damage2|}}}|type:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save = {{{extra damage save 4|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|mod:}}|||{{#lvardef: mod|{{#rmatch: {{{damage2|}}}|mod:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save effect = {{{extra damage save effect 4|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|per:}}|||{{#lvardef: dot|{{#rmatch: {{{damage2|}}}|per:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save dc = {{{extra damage save dc 4|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|save:}}|||{{#lvardef: sav|{{#rmatch: {{{damage2|}}}|save:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | con = {{{extra damage con 4|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|save effect:}}|||{{#lvardef: sfx|{{#rmatch: {{{damage2|}}}|save effect:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | per = {{{extra damage per 4|}}}
{{#lvardef: dmg2|{{#if: {{#lvar: amttxt}}|{{InfoBlob|{{DamageText|{{#lvar: amttxt}} |{{#lvar: typ}}}}}}|{{DamageInfo|{{#lvar: amt}}|{{#lvar: typ}}|modifier = {{#lvar:mod}}|per = {{#lvar: dot}}|save = {{#lvar: sav}}|save effect = {{#lvar: sfx}}}}}}}}}}
    }}</dd>
{{#if: {{{damage|}}}| {{#if:{{{damage2|}}}| {{InfoBlob|{{#lvar: dmg1}} + {{#lvar: dmg2}}}} | {{#lvar: dmg1}}}}|{{blank}}}}
}} {{#if: {{{extra damage 5|}}} |
    {{#if: {{#lvar: amttxt}}|<p>|}}
<dd> + {{DamageInfo
}}
    | {{{extra damage 5}}}
    | {{{extra damage type 5|}}}
    | modifier = {{{extra damage modifier 5|}}}
    | save = {{{extra damage save 5|}}}
    | save effect = {{{extra damage save effect 5|}}}
    | save dc = {{{extra damage save dc 5|}}}
    | con = {{{extra damage con 5|}}}
    | per = {{{extra damage per 5|}}}
    }}</dd>
}} {{#if: {{{extra damage 6|}}} |
<dd> + {{DamageInfo
    | {{{extra damage 6}}}
    | {{{extra damage type 6|}}}
    | modifier = {{{extra damage modifier 6|}}}
    | save = {{{extra damage save 6|}}}
    | save effect = {{{extra damage save effect 6|}}}
    | save dc = {{{extra damage save dc 6|}}}
    | con = {{{extra damage con 6|}}}
    | per = {{{extra damage per 6|}}}
    }}</dd>
}} {{#if: {{{attack roll|}}} {{{ritual|}}} {{{range|}}} {{{range m|}}} {{{range ft|}}} {{{aoe|}}} {{{concentration|}}} {{{area|}}} {{{recharge|}}} {{{duration|}}} {{{save|}}} {{{additional|}}} |
}} {{#if: {{{attack roll|}}} {{{ritual|}}} {{{range|}}} {{{range m|}}} {{{range ft|}}} {{{aoe|}}} {{{concentration|}}} {{{area|}}} {{{recharge|}}} {{{duration|}}} {{{save|}}} {{{additional|}}} |
<dt> Details: <!-- If you add any further detail fields below, make sure to extend the list above as well. -->
<dt> Details: </dt><!-- If you add any further detail fields below, make sure to extend the list above as well. -->
{{#if: {{{attack roll|}}} |
{{#if: {{{attack roll|}}} |
<dd> {{Attack Roll}}
<dd> {{Attack Roll|{{{attack roll|}}}}} {{#if: {{{on miss|}}} | (On Miss: {{{on miss}}}) }}</dd>
}}{{#if: {{{range m|}}} {{{range ft|}}}
}}{{#if: {{{range m|}}} {{{range ft|}}}
| {{#if: {{{range m|}}} |  
| {{#if: {{{range m|}}} |  
     {{#if: {{{range ft|}}} | <dd> {{Range | m = {{{range m}}} | ft = {{{range ft}}} }}
     {{#if: {{{range ft|}}} | <dd> {{Range | {{{range|}}} | m = {{{range m}}} | ft = {{{range ft}}} }} </dd>
     |  <dd> {{Range | m = {{{range m}}} | ft = {{#expr:ceil({{{range m}}} * 3.280839895)}}}}
     |  <dd> {{Range | {{{range|}}} | m = {{{range m}}} | ft = {{{range ft}}} }} </dd>
     }}
     }}
   |  <dd> {{Range | m = {{#expr:{{{range ft}}} / 3.280839895 round 0}} | ft = {{{range ft}}}}}
   |  <dd> {{Range | {{{range|}}} | m = {{#expr:{{{range ft}}} / 3.280839895 round 0}} | ft = {{{range ft}}}}} </dd>
   }}
   }}
| {{#if: {{{range|}}}
| {{#if: {{{range|}}}
   | <dd> {{Range | {{{range}}} }}
   | <dd> {{Range | {{{range}}} }} </dd>
   }}
   }}
}}{{#if: {{{aoe|}}} |
}}{{#if: {{{aoe|}}} |
<dd> {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }}
<dd> {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }} </dd>
}}{{#if: {{{area|}}} |
}}{{#if: {{{area|}}} |
<dd> {{SmallIcon|Aoe Icon.png}} Creates Area: {{{area}}}
<dd> {{SmallIcon|Aoe Icon.png}} Creates Area: {{{area}}} </dd>
}}{{#if: {{{ritual|}}} |
}}{{#if: {{{ritual|}}} |
<dd> {{Ritual Spell}}
<dd> {{Ritual Spell}} </dd>
}}{{#if: {{{concentration|}}} |
}}{{#if: {{{concentration|}}} |
<dd> {{Concentration}}
<dd> {{Concentration}} </dd>
}}{{trim|{{#if: {{{recharge|}}} |<dd>{{Recharge|{{{recharge}}}}}| {{blank}}}}
}}{{#if: {{{recharge|}}} |  
}}{{trim|{{#if: {{{duration|}}}
<dd> {{Recharge|{{{recharge}}}}} </dd> |
|<dd>{{#ifeq:{{lc:{{{duration|}}}}}| LR
}}{{#if: {{{duration|}}} |
|{{Duration|Until Long Rest}}
<dd>{{#ifeq:{{lc:{{{duration|}}}}} | LR |{{Duration|Until Long Rest}}
|{{#ifeq: {{{duration|}}} |Perm
|{{#ifeq: {{{duration|}}} | Perm |{{Duration|Permanent}}
|{{Duration|Permanent}}
|{{Duration|{{{duration}}}}}
|{{Duration|{{{duration}}}}}
}}}}</dd>
}}
}}{{#if: {{{save|}}} |
}}
<dd> {{Save | {{{save}}} | dc = {{{save dc|}}} }} {{#if: {{{on save|}}} | (On Save: {{{on save}}}) }}</dd>
|{{blank}}
}}
}}
}}{{trim|{{#if: {{{save|}}}
{{#lvardef: saveicon | }} {{#lvardef: savetext | }}
{{#lvardef: savetype | {{#if: {{#pos:{{{save|}}}|,}} | {{#explode:{{{save|}}}|,|0}} | {{{save|}}}}}}}
{{#lvardef: saverslt | {{#if: {{#pos:{{{save|}}}|,}} | {{#explode:{{{save|}}}|,|1}} | ""}}}}
| {{#switch: {{lc:{{#lvar: savetype}}}}
| strength | str =  {{#lvardef: saveicon | Strength}} {{#lvardef: savetext | STR}}
| dexterity | dex  = {{#lvardef: saveicon | Dexterity}} {{#lvardef: savetext | DEX}}
| constitution | con | = {{#lvardef: saveicon | Constitution}} {{#lvardef: savetext | CON}}
| intelligence | int | = {{#lvardef: saveicon | Intelligence}} {{#lvardef: savetext | INT}}
| wisdom | wis  = {{#lvardef: saveicon | Wisdom}} {{#lvardef: savetext | WIS}}
| charisma | cha  = {{#lvardef: saveicon | Charisma}} {{#lvardef: savetext | CHA}}
| #default = {{#lvardef: saveicon |Alert}} {{#lvardef: savetext | EDITOR SHOULD CHECK TEMPLATE}}
}}<dd>{{SmallIcon|Saving Throw Icons.png}} [[{{#lvar: saveicon}}|{{#lvar: savetext}}]] [[Saving Throw|Save]] {{#if: {{#pos:{{{save|}}}|,}}
| (On Save: {{#explode:{{{save|}}}|,|1}})
}}| {{blank}}
}}
}}  
}}<!-- end details -->
}}<!-- end details -->
</dl>}}<!-- end properties section -->
</dl>}}<!-- end properties section -->
Line 141: Line 152:
{{{additional}}}| {{blank}}
{{{additional}}}| {{blank}}
}}  
}}  
{{#if: {{{higherlevels|}}} | == At Higher Levels ==}}
{{#if: {{{higher levels|}}} | == At Higher Levels ==}}
{{trim|{{#if: {{{higherlevels|}}} | {{{higherlevels}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter -->
{{trim|{{#if: {{{higher levels|}}} | {{{higher levels}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter -->
{{clear}}</div>
{{clear}}</div>
{{#if: {{{variants|}}} |
{{#if: {{{variants|}}} |
Line 148: Line 159:


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{#invoke: ParseList | main | {{{variants}}} | type = htmlList | makeLinks = yes }}
{{#invoke: ParseList | main | {{{variants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }}
</div>
</div>


}}
}}
{{#if: {{{condition|}}} |
{{#if: {{{condition|}}} |  


== Condition: {{{condition}}} ==
== Condition: {{{condition}}} ==
Line 159: Line 170:
{{Condition | {{{condition}}}
{{Condition | {{{condition}}}
| save = {{{condition save|}}}
| save = {{{condition save|}}}
| dc = {{{condition dc|}}}
| duration = {{{condition duration|}}}
| duration = {{{condition duration|}}}
}}
}}
{{main namespace only|{{Inflicts|{{{condition}}}|sai}}}}
</div>
</div>
{{#if: {{{condition2|}}} |
}}
{{#if: {{{condition2|}}} |  


== Condition: {{{condition2}}} ==
== Condition: {{{condition2}}} ==
Line 169: Line 183:
{{Condition | {{{condition2}}}
{{Condition | {{{condition2}}}
| save = {{{condition2 save|}}}
| save = {{{condition2 save|}}}
| dc = {{{condition2 dc|}}}
| duration = {{{condition2 duration|}}}
| duration = {{{condition2 duration|}}}
}}
}}
{{main namespace only|{{Inflicts|{{{condition2}}}|sai}}}}
</div>
</div>
}}
{{#if: {{{condition3|}}} |


  }}
== Condition: {{{condition3}}} ==
}}{{#if: {{{area|}}} |
 
<h2> Area: {{{area}}} </h2>


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
The action creates {{#switch: {{{area category}}}
{{Condition | {{{condition3}}}
| cloud = a cloud
| save = {{{condition3 save|}}}
| surface = a surface
| dc = {{{condition3 dc|}}}
| #default = an area
| duration = {{{condition3 duration|}}}
}} 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}}
{{main namespace only|{{Inflicts|{{{condition3}}}|sai}}}}
</div>
}}{{#if: {{{area|}}} | {{blank}}


Creatures ending their turn in the area suffer:
<h2> Area: {{{area}}} </h2>
{{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:
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
 
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}}
{{Condition | {{{area condition}}} | save = {{{area condition save|}}}}} {{#if: {{{area condition2|}}} | {{blank}}
{{Condition | {{{area condition2}}} | save = {{{area condition2 save|}}}}}
}} {{#if: {{{area condition3|}}} | {{blank}}
{{Condition | {{{area condition3}}} | save = {{{area condition3 save|}}}}}
}} {{#if: {{{area condition4|}}} | {{blank}}
{{Condition | {{{area condition4}}} | save = {{{area condition4 save|}}}}}
}}
}}<!-- / area condition -->
</div>
</div>
}}<!-- / area --><h2> How to Learn </h2>
}}<!-- / area -->{{#ifeq: {{{common|}}}|yes||<h2> How to learn </h2>
{{#lvardef: how-to-learn-content |
{{#lvardef: how-to-learn-content |
   {{#lvardef: classes-learn-list |
   {{#lvardef: classes-learn-list |
     {{#loop: level | 1 | 20 |
     {{#loop: level | 1 | 20 |
       {{#if: {{{ class learns at level {{#var:level}} |}}} | {{#lvardef:hasclasslearn|1}}{{blank}}
       {{#if: {{{ class learns at level {{#var:level}} |}}} | {{#lvardef:hasclasslearn|1}}{{blank}}
* Class Level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | useTemplate = Class }}
* Class level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | useTemplate = Class }}
       }}
       }}
     }}
     }}
Line 228: Line 219:
     {{#loop: level | 1 | 20 |
     {{#loop: level | 1 | 20 |
       {{#if: {{{ race learns at level {{#var:level}} |}}} | {{#lvardef:hasracelearn|1}}{{blank}}
       {{#if: {{{ race learns at level {{#var:level}} |}}} | {{#lvardef:hasracelearn|1}}{{blank}}
* Character Level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | useTemplate = Race }}
* Character level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | useTemplate = Race }}
       }}
       }}
     }}
     }}
Line 239: Line 230:
{{#lvar:races-learn-list}}
{{#lvar:races-learn-list}}


(Character Level is the sum of all Class Levels for a multi-classed character.)
([[Character level]] is the sum of all class levels for a multi-classed character.)
   }}{{#if: {{{granted by feats|}}} | {{blank}}
   }}{{#if: {{{granted by feats|}}} | {{blank}}


Granted by the Feats:
Granted by feats:
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }}
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }}
   }}{{#if: {{{granted by items|}}} | {{blank}}
   }}{{#if: {{{granted by items|}}} | {{blank}}


Granted by the Items:
Granted by items:
{{#invoke: ParseList | main | {{{granted by items}}} | useTemplate = MdRarityItem }}
{{#invoke: ParseList | main | {{{granted by items}}} | type = htmlList | useTemplate = GrantedByItems/Format }}
   }}{{#if: {{{granted by spells|}}} | {{blank}}
   }}{{#if: {{{granted by spells|}}} | {{blank}}


Granted by the Spells:
Granted by spells:
{{#invoke: ParseList | main | {{{granted by spells}}} | makeLinks = yes }}
{{#invoke: ParseList | main | {{{granted by spells}}} | makeLinks = yes }}
   }}
   }}{{#if: {{{used by creatures|}}} | {{blank}}
 
Used by creatures:
{{#invoke: ParseList | main | {{{used by creatures}}} | makeLinks = yes }}
  }}{{#if: {{{variant of|}}} | {{blank}}
 
This action is a variation of:<br>
{{SAI|{{{variant of}}}|w=40}}
  }}{{#if:{{{other ways to learn|}}} | {{blank}}
 
Other ways to learn:
 
{{{other ways to learn}}} }}
}}<div class="bg3wiki-tooltip-box">
}}<div class="bg3wiki-tooltip-box">
{{#lvar: how-to-learn-content | ''(Information not yet added.)'' }}
{{#lvar: how-to-learn-content | ''(Information not yet added.)'' }}
</div>{{clear}}
}}{{#if: {{{notes|}}} |
<h2> Notes </h2>
<div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{notes}}}
</div>
}}{{#if: {{{bugs|}}} |
<h2> Bugs </h2>
<div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{bugs}}}
{{Main namespace only|[[Category:Bugs]]}}
</div>
</div>
{{clear}}
}}{{#if: {{{video|}}} |
{{#if: {{{notes|}}} | == Notes == }}
{{trim|{{#if: {{{notes|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{notes}}}
</div>| {{blank}}}}}}{{#if: {{{video|}}} |
 
<h2> Visuals </h2>
<h2> Visuals </h2>
[[File:{{{video}}}]]
[[File:{{{video}}}]]
 
}}{{#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}}}
| yes =
| #default = {{Main namespace only|{{#ifeq: {{#lvar: hasclasslearn}} | 1 | [[Category:Class features]]}}{{#ifeq: {{#lvar: hasracelearn}} | 1 | [[Category:Racial features]]}}{{#if: {{{cost|}}} | | [[Category:Free actions]]}}{{#ifeq: {{{common|}}}|yes|[[Category:Common actions]]}}[[Category:Class actions]]{{#if: {{{cost amount|}}}{{{cost2|}}}{{{cost2 amount|}}}{{{cost3|}}}{{{cost3 amount|}}}{{{hit cost amount|}}}{{{hit cost2|}}}{{{hit cost2 amount|}}}{{{higherlevels|}}} | [[Category:Pages using deprecated parameters]]}}{{#cargo_store:
_table = spells
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}}
| image = {{{image|}}}
| controller_icon = {{#lvar:controllericon}}
| icon = {{#lvar:icon}}
| is_spell = no
| is_weapon_action = no
| aoe = {{{aoe|}}}
| aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe ft|}}} }}
| is_npc = {{#if:{{{npc only|}}}|yes}}
| can_upcast = {{#if:{{{higher levels|}}}|yes}}
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}}
| 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|}}}}}}}}
| spell_range = {{#if:{{{range m|}}}{{{range ft|}}}|{{{range m|}}}/{{{range ft|}}}|{{{range|}}} }}
<!-- A little logic to try to make sure the list of classes only contains unique values. -->
| save = {{{save|}}}
| damage = {{{damage|}}}
| damage_type = {{{damage type|}}}
| extra_damage = {{{extra damage|}}}
| extra_damage_type = {{{extra damage type|}}}
| damage_save = {{{damage save|{{{condition save|}}} }}}
| condition_duration = {{{condition duration|}}}
| recharge = {{{recharge|}}}
}}
}}
<!-- CATEGORIES -->{{#ifeq: {{{this is an example|}}} ||
}} }}<!-- End if type is not none --></includeonly><noinclude>
{{#if: {{{level|}}} | [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }}    {{#if: {{{school|}}} | [[Category:{{{school}}} Spells]]}} {{#if: {{{ritual|}}} | [[Category:Ritual Spells]]}}
{{documentation}}{{#cargo_attach:
  {{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Reactions]]
_table = spells
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Free Actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Bonus Actions]]
|{{#ifeq: {{#lvar: action}} | 1 |<!--Spells aren't included in Actions-->
| [[Category:Passive Features]]
}}
}}
|}}
|}}
|{{#ifeq: {{#lvar: hasclasslearn}} | 1
|{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Class Actions]][[Category:Reactions]]
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Class Actions]][[Category:Free Actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Class Actions]][[Category:Bonus Actions]]
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Class Actions]][[Category:Actions]]
| [[Category:Class Actions]][[Category:Passive Features]]
}}
}}
|}}
|}}
|{{#ifeq: {{#lvar: hasracelearn}} | 1
  |{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Racial Action]][[Category:Reactions]]
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Racial Action]][[Category:Free Actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Racial Action]][[Category:Bonus Actions]]
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Racial Action]][[Category:Actions]]
| [[Category:Racial Action]][[Category:Passive Features]]
}}
}}
        }}
  |}}
|
}}<!-- End if race can learn -->
}}<!-- End if class can learn -->
}}<!-- End if is a spell -->
}}<!-- End if type is not none -->
</includeonly><noinclude>
=Usage=
<pre>
{{ActionPage
| this is an example =
| summary =
| description =
| image =
| level =
| school =
| cost =
| concentration =
| damage =
| damage2 =
| recharge =
| duration =
| save =
| attack roll =
| ritual =
| range =
| range m =
| range ft =
| aoe =
| aoe m =
| aoe ft =
| additional =
| higherlevels =
| variants =
| condition =
| condition duration =
| condition save =
| condition2 =
| condition2 duration =
| condition2 save =
| area =
| area category =
| area shape =
| area range m =
| area range ft =
| area duration =
| area turn start damage =
| area turn start damage type =
| area turn start damage save =
| area turn start damage save effect =
| area turn end damage =
| area turn end damage type =
| area turn end damage save =
| area turn end damage save effect =
| area condition =
| area condition save =
| area condition2 =
| area condition2 save =
| area condition3 =
| area condition3 save =
| area condition4 =
| area condition4 save =
| X learns at level X =
| granted by feats =
| granted by items =
| granted by spells =
| notes =
| video =
}}
</pre>
 
[[Category:Page Generating Templates]]
{{HorizontalRuleImage}}
 
<templatedata>
{
"params": {
"this is an example": {
"label": "If this is an example",
"description": "If this is an example and you don't want the page to be categorized and related.",
"example": "yes",
"type": "string"
},
"summary": {
"label": "Action description summary",
"description": "The summary of the action. This will be used as the wiki's description as well as the SEO text.",
"example": "This action allows the caster to unleash a streak of fire from their hands that ignites into a large explosion at a chosen point within range.",
"type": "content",
"required": true
},
"description": {
"label": "Action description",
"description": "The in-game description of the action. This description is NOT for SEO 'See: summary'.",
"example": "Shoot a bright flame from your fingers that explodes upon contact, torching everything in the vicinity for 8d6 Fire damage.",
"type": "string",
"required": true
},
"image": {
"label": "Action image/icon",
"description": "The image that will be used in the page's SEO and be the page's main image.<br/>IF THIS IS LEFT EMPTY, [[File:NoImage Icon.webp|x40px]] WILL BE USED INSTEAD!",
"example": "Fireball Icon.png",
"type": "string",
"suggested": true
},
"cost": {
"description": "The resource cost of the action. Format is {Resource}:{Amount}, {\"action\" if action etc.}. Resource types: \n* Arcane Recovery: arcrec \n* Bardic Inspiration: barins \n* Channel Divinity: chadiv \n* Channel Oath: chaoat \n* Fungal Infestation: fnginf \n* Ki: ki \n* Lay On Hands: layonh \n* Natural Recovery: natrec \n* Rage: rage \n* Superiority Die: supdie \n* War Priest: warpri \n* Wild Shape: wldshp",
"example": "action",
"suggestedvalues": [
"action",
"bonus",
"reaction",
"freeaction",
"ki:1, action",
"supdie:1, bonus"
],
"suggested": true,
"type": "string"
},
"level": {
"label": "Spell level",
"description": "Spell level if a spell. This overrides the resource portion of the cost parameter. Use \"cantrip\" to indicate a 0th level or cantrip spell.",
"example": "2",
"type": "string",
"suggestedvalues": [
"cantrip",
"1",
"2",
"3",
"4",
"5",
"6"
]
},
"school": {
"label": "Spell school",
"description": "The school of magic that the spell belongs to.",
"example": "Evocation",
"type": "string",
"suggestedvalues": [
"Abjuration",
"Conjuration",
"Divination",
"Enchantment",
"Evocation",
"Illusion",
"Necromancy",
"Transmutation"
]
},
"ritual": {
"description": "Indicates whether the action is a ritual spell or not. Leave blank if not a ritual spell.",
"example": "yes",
"type": "string"
},
"attack roll": {
"description": "Whether the action is reliant on a attack roll. Leave blank if no attack roll is made.",
"example": "Yes",
"type": "string",
"suggestedvalues": [
"Yes"
],
"default": "No"
},
"damage": {
"description": "The damage of the action. \n* amount: amount in number or die like 1d8 \n* amounttext: if your amount is text instead of a number or die you need to do this instead \n* type: damage type, i.e. Healing",
"example": "amount:3d6, type:Acid",
"type": "string",
"suggestedvalues": [
"amounttext:Weapon, type:Physical"
]
},
"damage2": {
"description": "The secondary damage of the action. Will be output as damage + damage2. Same params as damage.",
"example": "amount:6d20, type:Radiant",
"type": "string",
"suggestedvalues": [
"amounttext:Weapon, type:Physical"
]
},
"recharge": {
"description": "Action recharge time, if applicable",
"example": "Long Rest",
"type": "string"
},
"duration": {
"description": "Duration in turns of the action. Generally you will use condition duration instead.",
"example": "10",
"type": "string"
},
"save": {
"description": "The save (if any) that a target must roll against the damage effect of the action, with the result after the comma.",
"example": "Dexterity",
"suggestedvalues": [
"Strength, half damage",
"Dexterity, negated",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
],
"type": "string"
},
"concentration": {
"description": "If this skill is a concentration, type something here. Can be any value you want. Otherwise, leave it blank or delete the field entirely.",
"example": "Yes",
"type": "string",
"suggestedvalues": [
"Yes",
"No"
],
"default": "No"
},
"range": {
"description": "The range of the action.",
"example": "ranged",
"suggestedvalues": [
"ranged",
"melee",
"self"
],
"type": "string"
},
"range m": {
"description": "Use this parameter if the action's range does not fit into one of the presets, \"melee\", \"ranged\", or \"self\". Indicates the range in meters.",
"example": "5",
"type": "number"
},
"range ft": {
"description": "Use this parameter if the action's range does not fit into one of the presets, \"melee\", \"ranged\", or \"self\". Indicates the range in feet.",
"example": "35",
"type": "number"
},
"aoe": {
"description": "Indicates if the action affects an area, and what type of shape its effect is.",
"example": "cone",
"type": "string",
"suggestedvalues": [
"radius",
"cone",
"cube",
"line"
]
},
"aoe m": {
"description": "This indicates the range of the action's aoe shape, in meters.",
"example": "5",
"type": "number"
},
"aoe ft": {
"description": "This indicates the range of the action's aoe shape, in feet.",
"example": "15",
"type": "number"
},
"additional": {
"description": "Any additional properties about the skill that are not covered by template go here, which goes under damage in properties",
"example": "",
"type": "content"
},
"higher levels": {
"description": "If the action changes at higher levels, put info about that here",
"example": "At level 10 with [[File:Generic Damage Icon.png|frameless|25px]] '''Improved Superiority Dice''' the damage bonus increases to {{C|[[File:D10 Physical.png|frameless|40px]]1d10}}.",
"type": "content"
},
"condition": {
"description": "The full name of the condition (if any) that this action applies to its target/s. Leave blank if there is no condition.",
"example": "Hastened",
"type": "string"
},
"condition duration": {
"description": "The duration in turns of the action's applied condition. Leave blank if the duration is unlimited.",
"example": "5",
"type": "number"
},
"condition save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"condition2": {
"description": "The full name of the condition (if any) that is applied if there is a second condition.",
"example": "Hastened",
"type": "string"
},
"condition2 duration": {
"description": "The duration in turns of the action's second condition. Leave blank if the duration is unlimited.",
"example": "5",
"type": "number"
},
"condition2 save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"area": {
"label": "Action area name",
"description": "Indicates the name of a special area/field/surface/cloud created by the action (if any). Leave blank if there is none.",
"example": "Hunger of Hadar",
"type": "string"
},
"area category": {
"description": "This indicates the type of area created by the action.",
"example": "surface",
"type": "string",
"suggestedvalues": [
"cloud",
"surface",
"area"
],
"default": "area"
},
"area shape": {
"description": "This indicates the shape that the special area created by the action takes.",
"example": "Radius",
"type": "string",
"suggestedvalues": [
"Radius",
"Cone",
"Cube"
]
},
"area range m": {
"description": "Indicates the range of the area created by action, in meters.",
"example": "5",
"type": "number"
},
"area range ft": {
"description": "Indicates the range of the area created by action, in feet.",
"example": "12",
"type": "number"
},
"area duration": {
"description": "This indicates how long the area created by the action lasts, in turns.",
"example": "6",
"type": "number"
},
"area turn start damage": {
"description": "How much damage this area does to an entity starting its turn in it.",
"example": "2d4",
"type": "string"
},
"area turn start damage type": {
"description": "The type of damage dealt to a creature starting its turn in the area created by this action.",
"example": "Cold",
"type": "string"
},
"area turn start damage save": {
"description": "The saving throw an entity starting its turn in the area created by this action must roll in order to reduce or negate its damage.",
"example": "Dexterity",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"WIsdom",
"Charisma"
]
},
"area turn start damage save effect": {
"description": "This indicates what effect a successful saving throw has on the damage applied to a creature starting its turn in this action's area. Leave blank to default to \"negate\".",
"example": "half",
"type": "string",
"suggestedvalues": [
"half",
"negate"
],
"default": "negate"
},
"area turn end damage": {
"description": "How much damage this area does to an entity ending its turn in it.",
"example": "2d4",
"type": "string"
},
"area turn end damage type": {
"description": "The type of damage dealt to a creature ending its turn in the area created by this action.",
"example": "Necrotic",
"type": "string"
},
"area turn end damage save": {
"description": "The saving throw an entity ending its turn in the area created by this action must roll in order to reduce or negate its damage.",
"example": "Dexterity",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"area turn end damage save effect": {
"description": "This indicates what effect a successful saving throw has on the damage applied to a creature ending its turn in this action's area. Leave blank to default to \"negate\".",
"type": "string",
"suggestedvalues": [
"half",
"negate"
],
"default": "negate"
},
"area condition": {
"description": "The full name of the condition applied by this action's area, leave blank if no condition is applied.",
"example": "Burning",
"type": "string"
},
"area condition save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"area condition2": {
"description": "The full name of the second condition applied by this action's area, leave blank if no second condition is applied.",
"example": "Burning",
"type": "string"
},
"area condition2 save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"area condition3": {
"description": "The full name of the third condition applied by this action's area, leave blank if no third condition is applied.",
"example": "Burning",
"type": "string"
},
"area condition3 save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"area condition4": {
"description": "The full name of the fourth condition applied by this action's area, leave blank if no fourth condition is applied.",
"example": "Burning",
"type": "string"
},
"area condition4 save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"variants": {
"description": "Comma-separated list of variants of the action, like the element types of Chromatic Orb.",
"example": "Chromatic Orb: Fire, Chromatic Orb: Ice, Chromatic Orb: Acid, ...",
"type": "string"
},
"class learns at level X": {
"description": "This specifies what level the classes get access to this action. Use e.g. \"class learns at level 5\" with a comma-separated list of classes to specify classes that learn this action at class level 5. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"race learns at level X": {
"description": "This specifies what level the races get access to this action. Use e.g. \"race learns at level 5\" with a comma-separated list of races to specify which races learn this action at level 5. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
        "granted by feats": {
"description": "This specifies what feats get access to this action. Similar to the class and race arguments, this list can be comma-separated as well.",
"example": "Magic Initiate: Druid",
"type": "string",
"suggested": false
},
        "granted by items": {
"description": "This specifies what items get access to this action. Similar to the class and race arguments, this list can be comma-separated as well.",
"example": "Poisoner's Ring",
"type": "string",
"suggested": false
},
        "granted by spells": {
"description": "This specifies what spells get access to or trigger this action. Similar to the class and race arguments, this list can be comma-separated as well.",
"example": "Poisoner's Ring",
"type": "string",
"suggested": false
},
"notes": {
"description": "Any extra or related information about the action.",
"type": "content"
},
"video": {
"description": "Name of an uploaded video file showcasing the action.",
"type": "wiki-file-name"
}
},
"description": "This is a page to transclude to generate action pages. Though this does contain a superset of the features for them, this is generally for pages that do not fit Template:SpellPage or Template:WeaponActionPage. It will automatically categorize the page based on the action type and what can learn it. There is no need to add categories yourself unless it is for something similar to Category:Bugs. You can make a page for a passive feature as well, simply leave the cost parameter blank.",
"format": "block",
"paramOrder": [
"this is an example",
"summary",
"description",
"image",
"level",
"school",
"cost",
"damage",
"damage2",
  "recharge",
  "duration",
"ritual",
"attack roll",
        "save",
        "concentration",
"range",
"range m",
"range ft",
"aoe",
"aoe m",
"aoe ft",
"additional",
"condition",
"condition duration",
"condition save",
"condition2",
"condition2 duration",
"condition2 save",
"area",
"area category",
"area shape",
"area range m",
"area range ft",
"area duration",
"area turn start damage",
"area turn start damage type",
"area turn start damage save",
"area turn start damage save effect",
"area turn end damage",
"area turn end damage type",
"area turn end damage save",
"area turn end damage save effect",
"area condition",
"area condition save",
"area condition2",
"area condition2 save",
"area condition3",
"area condition3 save",
"area condition4",
"area condition4 save",
"higher levels",
"variants",
"class learns at level X",
"race learns at level X",
        "granted by feats",
        "granted by items",
        "granted by spells",
"notes",
"video"
]
}
</templatedata>
 
=Example=
<pre>{{ActionPage| this is an example = yes
| description = abc
| image = Fly Icon.png
| summary = fly you fools
| cost = ki:2, action
| damage = amounttext: 1d4+1, type:Bludgeoning
| damage2 = amount: 1d6, per:beam, type: Fire
| recharge = Long Rest
| range = melee
| duration = LR
| save = DEX, abc
| additional = * abcd
| higherlevels = go far
| condition = Flight
| condition duration = 1
| area = Darkness
| area category = cloud
| area shape = Radius
| area range m = 5
| area range ft = 17
| area duration = 10
| area condition = Blinded
| area condition save = STR
| class learns at level 3 = Monk
| race learns at level 5 = Wood Elf
| notes = * bar
| video = Fireball-showcase.mp4
}}</pre>
{{ActionPage| this is an example = yes
| description = abc
| image = Fly Icon.png
| summary = fly you fools
| cost = ki:2, action
| damage = amounttext: 1d4+1, type:Bludgeoning
| damage2 = amount: 1d6, per:beam, type: Fire
| recharge = Long Rest
| range = melee
| duration = LR
| save = DEX, abc
| additional = * abcd
| higherlevels = go far
| condition = Flight
| condition duration = 1
| area = Darkness
| area category = cloud
| area shape = Radius
| area range m = 5
| area range ft = 17
| area duration = 10
| area condition = Blinded
| area condition save = STR
| class learns at level 3 = Monk
| race learns at level 5 = Wood Elf
| notes = * bar
| video = Fireball-showcase.mp4
}}
}}
</noinclude>
</noinclude>

Navigation menu