64,558
editsMore actions
Fixed name generation
HiddenDragon (talk | contribs) (Added hit cost) |
HiddenDragon (talk | contribs) (Fixed name generation) |
||
(41 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <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|}}} | ||
#lvardef: | |||
}}{{ | |||
#lvardef: icon | {{{icon | {{ | |||
}}{{#switch: {{{this is an example|}}} | |||
| yes = | | yes = | ||
| #default = {{PageSeo | | #default = {{PageSeo | ||
| image = {{#lvar: | | image = {{#lvar:controllericon}} | ||
| description = {{{seo description|{{{description|}}}}}} | | description = {{{seo description|{{{description|}}}}}} | ||
}} | }} | ||
}} | }} | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> {{#if: {{ | __NOTOC__ | ||
{{{summary|'''{{# | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }} | ||
{{{summary|'''{{{name|{{#titleparts: {{PAGENAME}} }} }}}''' is a [[Weapon Actions|weapon action]] {{#if: {{{weapons|}}} | |||
| granted by {{#invoke: ParseList | main | {{{weapons}}} | useTemplate = RarityItem }}. | | granted by {{#invoke: ParseList | main | {{{weapons}}} | useTemplate = RarityItem }}. | ||
| available to characters [[proficient]] in and wielding a {{#invoke: ParseList | main | {{{weapon types}}} | makeLinks = yes | makeSingular = yes | makeLowercase = yes | | | available to characters [[proficient]] in and wielding a {{#invoke: ParseList | main | {{{weapon types}}} | makeLinks = yes | makeSingular = yes | makeLowercase = yes | textLastDelim = <nowiki>, or </nowiki> }} in their main hand. | ||
}} }}} | }} }}} | ||
<h2>Description</h2> | <h2>Description</h2> | ||
{{{description}}} | {{{description}}} {{#if: {{{extra description|}}} | {{blank}} | ||
{{{extra description}}} | |||
}}{{#if: {{{warning|}}} | {{blank}} | |||
<p>{{Colour|white|{{{warning}}}}}</p> | |||
}} | |||
<h2>Properties</h2> | <h2>Properties</h2> | ||
Line 27: | Line 30: | ||
{{#if: {{{cost|}}} | | {{#if: {{{cost|}}} | | ||
<dt> Cost:</dt> | <dt> Cost:</dt> | ||
<dd> {{ | <dd> {{InfoBlob|{{ResourceList|{{{cost}}}}}}} </dd> | ||
}} {{#if: {{{hit cost|}}} | | }} {{#if: {{{hit cost|}}} | | ||
<dt> Cost on hit:</dt> | <dt> Cost on hit:</dt> | ||
<dd> {{ | <dd> {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}} </dd> | ||
}} {{#if: {{{damage|}}} | | }} {{#if: {{{damage|}}} | | ||
<dt> Damage: | <dt> Damage:</dt> | ||
<dd> {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} }} </dd> | |||
<dd> {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} | }} {{#if: {{{extra damage|}}} | | ||
<dd> | <dd> + {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}} | con = {{{extra damage con|}}} }} </dd> | ||
}} | }} {{#if: {{{extra damage 2|}}} | | ||
<dd> + {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}} | con = {{{extra damage con 2|}}} }} </dd> | |||
{{#if: {{{extra damage | }} {{#if: {{{attack roll|}}} {{{range m|}}} {{{range ft|}}} {{{range|}}} {{{aoe|}}} {{{duration|}}} {{{recharge|}}} | | ||
<dd> {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}} | con | <dt> Details:</dt> <!-- If you add any more details below, remember to expand the list above too. --> | ||
}} | |||
{{#if: {{{extra damage | |||
<dd> {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}} | con | |||
<dt> Details: <!-- If you add any more details below, remember to expand the list above too. --> | |||
{{#if: {{{attack roll|}}} | | {{#if: {{{attack roll|}}} | | ||
<dd> {{Attack | <dd> {{Attack roll|{{{attack roll|}}}}} {{#if: {{{on miss|}}} | (On Miss: {{{on miss}}}) }}</dd> | ||
}} {{#if: {{{save|}}} | | }} {{#if: {{{save|}}} | | ||
<dd> {{ | <dd> {{Save | {{{save}}} | dc = {{{save dc|}}} }} {{#if: {{{on save|}}} | (On Save: {{{on save}}}) }}</dd> | ||
}} {{#if: {{{range m|}}} {{{range ft|}}} | | }} {{#if: {{{range m|}}} {{{range ft|}}} | | ||
<dd> {{Range | m = {{{range m}}} | ft = {{{range ft}}} }} | <dd> {{Range | m = {{{range m}}} | ft = {{{range ft}}} }} </dd> | ||
}} {{#if: {{{range|}}} | | }} {{#if: {{{range|}}} | | ||
<dd> {{Range | {{{range | {{{range}}} }}} }} | <dd> {{Range | {{{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: {{{duration|}}} | | }} {{#if: {{{duration|}}} | | ||
<dd> {{Duration | {{{duration}}} }} | <dd> {{Duration | {{{duration}}} }} </dd> | ||
}} {{#if: {{{recharge|}}} | | }} {{#if: {{{recharge|}}} | | ||
<dd> {{Recharge | {{{recharge}}} }} | <dd> {{Recharge | {{{recharge}}} }} </dd> | ||
}} | }} | ||
}} | }} | ||
Line 72: | Line 63: | ||
{{clear}} | {{clear}} | ||
</div> {{#if: {{{condition|}}} | {{ | </div> | ||
{{#if: {{{variants|}}} | | |||
== Variants == | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{#invoke: ParseList | main | {{{variants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }} | |||
</div> | |||
}}{{#if: {{{condition|}}} | | |||
== Condition: {{{condition}}} == | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{Condition | {{{condition}}} | {{Condition | {{{condition}}} | ||
| save = {{{condition save|}}} | | save = {{{condition save|}}} | ||
Line 82: | Line 81: | ||
| duration = {{{condition duration|}}} | | duration = {{{condition duration|}}} | ||
}} | }} | ||
{{main namespace only|{{Inflicts|{{{condition}}}|sai}}}} | |||
{{Inflicts|{{{condition | |||
}} | |||
</div> | </div> | ||
{{#if: {{{condition2|}}} | | |||
== Condition: {{{condition2}}} == | |||
<div class="bg3wiki-tooltip-box"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{{ | {{Condition | {{{condition2}}} | ||
| save = {{{condition2 save|}}} | |||
| dc = {{{condition2 dc|}}} | |||
| duration = {{{condition2 duration|}}} | |||
}} | |||
{{main namespace only|{{Inflicts|{{{condition2}}}|sai}}}} | |||
</div> | </div> | ||
}} | }} | ||
}} | }} | ||
<h2> How to learn </h2> | |||
{{#lvardef: how-to-learn-content | | |||
{{#lvardef: classes-learn-list | | |||
{{#loop: level | 1 | 20 | | |||
{{#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 }} | |||
}} | |||
}} | |||
}}{{#if: {{#lvar:classes-learn-list}} | | |||
{{ | Classes: | ||
{{#lvar:classes-learn-list}} | |||
}}{{#if: {{{granted by feats|}}} | {{blank}} | |||
= | Granted by feats: | ||
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }} | |||
}}{{#cargo_query: | |||
tables=weapons | |||
|fields= _pageName = page, name, legacy | |||
|where=special_weapon_actions HOLDS "{{PAGENAME}}" | |||
|order by=weapons._pageName | |||
|more results text= | |||
|intro=Granted by the weapons:<ul style="list-style: none;"> | |||
|outre=</ul> | |||
|default= | |||
|format=template | |||
|named args = yes | |||
|template=Passive sources/format | |||
}}{{#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"> | |||
{{#lvar: how-to-learn-content | ''(Information not yet added.)'' }} | |||
</div> | |||
{{#if: {{{notes|}}} | {{blank}} | |||
<h2>Notes</h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{{notes}}} | |||
</div> | |||
}} | |||
{{ | }} {{#if: {{{bugs|}}} | | ||
<h2> Bugs </h2> | |||
{{ | <div class="bg3wiki-tooltip-box"> | ||
| name = | {{{bugs}}} | ||
| | {{Main namespace only|[[Category:Bugs]]}} | ||
| | </div> | ||
| movement m = | }} {{Main namespace only|{{#if: {{{cost|}}} | | [[Category:Free actions]]}} | ||
| | [[Category:Weapon actions]] {{#cargo_store: | ||
| | _table = spells | ||
| | | name = {{{name|{{#titleparts: {{PAGENAME}} }} }}} | ||
| | | image = {{{image|}}} | ||
| | | controller_icon = {{#lvar:controllericon}} | ||
| icon = {{#lvar:icon}} | |||
| is_spell = no | |||
| is_weapon_action = yes | |||
| aoe = {{{aoe|}}} | |||
| aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe ft|}}} }} | |||
| 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|}}} }} | |||
| 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|}}} | |||
}} | }} | ||
}}</includeonly><noinclude> | |||
{{documentation}}{{#cargo_attach: | |||
_table = spells | |||
< | |||
< | |||
}} | }} | ||
</noinclude> |