Template:Weapon action page: Difference between revisions

Jump to navigation Jump to search
no edit summary
(No Table of contents for weapon action page)
No edit summary
Line 28: Line 28:
{{#if: {{{cost|}}} |
{{#if: {{{cost|}}} |
<dt> Cost:</dt>
<dt> Cost:</dt>
<dd> {{InfoBlob|{{ResourceList|{{{cost}}}}}}}</dd>
<dd> {{InfoBlob|{{ResourceList|{{{cost}}}}}}} </dd>
}} {{#if: {{{hit cost|}}} |
}} {{#if: {{{hit cost|}}} |
<dt> Cost on hit:</dt>
<dt> Cost on hit:</dt>
<dd> {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}}</dd>
<dd> {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}} </dd>
}} {{#if: {{{damage|}}} |
}} {{#if: {{{damage|}}} |
<dt> Damage:
<dt> Damage:</dt>
{{#if: {{{save effect|}}} |
{{#if: {{{save effect|}}} |
<dd> {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} | save = {{{save|}}} | save effect = {{{save effect|}}} }} |
<dd> {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} | save = {{{save|}}} | save effect = {{{save effect|}}} }} </dd> |
<dd> {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} }}
<dd> {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} }} </dd>
}}}} {{#if: {{{extra damage|}}} |
}}}} {{#if: {{{extra damage|}}} |
<dt> Extra damage:
<dt> Extra damage:</dt>
{{#if: {{{extra damage con|}}} |
{{#if: {{{extra damage con|}}} |
<dd> {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}} | con }} |
<dd> {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}} | con }} </dd> |
<dd> {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}}}}
<dd> {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}}}} </dd>
}}}} {{#if: {{{extra damage 2|}}} |
}}}} {{#if: {{{extra damage 2|}}} |
{{#if: {{{extra damage con 2|}}} |
{{#if: {{{extra damage con 2|}}} |
<dd> {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}} | con }} |
<dd> {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}} | con }} </dd> |
<dd> {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}}}}
<dd> {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}}}} </dd>
}}}} {{#if: {{{attack roll|}}} {{{range m|}}} {{{range ft|}}} {{{range|}}} {{{aoe|}}} {{{duration|}}} {{{recharge|}}} |
}}}} {{#if: {{{attack roll|}}} {{{range m|}}} {{{range ft|}}} {{{range|}}} {{{aoe|}}} {{{duration|}}} {{{recharge|}}} |
<dt> Details: <!-- If you add any more details below, remember to expand the list above too. -->
<dt> Details:</dt> <!-- If you add any more details below, remember to expand the list above too. -->
{{#if: {{{attack roll|}}} |
{{#if: {{{attack roll|}}} |
<dd> {{Attack Roll}}
<dd> {{Attack Roll}} </dd>
}} {{#if: {{{save|}}} |
}} {{#if: {{{save|}}} |
<dd> {{SavingThrow|{{{save}}}|dc={{{save dc|}}}}}
<dd> {{SavingThrow|{{{save}}}|dc={{{save dc|}}}}} </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 96: Line 96:
</div>
</div>


}} [[Category:Weapon actions]]</includeonly><noinclude>
}} {{#switch: {{{this is an example|}}}
| yes =
| #default = {{#if: {{{cost|}}} | | [[Category:Free actions]]}}
[[Category:Weapon actions]] {{#cargo_store: _table = weapon_actions
| name = {{#lvar:name}}
| image = {{#lvar:image}}
| icon = {{#lvar:icon}}
| action_type = {{{cost|}}}
| attack_roll = {{{attack roll|no}}}
| duration = {{{duration|0}}}
| range_ft = {{{range ft|0}}}
| range_m = {{{range m|0}}}
| condition_name = {{{condition|}}}
| condition_duration = {{{condition duration|0}}}
}}
}}</includeonly><noinclude>
Examples follow.
Examples follow.


Line 259: Line 274:
| recharge = String
| recharge = String
}}
}}
</noinclude><includeonly>{{#switch: {{{this is an example|}}}
</noinclude>
| yes =
| #default = {{#cargo_store: _table = weapon_actions
| name = {{#lvar:name}}
| image = {{#lvar:image}}
| icon = {{#lvar:icon}}
| action_type = {{{cost|}}}
| attack_roll = {{{attack roll|no}}}
| duration = {{{duration|0}}}
| range_ft = {{{range ft|0}}}
| range_m = {{{range m|0}}}
| condition_name = {{{condition|}}}
| condition_duration = {{{condition duration|0}}}
}}
}}</includeonly>

Navigation menu