Template:Action page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (Sky moved page Template:ActionPage to Template:Action Page: Spaces preferred in titles)
mNo edit summary
 
(70 intermediate revisions by 7 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|}}}{{{cost|}}}{{{concentration|}}}{{{recharge|}}}{{{duration|}}}{{{distance|}}}{{{aoe|}}}{{{range|}}}{{{range m|}}}{{{area|}}}{{{attack roll|}}}{{{save|}}}{{{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:hasaction|0}}
<dt> Cost on hit: </dt>
{{#lvardef:hasmovemt|0}}
<dd> {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}} </dd>
{{#lvardef:hasothers|0}}
}} {{#if: {{{damage type|}}} |
{{#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> {{DamageInfo
{{#rmatch: {{{cost|}}}|reaction|{{#lvardef:reaction|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Reaction-->
    | {{{damage}}}
{{#rmatch: {{{cost|}}}|freeaction|{{#lvardef:freeaction|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Free Action-->
    | {{{damage type}}}
{{#rmatch: {{{cost|}}}|movement|{{#lvardef:movement|1}} {{#lvardef:hasmovemt|1}}<!--add cargo in this place-->|caseless=1}} <!--Movement-->
    | modifier = {{{damage modifier|}}}
<!--Arcane Recovery-->{{#rmatch: {{{cost|}}}|arcrec|{{#lvardef:ar|{{#rmatch:{{{cost|}}}|arcrec:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|
    | save = {{{damage save|}}}
<!--Bardic Inspiration-->{{#rmatch: {{{cost|}}}|barins|{{#lvardef:bi|{{#rmatch:{{{cost|}}}|barins:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|
    | save effect = {{{damage save effect|}}}
<!--Channel Divinity-->{{#rmatch: {{{cost|}}}|chadiv|{{#lvardef:cd|{{#rmatch:{{{cost|}}}|chadiv:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|  
    | save dc = {{{damage save dc|}}}
<!--Channel Oath-->{{#rmatch: {{{cost|}}}|chaoat|{{#lvardef:co|{{#rmatch:{{{cost|}}}|chaoat:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|  
    | con = {{{damage con|}}}
<!--Ki-->{{#rmatch: {{{cost|}}}|ki|{{#lvardef:ki|{{#rmatch:{{{cost|}}}|ki:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|
    | per = {{{damage per|}}}
<!--Lay On Hands-->{{#rmatch: {{{cost|}}}|layonh|{{#lvardef:lh|{{#rmatch:{{{cost|}}}|layonh:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|  
    }}</dd>
<!--Natural Recovery-->{{#rmatch: {{{cost|}}}|natrec|{{#lvardef:nr|{{#rmatch:{{{cost|}}}|natrec:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|  
| {{#if: {{{damage|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
<!--Rage-->{{#rmatch: {{{cost|}}}|rage|{{#lvardef:rg|{{#rmatch:{{{cost|}}}|rage:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|  
<dt> Damage: </dt>
<!--Superiority Die-->{{#rmatch: {{{cost|}}}|supdie|{{#lvardef:sd|{{#rmatch:{{{cost|}}}|supdie:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|
<dd> {{DamageBlob|{{{damage|}}}}} </dd>
<!--War Priest-->{{#rmatch: {{{cost|}}}|warpri|{{#lvardef:wp|{{#rmatch:{{{cost|}}}|warpri:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|
}} {{#if: {{{damage2|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
<!--Wild Shape-->{{#rmatch: {{{cost|}}}|wldshp|{{#lvardef:ws|{{#rmatch:{{{cost|}}}|wldshp:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->|
<dd> + {{DamageBlob|{{{damage2|}}}}} </dd>
<!--Fungal infestation-->{{#rmatch: {{{cost|}}}|fnginf|{{#lvardef:fi|{{#rmatch:{{{cost|}}}|fnginf:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}|  
}} {{#if: {{{damage3|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
<!--Tides of Chaos-->{{#rmatch: {{{cost|}}}|toc|{{#lvardef:toc|{{#rmatch:{{{cost|}}}|toc:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}|
<dd> + {{DamageBlob|{{{damage3|}}}}} </dd>
<!--sorcery points -->{{#rmatch: {{{cost|}}}|sp|{{#lvardef:sp|{{#rmatch:{{{cost|}}}|sp:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->
}} {{#if: {{{damage4|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
{{#if: {{{level|}}} | {{#ifeq: {{{level}}} | cantrip | | {{#if:{{{no spell slot|}}}||{{#lvardef:hasothers|1}} }} }} }} <!--Spell Level + Not Cantrip + Not "No Spell Slot" -->
<dd> + {{DamageBlob|{{{damage4|}}}}} </dd>
|caseless=1}}|caseless=1}}|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 -->
}} }} {{#if: {{{extra damage|}}} |
<!--if you think i know what im doing, ymmv--><dl class="bg3wiki-property-list">
<dd> + {{DamageInfo
{{#ifeq: {{#lvar: hasaction}} | 1 |
    | {{{extra damage}}}
<dt> Cost:
    | {{{extra damage type|}}}
<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|}}} |
    | modifier = {{{extra damage modifier|}}}
{{#switch: {{{level}}}
    | save = {{{extra damage save|}}}
        | cantrip =
    | save effect = {{{extra damage save effect|}}}
        | #default = {{#if:{{{no spell slot|}}}||{{SmallIcon|Spell Slot Icon.png}} Level {{{level}}} Spell Slot}}
    | save dc = {{{extra damage save dc|}}}
}} | {{Ropt|ar|{{#lvar: ar}} }}{{Ropt|bi|{{#lvar: bi}} }}{{Ropt|cd|{{#lvar: cd}} }}{{Ropt|co|{{#lvar: co}} }}{{Ropt|fi|{{#lvar: fi}} }}{{Ropt|ki|{{#lvar: ki}} }}{{Ropt|lh|{{#lvar: lh}} }}{{Ropt|nr|{{#lvar: nr}} }}{{Ropt|rg|{{#lvar: rg}} }}{{Ropt|sd|{{#lvar: sd}} }}{{Ropt|wp|{{#lvar: wp}} }}{{Ropt|ws|{{#lvar: ws}} }}{{Ropt|sp|{{#lvar: sp}} }}{{Ropt|toc|{{#lvar: toc}}}}
    | con = {{{extra damage con|}}}
}}<!-- End if/if not level spell -->
    | per = {{{extra damage per|}}}
}}<!-- End if/if not hasaction -->
    }}</dd>
{{#if: {{{damage|}}} {{{damage2|}}} |
}} {{#if: {{{extra damage 2|}}} |
<dt> Damage:
<dd> + {{DamageInfo
<dd> {{trim|
    | {{{extra damage 2}}}
{{#if: {{{damage|}}} |
    | {{{extra damage type 2|}}}
{{#lvardef: amt|}}{{#lvardef: typ|}}{{#lvardef: mod|}}{{#lvardef: per|}}{{#lvardef: sav|}}{{#lvardef: sfx|}}
    | modifier = {{{extra damage modifier 2|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|amounttext:}}||| {{#lvardef: amttxt|{{#rmatch: {{{damage|}}}|amounttext:\s?([^\s][^,]*)|$1|caseless=0}}}}}}
    | save = {{{extra damage save 2|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|amount:}}||| {{#lvardef: amt|{{#rmatch: {{{damage|}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save effect = {{{extra damage save effect 2|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|type:}}|||{{#lvardef: typ|{{#rmatch: {{{damage|}}}|type:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save dc = {{{extra damage save dc 2|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|mod:}}|||{{#lvardef: mod|{{#rmatch: {{{damage|}}}|mod:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | con = {{{extra damage con 2|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|per:}}|||{{#lvardef: dot|{{#rmatch: {{{damage|}}}|per:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | per = {{{extra damage per 2|}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|save:}}|||{{#lvardef: sav|{{#rmatch: {{{damage|}}}|save:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    }}</dd>
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|save effect:}}|||{{#lvardef: sfx|{{#rmatch: {{{damage|}}}|save effect:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
}} {{#if: {{{extra damage 3|}}} |
{{#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}}}}}}}}}}
<dd> + {{DamageInfo
{{#if: {{{damage2|}}} |
    | {{{extra damage 3}}}
{{#lvardef: amttxt|}}{{#lvardef: amt|}}{{#lvardef: typ|}}{{#lvardef: mod|}}{{#lvardef: per|}}{{#lvardef: sav|}}{{#lvardef: sfx|}}
    | {{{extra damage type 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|amounttext:}}||| {{#lvardef: amttxt|{{#rmatch: {{{damage2|}}}|amounttext:\s?([^\s][^,]*)|$1|caseless=0}}}}}}
    | modifier = {{{extra damage modifier 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|amount:}}||| {{#lvardef: amt|{{#rmatch: {{{damage2|}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save = {{{extra damage save 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|type:}}|||{{#lvardef: typ|{{#rmatch: {{{damage2|}}}|type:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save effect = {{{extra damage save effect 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|mod:}}|||{{#lvardef: mod|{{#rmatch: {{{damage2|}}}|mod:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | save dc = {{{extra damage save dc 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|per:}}|||{{#lvardef: dot|{{#rmatch: {{{damage2|}}}|per:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | con = {{{extra damage con 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|save:}}|||{{#lvardef: sav|{{#rmatch: {{{damage2|}}}|save:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    | per = {{{extra damage per 3|}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|save effect:}}|||{{#lvardef: sfx|{{#rmatch: {{{damage2|}}}|save effect:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
    }}</dd>
{{#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}}}}}}}}}}
}} {{#if: {{{extra damage 4|}}} |
{{#if: {{{damage|}}}| {{#if:{{{damage2|}}}| {{InfoBlob|{{#lvar: dmg1}} + {{#lvar: dmg2}}}} | {{#lvar: dmg1}}}}|{{blank}}}}
<dd> + {{DamageInfo
    {{#if: {{#lvar: amttxt}}|<p>|}}
    | {{{extra damage 4}}}
}}
    | {{{extra damage type 4|}}}
    | modifier = {{{extra damage modifier 4|}}}
    | save = {{{extra damage save 4|}}}
    | save effect = {{{extra damage save effect 4|}}}
    | save dc = {{{extra damage save dc 4|}}}
    | con = {{{extra damage con 4|}}}
    | per = {{{extra damage per 4|}}}
    }}</dd>
}} {{#if: {{{extra damage 5|}}} |
<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 131: Line 152:
{{{additional}}}| {{blank}}
{{{additional}}}| {{blank}}
}}  
}}  
{{#if: {{{higherlevels|}}} | == At Higher Levels ==}}
{{#if: {{{higher levels|}}} | {{blank}}
{{trim|{{#if: {{{higherlevels|}}} | {{{higherlevels}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter -->
 
{{clear}}</div>
== At Higher Levels ==
{{#if: {{{variants|}}} |
{{{higher levels}}}  
}}  
</div> {{#if: {{{variants|}}} | {{blank}}
 
== Variants ==
== Variants ==


<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|}}} | {{blank}}
{{#if: {{{condition|}}} |


== Condition: {{{condition}}} ==
== Condition: {{{condition}}} ==
Line 149: Line 172:
{{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|type=spell|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}}}}
</div>
</div>
{{#if: {{{condition2|}}} |
}}{{#if: {{{condition2|}}} | {{blank}}


== Condition: {{{condition2}}} ==
== Condition: {{{condition2}}} ==
Line 159: Line 184:
{{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|type=spell|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}}}}
</div>
</div>
}}{{#if: {{{condition3|}}} | {{blank}}


  }}
== 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.
}}
{{main namespace only|{{Inflicts|{{{condition3}}}|sai|type=spell|save={{{condition3 save|}}}|dc={{{condition3 dc|}}}|duration={{{condition3 duration|}}}}}}}
</div>}}{{#if: {{{condition4|}}} | {{blank}}


* {{AOE | {{{area shape}}} | m = {{{area range m}}} | ft = {{{area range ft}}} }}
== Condition: {{{condition4}}} ==
* {{Duration | {{{area duration}}} }} {{#if: {{{area turn start damage|}}} | {{blank}}


Creatures starting their turn in the area suffer:
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{DamageInfo
{{Condition | {{{condition4}}}
| {{{area turn start damage}}}
| save = {{{condition4 save|}}}
| {{{area turn start damage type}}}
| dc = {{{condition4 dc|}}}
| save = {{{area turn start damage save|}}}
| duration = {{{condition4 duration|}}}
| save effect = {{{area turn start damage save effect|}}}
}}
}}
}} <!-- / area turn start damage --> {{#if: {{{area turn end damage|}}} | {{blank}}
{{main namespace only|{{Inflicts|{{{condition4}}}|sai|type=spell|save={{{condition4 save|}}}|dc={{{condition4 dc|}}}|duration={{{condition4 duration|}}}}}}}
</div>
}}{{#if: {{{condition5|}}} | {{blank}}


Creatures ending their turn in the area suffer:
== Condition: {{{condition5}}} ==
{{DamageInfo
 
| {{{area turn end damage}}}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
| {{{area turn end damage type}}}
{{Condition | {{{condition5}}}
| save = {{{area turn end damage save|no}}}
| save = {{{condition5 save|}}}
| save effect = {{{area turn end damage save effect|}}}
| dc = {{{condition5 dc|}}}
| duration = {{{condition5 duration|}}}
}}
}}
}} <!-- / area turn end damage --> {{#if: {{{area condition|}}} | {{blank}}
{{main namespace only|{{Inflicts|{{{condition5}}}|sai|type=spell|save={{{condition5 save|}}}|dc={{{condition5 dc|}}}|duration={{{condition5 duration|}}}}}}}
</div>
}}{{#if: {{{area|}}} | {{blank}}


Creatures within the area are affected by the following conditions:
<h2> Area: {{{area}}} </h2>


{{Condition | {{{area condition}}} | save = {{{area condition save|}}}}} {{#if: {{{area condition2|}}} | {{blank}}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Condition | {{{area condition2}}} | save = {{{area condition2 save|}}}}}
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}}
}} {{#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}} }}} | makeLinks = yes }}
       }}
       }}
     }}
     }}
Line 218: Line 242:
     {{#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}} }}} | makeLinks = yes }}
       }}
       }}
     }}
     }}
Line 229: Line 253:
{{#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}}
   }}{{#if: {{{used by creatures|}}} | {{blank}}


Used by Creatures:
Used by creatures:
{{#invoke: ParseList | main | {{{used by creatures}}} | makeLinks = yes }}
{{#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|}}}
| damage_modifier = {{{damage modifier|}}}
| extra_damage = {{{extra damage|}}}
| extra_damage_type = {{{extra damage type|}}}
| extra_damage_modifier = {{{extra damage modifier|}}}
| extra_damage_2 = {{{extra damage 2|}}}
| extra_damage_type_2 = {{{extra damage type 2|}}}
| extra_damage_modifier_2 = {{{extra damage modifier 2|}}}
| extra_damage_3 = {{{extra damage 3|}}}
| extra_damage_type_3 = {{{extra damage type 3|}}}
| extra_damage_modifier_3 = {{{extra damage modifier 3|}}}
| damage_save = {{{damage save|{{{condition save|}}} }}}
| condition_duration = {{{condition duration|}}}
| recharge = {{{recharge|}}}
}}
}} }}<!-- End if type is not none --></includeonly><noinclude>
{{documentation}}{{#cargo_attach:
_table = spells
}}
}}
<!-- CATEGORIES -->{{#ifeq: {{{this is an example|}}} ||
{{#if: {{{level|}}} | [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }}    {{#if: {{{school|}}} | [[Category:{{{school}}} Spells]]}} {{#if: {{{ritual|}}} | [[Category:Ritual Spells]]}}
  {{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Reactions]]
|{{#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>
{{/doc}}
</noinclude>
</noinclude>

Latest revision as of 07:19, 12 September 2024

Template documentation

Usage

{{ActionPage
| this is an example = 
| summary =
| description =
| extra description =
| image =
| controller icon =
| icon =
| cost =
| hit cost =
| concentration =
| damage =
| damage type =
| damage modifier =
| extra damage = 
| extra damage type = 
| extra damage modifier = 
| recharge =
| duration =
| save =
| on save =
| attack roll = 
| on miss =
| range =
| range m = 
| range ft = 
| aoe =
| aoe m =
| aoe ft =
| additional = 
| higher levels =
| variants =
| variant of =
| condition =
| condition duration = 
| condition save = 
| condition dc =
| condition2 =
| condition2 duration = 
| condition2 save = 
| condition2 dc =
| condition3 =
| condition3 duration = 
| condition3 save = 
| condition3 dc =
| condition4 =
| condition4 duration = 
| condition4 save = 
| condition4 dc =
| condition5 =
| condition5 duration = 
| condition5 save = 
| condition5 dc =
| area =
| area shape =
| area range m =
| area range ft =
| area duration =
| X learns at level X =
| granted by feats =
| granted by items = 
| granted by spells = 
| used by creatures =
| warning =
| notes =
| bugs =
| video =
}}
Bg3 content hr.png

This generates pages that don't fit other generators, automatically formatting and categorizing the page. Don't be daunted by the number of parameters/options and fill in what you need.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Action summarysummary

The summary of the action and its effects. This goes at the top of the article. Use description for the in-game text description.

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.
Contentrequired
Action descriptiondescription

The raw in-game description of the action. Use summary for summarizing the action and its effects.

Example
Shoot a bright flame from your fingers that explodes upon contact, torching everything in the vicinity for 8d6 Fire damage.
Stringrequired
Extra descriptionextra description

The extra in-game description of the action, shown when the tooltip is locked on screen.

Stringoptional
Tooltip imageimage

The page's main tool image, used in the in-game tooltips. Should be 380x380.

Example
Fireball.webp
Stringsuggested
Controller iconcontroller icon

The class action's controller icon, used in the controller only interface. Should be 144x144.

Example
Fireball Icon.webp
Stringsuggested
iconicon

The class action's small icon, used in the hotkey bar. Should be 64x64.

Example
Fireball Icon.webp
Stringsuggested
costcost

A comma separated list of resources used to perform the action. Use a colon and a number to specify > 1 cost. Valid resources are any resource available in the Resource Template.

Suggested values
action bonus reaction movement half movement ki supdie
Example
action, ki:2
Stringsuggested
hit costhit cost

A comma separated list of resources used only if the action is successful. Any resource defined in [[Template:Resource]] can be used

Suggested values
action bonus reaction supdie ki
Example
ki, bonus
Stringsuggested
damagedamage

The damage of the action, expressed as a number, damage dice, or in text

Suggested values
1d4 20 Weapon Damage
Example
3d6
Stringoptional
damage typedamage type

The type of damage being dealt

Suggested values
Slashing Piercing Bludgeoning Acid Fire Cold Lightning Thunder Necrotic Poison Healing
Example
Acid
Stringoptional
damage modifierdamage modifier

Any modifiers to the damage, found after the plus sign in the damage tooltip. Often a flexible value that scales with the source's ability scores.

Suggested values
STR DEX Spellcasting
Example
STR
Stringoptional
extra damageextra damage

The secondary damage of the action, if applicable. Will be output as damage + damage2. Same parameters as damage. Extra damage can be added up to six times by adding and incrementing the parameters each additional time, i.e. extra damage 2, extra damage type 2 etc.

Suggested values
1d4 20 Weapon Damage
Example
3d6
Stringoptional
extra damage typeextra damage type

The type of damage being dealt

Suggested values
Slashing Piercing Bludgeoning Acid Fire Cold Lightning Thunder Necrotic Poison Healing
Example
Acid
Stringoptional
extra damage modifierextra damage modifier

Any modifiers to the damage, found after the plus sign in the damage tooltip. Often a flexible value that scales with the source's ability scores.

Suggested values
STR DEX Spellcasting
Example
STR
Stringoptional
rechargerecharge

Action recharge time, if applicable

Example
Long Rest
Stringoptional
durationduration

Duration in turns of the action. Generally you will use condition duration instead.

Example
10
Stringoptional
attack rollattack roll

Whether the action is reliant on a attack roll and it's type. Leave blank if no attack roll is made.

Suggested values
yes melee weapon melee spell melee unarmed melee off-hand weapon ranged weapon ranged spell ranged unarmed ranged off-hand weapon
Default
No
Stringoptional
on misson miss

Used in conjunction with 'attack roll' describes what happens if the action misses its attack roll.

Suggested values
Targets still take half damage.
Example
Targets still take half damage.
Stringoptional
savesave

The save (if any) that a target must roll against the damage effect of the action, with the result after the comma.

Suggested values
Strength, half damage Dexterity, negated Constitution Intelligence Wisdom Charisma
Example
Dexterity
Stringoptional
on saveon save

Used in conjunction with 'save', describes what happens when the target successfully makes their saving throw.

Suggested values
Targets still take half damage.
Example
Targets still take half damage.
Stringoptional
concentrationconcentration

Whether or not the action requires concentration. Blank = No, otherwise = Yes.

Suggested values
Yes
Default
No
Example
Yes
Stringoptional
rangerange

The range of the action.

Suggested values
ranged melee self
Example
ranged
Stringoptional
range mrange m

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
Numberoptional
range ftrange ft

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
Numberoptional
aoeaoe

Indicates if the action affects an area, and what type of shape its effect is.

Suggested values
radius cone cube line
Example
cone
Stringoptional
aoe maoe m

This indicates the range of the action's aoe shape, in meters.

Example
5
Numberoptional
aoe ftaoe ft

This indicates the range of the action's aoe shape, in feet.

Example
15
Numberoptional
additional propertiesadditional

Any additional properties about the skill that are not covered by template go here, which goes under damage in properties

Contentoptional
conditioncondition

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
Stringoptional
condition durationcondition duration

The duration in turns of the action's applied condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
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 durationcondition2 duration

The duration in turns of the action's second condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
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
condition3condition3

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

Example
Hastened
Stringoptional
condition3 durationcondition3 duration

The duration in turns of the action's third condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
condition3 savecondition3 save

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

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition3 dccondition3 dc

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

Example
12
Numberoptional
condition4condition4

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

Example
Hastened
Stringoptional
condition4 durationcondition4 duration

The duration in turns of the action's third condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
condition4 savecondition4 save

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

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition4 dccondition4 dc

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

Example
12
Numberoptional
condition5condition5

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

Example
Hastened
Stringoptional
condition5 durationcondition5 duration

The duration in turns of the action's third condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
condition5 savecondition5 save

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

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition5 dccondition5 dc

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

Example
12
Numberoptional
Action area namearea

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
Stringoptional
area shapearea shape

This indicates the shape that the special area created by the action takes.

Suggested values
Radius Cone Cube
Example
Radius
Stringoptional
area range marea range m

Indicates the range of the area created by action, in meters.

Example
5
Numberoptional
area range ftarea range ft

Indicates the range of the area created by action, in feet.

Example
12
Numberoptional
area durationarea duration

This indicates how long the area created by the action lasts, in turns.

Example
6
Numberoptional
higher levelshigher levels

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}}.
Contentoptional
variantsvariants

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, ...
Stringoptional
variant ofvariant of

The spell that is the parent of this spell

Example
Chromatic Orb
Stringoptional
class learns at level 1class learns at level 1

This specifies what level the classes get access to this action at level 1. 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
Stringoptional
class learns at level 2class learns at level 2

This specifies what level the classes get access to this action at level 2. 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
Stringoptional
class learns at level 3class learns at level 3

This specifies what level the classes get access to this action at level 3. 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
Stringoptional
class learns at level 4class learns at level 4

This specifies what level the classes get access to this action at level 4. 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
Stringoptional
class learns at level 5class learns at level 5

This specifies what level the classes get access to this action at 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
Stringoptional
class learns at level 6class learns at level 6

This specifies what level the classes get access to this action at level 6. 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
Stringoptional
class learns at level 7class learns at level 7

This specifies what level the classes get access to this action at level 7. 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
Stringoptional
class learns at level 8class learns at level 8

This specifies what level the classes get access to this action at level 8. 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
Stringoptional
class learns at level 9class learns at level 9

This specifies what level the classes get access to this action at level 9. 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
Stringoptional
class learns at level 10class learns at level 10

This specifies what level the classes get access to this action at level 10. 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
Stringoptional
class learns at level 11class learns at level 11

This specifies what level the classes get access to this action at level 11. 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
Stringoptional
class learns at level 12class learns at level 12

This specifies what level the classes get access to this action at level 12. 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
Stringoptional
race learns at level 1race learns at level 1

This specifies what level the races get access to this action at level 1. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 2race learns at level 2

This specifies what level the races get access to this action at level 2. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 3race learns at level 3

This specifies what level the races get access to this action at level 3. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 4race learns at level 4

This specifies what level the races get access to this action at level 4. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 5race learns at level 5

This specifies what level the races get access to this action at level 5. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 6race learns at level 6

This specifies what level the races get access to this action at level 6. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 7race learns at level 7

This specifies what level the races get access to this action at level 7. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 8race learns at level 8

This specifies what level the races get access to this action at level 8. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 9race learns at level 9

This specifies what level the races get access to this action at level 9. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 10race learns at level 10

This specifies what level the races get access to this action at level 10. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 11race learns at level 11

This specifies what level the races get access to this action at level 11. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 12race learns at level 12

This specifies what level the races get access to this action at level 12. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
warningwarning

Warning text for the tooltip that doesn't belong in the description.

Stringoptional
granted by featsgranted by feats

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
Stringoptional
granted by itemsgranted by items

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
Stringoptional
granted by spellsgranted by spells

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
Stringoptional
used by creaturesused by creatures

This specifies which creatures use this action.

Example
Magma Mephit
Stringoptional
notesnotes

Any extra or related information about the action.

Contentoptional
bugsbugs

Any known bugs about the action.

Contentoptional
videovideo

Name of an uploaded video file showcasing the action.

Fileoptional
If this is an examplethis is an example

If this is an example and you don't want the page to be categorized and related.

Example
yes
Stringoptional
other ways to learnother ways to learn

Other ways to learn. These will be inserted as-is at the end of the how to learn field.

Stringoptional

Example

{{ActionPage| this is an example = yes
| description = abc
| image = Fly Icon.png
| summary = fly you fools
| cost = action
| hit cost = ki
| hit cost amount = 2
| 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
| higher levels = 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 =
* Some note.
| bugs =
* Some known bug.
| video = Fireball-showcase.mp4
}}


Fly Icon.png

fly you fools

Description

abc

Properties

Cost:
Ki Point
Cost on hit:
Sorcery Point
Damage:
1d4+1 Damage TypesBludgeoning
+
D6 Fire.png 1d6 (1~6) Damage TypesFire per beam
Details:
 Melee: 1.5 m / 5  ft
Creates Area: Darkness
Recharge: Long rest
Duration: LR turns
DEX, abc Save
  • abcd

At Higher Levels

go far

Condition: Flight

Flight Flight

Duration: 1 turn

  • Fly up to target position, up to 18 m / 60 ft each turn using your Movement Speed.

Area: Darkness

Darkness Darkness

Duration: 10 turns

AoE: 5 m / 17 ft (Radius)

A shroud of magical darkness that Heavily Obscures and Blinds creatures within. Creatures cannot make ranged attacks into or out of the darkness.

Type: Cloud

Condition: Blinded

Blinded Blinded

How to learn

Classes:

Races:

(Character level is the sum of all class levels for a multi-classed character.)

Notes

  • Some note.

Bugs

  • Some known bug.

Visuals

another example

Fly Icon.png

fly you fools 2

Description

abc

Properties

Cost:
Action
Damage:
1d4+1 Damage TypesBludgeoning
Details:
 Melee: 1.5 m / 5  ft
Recharge: Long rest
Duration: LR turns
DEX, abc Save
  • abcd

At Higher Levels

go far

How to learn

Other ways to learn:

  • By ticking a giant space hamster
  • Carameldansen under the Mouth of Bhaal
This template adds rows to the table "spells", which is declared by the template Spell page. View table.