Template:Action page: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (Remove extraneous whitespace.)
mNo edit summary
 
(12 intermediate revisions by 2 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}}} {{#if: {{{warning|}}} |
{{{description}}} {{#if: {{{extra description|}}} | {{blank}}
<p>{{Colour|white|{{{warning}}}}}</p> }}
 
{{{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}} }}
{{#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 ==
Line 31: Line 40:
     | per = {{{damage per|}}}
     | per = {{{damage per|}}}
     }}</dd>
     }}</dd>
| {{#if: {{{damage|}}} |
| {{#if: {{{damage|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
<dt> Damage: </dt>
<dt> Damage: </dt>
<dd> {{DamageBlob|{{{damage|}}}}} </dd>
<dd> {{DamageBlob|{{{damage|}}}}} </dd>
}} {{#if: {{{damage2|}}} |
}} {{#if: {{{damage2|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
<dd> + {{DamageBlob|{{{damage2|}}}}} </dd>
<dd> + {{DamageBlob|{{{damage2|}}}}} </dd>
}} {{#if: {{{damage3|}}} |
}} {{#if: {{{damage3|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
<dd> + {{DamageBlob|{{{damage3|}}}}} </dd>
<dd> + {{DamageBlob|{{{damage3|}}}}} </dd>
}} {{#if: {{{damage4|}}} |
}} {{#if: {{{damage4|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}}
<dd> + {{DamageBlob|{{{damage4|}}}}} </dd>
<dd> + {{DamageBlob|{{{damage4|}}}}} </dd>
}} }} {{#if: {{{extra damage|}}} |
}} }} {{#if: {{{extra damage|}}} |
Line 185: Line 194:


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
The action creates {{#switch: {{{area category}}}
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}}
| cloud = a cloud
| surface = a surface
| #default = an area
}} with the following properties.
 
* {{AOE | {{{area shape}}} | m = {{{area range m}}} | ft = {{{area range ft}}} }}
* {{Duration | {{{area duration}}} }} {{#if: {{{area turn start damage|}}} | {{blank}}
 
Creatures starting their turn in the area suffer:
{{DamageInfo
| {{{area turn start damage}}}
| {{{area turn start damage type}}}
| save = {{{area turn start damage save|}}}
| save effect = {{{area turn start damage save effect|}}}
}}
}} <!-- / area turn start damage --> {{#if: {{{area turn end damage|}}} | {{blank}}
 
Creatures ending their turn in the area suffer:
{{DamageInfo
| {{{area turn end damage}}}
| {{{area turn end damage type}}}
| save = {{{area turn end damage save|no}}}
| save effect = {{{area turn end damage save effect|}}}
}}
}} <!-- / area turn end damage --> {{#if: {{{area condition|}}} | {{blank}}
 
Creatures within the area are affected by the following conditions:
 
{{Condition | {{{area condition}}} | 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 -->{{#ifeq: {{{common|}}}|yes||<h2> How to learn </h2>
}}<!-- / area -->{{#ifeq: {{{common|}}}|yes||<h2> How to learn </h2>
Line 249: Line 222:


Granted by feats:
Granted by feats:
{{#invoke: ParseList | main | {{{granted by feats}}} | type = htmlList| useTemplate = SAI/fixedSmall }}
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }}
   }}{{#if: {{{granted by items|}}} | {{blank}}
   }}{{#if: {{{granted by items|}}} | {{blank}}


Line 272: Line 245:
{{{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>
</div>
{{clear}}
}}{{#if: {{{bugs|}}} |
{{#if: {{{notes|}}} | == Notes == }}
<h2> Bugs </h2>
{{trim|{{#if: {{{notes|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{notes}}}
{{{bugs}}}
</div>}}}}{{#if: {{{video|}}} |
{{Main namespace only|[[Category:Bugs]]}}
 
</div>
}}{{#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}}}
}}{{#ifeq: {{{this is an example|}}} | | <!-- CATEGORIES -->
| yes =
{{#ifeq: {{#lvar: hasclasslearn}} | 1 | [[Category:Class features]]}}
| #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:
{{#ifeq: {{#lvar: hasracelearn}} | 1 | [[Category:Racial features]]}}
_table = spells
{{#if: {{{cost|}}} | | [[Category:Free actions]]}}
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}}
{{#ifeq: {{{common|}}}|yes|[[Category:Common actions]]}}
| image = {{{image|}}}
[[Category:Class actions]]
| controller_icon = {{#lvar:controllericon}}
{{#if: {{{cost amount|}}}{{{cost2|}}}{{{cost2 amount|}}}{{{cost3|}}}{{{cost3 amount|}}}{{{hit cost amount|}}}{{{hit cost2|}}}{{{hit cost2 amount|}}}{{{higherlevels|}}} | [[Category:Pages using deprecated parameters]]}}
| icon = {{#lvar:icon}}
}}<!-- End if type is not none --></includeonly><noinclude>
| is_spell = no
{{documentation}}
| 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|}}}
}}
}} }}<!-- End if type is not none --></includeonly><noinclude>
{{documentation}}{{#cargo_attach:
_table = spells
}}
</noinclude>
</noinclude>

Navigation menu