68
editsthe "name" parameter does not have to be explicitly defined anymore for the query to function
HiddenDragon (talk | contribs) (Updated area template name) |
(the "name" parameter does not have to be explicitly defined anymore for the query to function) |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 8: | Line 8: | ||
__NOTOC__ | __NOTOC__ | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }} | ||
{{{summary|'''{{{name|{{#titleparts: {{PAGENAME}} }} }}}''' is a [[Weapon | {{{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 | textLastDelim = <nowiki>, or </nowiki> }} in their main hand. | | 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. | ||
Line 67: | Line 67: | ||
</div> | </div> | ||
{{#if: {{{variants|}}} | | {{#if: {{{variants|}}} | | ||
<h2> Variants </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
Line 75: | Line 75: | ||
}}{{#if: {{{condition|}}} | | }}{{#if: {{{condition|}}} | | ||
<h2> Condition: {{{condition}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
Line 83: | Line 83: | ||
| duration = {{{condition duration|}}} | | duration = {{{condition duration|}}} | ||
}} | }} | ||
{{main namespace only|{{Inflicts|{{{condition}}}|sai}}}} | {{main namespace only|{{Inflicts|{{{condition}}}|sai|type=spell|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}}}} | ||
</div> | </div> | ||
}} {{#if: {{{condition2|}}} | | }}{{#if: {{{condition2|}}} | | ||
<h2> Condition: {{{condition2}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
Line 95: | Line 95: | ||
| duration = {{{condition2 duration|}}} | | duration = {{{condition2 duration|}}} | ||
}} | }} | ||
{{main namespace only|{{Inflicts|{{{condition2}}}|sai}}}} | {{main namespace only|{{Inflicts|{{{condition2}}}|sai|type=spell|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}}}} | ||
</div> | </div> | ||
}} {{#if: {{{area|}}} | | }}{{#if: {{{area|}}} | {{blank}} | ||
<h2> Area: {{{area}}} </h2> | <h2> Area: {{{area}}} </h2> | ||
Line 105: | Line 105: | ||
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}} | {{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}} | ||
</div> | </div> | ||
}} | }} | ||
<h2> How to learn </h2> | <h2> How to learn </h2> | ||
{{#lvardef: how-to-learn-content | | {{#lvardef: how-to-learn-content | | ||
Line 112: | Line 111: | ||
{{#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}} }}} | | * Class level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | makeLinks = yes }} | ||
}} | }} | ||
}} | }} | ||
Line 123: | Line 122: | ||
Granted by feats: | Granted by feats: | ||
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }} | {{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }} | ||
}}{{#cargo_query: | }}{{#cargo_query: tables = weapons | ||
tables=weapons | | fields = _pageName = page, name, legacy | ||
|fields= _pageName = page, name, legacy | | where = special_weapon_actions HOLDS "{{{name|{{#titleparts: {{PAGENAME}} }}}}}" | ||
|where=special_weapon_actions HOLDS "{{PAGENAME}}" | | order by = weapons._pageName | ||
|order by=weapons._pageName | | more results text = | ||
|more results text= | | intro = Granted by the weapons: <ul style="list-style: none;"> | ||
|intro=Granted by the weapons:<ul style="list-style: none;"> | | outro = </ul> | ||
| | | default = | ||
|default= | | format = template | ||
|format=template | | named args = yes | ||
|named args = yes | | template = Passive sources/format | ||
|template=Passive sources/format | |||
}}{{#if: {{{used by creatures|}}} | {{blank}} | }}{{#if: {{{used by creatures|}}} | {{blank}} | ||
Line 143: | Line 141: | ||
This action is a variation of:<br> | This action is a variation of:<br> | ||
{{SAI|{{{variant of}}}|w=40}} | {{SAI|{{{variant of}}}|w=40}} | ||
}}{{#if: {{{weapon types|}}} | {{blank}} | |||
Granted by wielding the following weapon types with [[proficiency]]: | |||
{{#invoke: ParseList | main | {{{weapon types}}} | type = htmlList | useTemplate = WeaponType }} | |||
}}{{#if:{{{other ways to learn|}}} | {{blank}} | }}{{#if:{{{other ways to learn|}}} | {{blank}} | ||
Other ways to learn: | Other ways to learn: | ||
Line 169: | Line 171: | ||
[[Category:Weapon actions]] {{#cargo_store: | [[Category:Weapon actions]] {{#cargo_store: | ||
_table = spells | _table = spells | ||
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}} | | name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| controller_icon = {{#lvar:controllericon}} | | controller_icon = {{#lvar:controllericon}} | ||
Line 179: | Line 181: | ||
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}} | | has_attack_roll = {{#if:{{{attack roll|}}}|yes}} | ||
| description = {{{description|}}} | | description = {{{description|}}} | ||
| brief = {{{brief|}}} | |||
| extra_description = {{{extra description|}}} | | extra_description = {{{extra description|}}} | ||
| action_type = {{#if:{{#pos:{{{cost|}}}|reaction}}|reaction|{{#if:{{#pos:{{{cost|}}}|bonus}}|bonus|{{#if:{{#pos:{{{cost|}}}|action}}|action|{{#if:{{#pos:{{{cost|}}}|movement}}|movement|}}}}}}}} | | action_type = {{#if:{{#pos:{{{cost|}}}|reaction}}|reaction|{{#if:{{#pos:{{{cost|}}}|bonus}}|bonus|{{#if:{{#pos:{{{cost|}}}|action}}|action|{{#if:{{#pos:{{{cost|}}}|movement}}|movement|}}}}}}}} | ||
Line 185: | Line 188: | ||
| damage = {{{damage|}}} | | damage = {{{damage|}}} | ||
| damage_type = {{{damage type|}}} | | damage_type = {{{damage type|}}} | ||
| damage_modifier = {{{damage modifier|}}} | |||
| extra_damage = {{{extra damage|}}} | | extra_damage = {{{extra damage|}}} | ||
| extra_damage_type = {{{extra damage type|}}} | | 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|}}} }}} | | damage_save = {{{damage save|{{{condition save|}}} }}} | ||
| condition_duration = {{{condition duration|}}} | | condition_duration = {{{condition duration|}}} |