Ad placeholder

Template:Weapon action page: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{
<includeonly>{{
#vardefine: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
}}{{
}}{{
#vardefine: icon | {{{icon | {{#var:name}} Icon.png }}}
#lvardef: icon | {{{icon | {{#lvar:name}} Icon.png }}}
}}{{#switch: {{{this is an example|}}}
}}{{#switch: {{{this is an example|}}}
| yes =
| yes =
| #default = {{PageSeo
| #default = {{PageSeo
   | image = {{#var:icon}}
   | image = {{#lvar:icon}}
   | description = {{{seo description|{{{description|}}}}}}
   | description = {{{seo description|{{{description|}}}}}}
   }}
   }}
}}
}}
<div class="bg3wiki-tooltip-box"> {{#if: {{#var:icon}} | [[File:{{#var:icon}}|300px|right]] }}
<div class="bg3wiki-tooltip-box"> {{#if: {{#lvar:icon}} | [[File:{{#lvar:icon}}|300px|right]] }}
{{{summary|'''{{#var:name}}''' is a [[Weapon Actions|weapon action]] {{#if: {{{weapons|}}}
{{{summary|'''{{#lvar:name}}''' is a [[Weapon Actions|weapon action]] {{#if: {{{weapons|}}}
| granted by {{#invoke: ParseList | main | {{{weapons}}} | makeLinks = yes }}.
| granted by {{#invoke: ParseList | main | {{{weapons}}} | makeLinks = yes }}.
| available to characters [[proficient]] in and wielding a {{#invoke: ParseList | main | {{{weapon types}}} | makeLinks = yes | makeSingular = yes | makeLowercase = yes | joinWord = or }} in their main hand.
| available to characters [[proficient]] in and wielding a {{#invoke: ParseList | main | {{{weapon types}}} | makeLinks = yes | makeSingular = yes | makeLowercase = yes | joinWord = or }} in their main hand.
Line 189: Line 189:
| yes =
| yes =
| #default = {{#cargo_store: _table = weapon_actions
| #default = {{#cargo_store: _table = weapon_actions
| name = {{#var:name}}
| name = {{#lvar:name}}
| icon = {{#var:icon}}
| icon = {{#lvar:icon}}
| action_type = {{{action type|action}}}
| action_type = {{{action type|action}}}
| attack_roll = {{{attack roll|no}}}
| attack_roll = {{{attack roll|no}}}

Navigation menu