Template:Weapon action page: Difference between revisions

Jump to navigation Jump to search
Updated area template name
(Added extra description)
(Updated area template name)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}}}{{#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|}}}
<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 =
| yes =
| #default = {{PageSeo
| #default = {{PageSeo
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|'''{{#lvar:name}}''' 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 27: Line 27:
<h2>Properties</h2>
<h2>Properties</h2>


<dl class="bg3wiki-property-list">
<div class="bg3wiki-property-list">
{{#if: {{{cost|}}} |
{{#if: {{{cost|}}} |
<dt> Cost:</dt>
; Cost:
<dd> {{InfoBlob|{{ResourceList|{{{cost}}}}}}} </dd>
: {{InfoBlob|{{ResourceList|{{{cost}}}}}}}
}} {{#if: {{{hit cost|}}} |
}} {{#if: {{{hit cost|}}} |
<dt> Cost on hit:</dt>
; Cost on hit:
<dd> {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}} </dd>
: {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}}
}} {{#if: {{{damage|}}} |
}} {{#if: {{{damage|}}} |
<dt> Damage:</dt>
; Damage:
<dd> {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} }} </dd>
: {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} }}
}} {{#if: {{{extra damage|}}} |
}} {{#if: {{{extra damage|}}} |
<dd> + {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}} | con = {{{extra damage con|}}} }} </dd>
: + {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}} | con = {{{extra damage con|}}} }}
}} {{#if: {{{extra damage 2|}}} |
}} {{#if: {{{extra damage 2|}}} |
<dd> + {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}} | con = {{{extra damage con 2|}}} }} </dd>
: + {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}} | con = {{{extra damage con 2|}}} }}
}} {{#if: {{{attack roll|}}} {{{range m|}}} {{{range ft|}}} {{{range|}}} {{{aoe|}}} {{{duration|}}} {{{recharge|}}} |
}} {{#if: {{{attack roll|}}} {{{range m|}}} {{{range ft|}}} {{{range|}}} {{{aoe|}}} {{{area|}}} {{{duration|}}} {{{recharge|}}} |
<dt> Details:</dt> <!-- If you add any more details below, remember to expand the list above too. -->
; Details: <!-- If you add any more details below, remember to expand the list above too. -->
{{#if: {{{attack roll|}}} |
{{#if: {{{attack roll|}}} |
<dd> {{Attack roll|{{{attack roll|}}}}} {{#if: {{{on miss|}}} | (On Miss: {{{on miss}}}) }}</dd>
: {{Attack roll|{{{attack roll|}}}}} {{#if: {{{on miss|}}} | (On Miss: {{{on miss}}}) }}
}} {{#if: {{{save|}}} |
}} {{#if: {{{save|}}} |
<dd> {{Save | {{{save}}} | dc = {{{save dc|}}} }} {{#if: {{{on save|}}} | (On Save: {{{on save}}}) }}</dd>
: {{Save | {{{save}}} | dc = {{{save dc|}}} }} {{#if: {{{on save|}}} | (On Save: {{{on save}}}) }}
}} {{#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}}} }}
}} {{#if: {{{range|}}} |
}} {{#if: {{{range|}}} |
<dd> {{Range | {{{range | {{{range}}} }}} }} </dd>
: {{Range | {{{range | {{{range}}} }}} }}
}} {{#if: {{{aoe|}}} |
}} {{#if: {{{aoe|}}} |
<dd> {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }} </dd>
: {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }}
}} {{#if: {{{area|}}} |
: {{SmallIcon | Aoe Icon.png }} Creates Area: {{{area}}}
}} {{#if: {{{duration|}}} |
}} {{#if: {{{duration|}}} |
<dd> {{Duration | {{{duration}}} }} </dd>
: {{Duration | {{{duration}}} }}
}} {{#if: {{{recharge|}}} |
}} {{#if: {{{recharge|}}} |
<dd> {{Recharge | {{{recharge}}} }} </dd>
: {{Recharge | {{{recharge}}} }}
}}
}}
}}
}}
</dl>
</div>


{{clear}}
{{clear}}
Line 83: Line 85:
{{main namespace only|{{Inflicts|{{{condition}}}|sai}}}}
{{main namespace only|{{Inflicts|{{{condition}}}|sai}}}}
</div>
</div>
{{#if: {{{condition2|}}} |
}} {{#if: {{{condition2|}}} |


== Condition: {{{condition2}}} ==
== Condition: {{{condition2}}} ==
Line 96: Line 98:
</div>
</div>


  }}
}} {{#if: {{{area|}}} |
}}
 
<h2> Area: {{{area}}} </h2>
 
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}}
</div>
}} <!-- / area -->
 
<h2> How to learn </h2>
<h2> How to learn </h2>
{{#lvardef: how-to-learn-content |
{{#lvardef: how-to-learn-content |
Line 160: Line 169:
[[Category:Weapon actions]] {{#cargo_store:  
[[Category:Weapon actions]] {{#cargo_store:  
_table = spells
_table = spells
| name = {{#lvar:name}}
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}}
| image = {{{image|}}}
| image = {{{image|}}}
| controller_icon = {{#lvar:controllericon}}
| controller_icon = {{#lvar:controllericon}}

Navigation menu