68
editsAd placeholder
Template:Weapon action page: Difference between revisions
Jump to navigation
Jump to search
the "name" parameter does not have to be explicitly defined anymore for the query to function
(Fixed link to avoid unnecessary redirect) |
(the "name" parameter does not have to be explicitly defined anymore for the query to function) |
||
(9 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 actions|weapon action]] {{#if: {{{weapons|}}} | {{{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 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> | <h2> Condition: {{{condition2}}} </h2> | ||
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 186: | 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|}}} |