Template:Feature box/format: Difference between revisions
Jump to navigation
Jump to search
(Experimental change to add support for additional damage fields) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{TooltipBox|image={{{image}}}|{{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} {{#if:{{{action type|}}}|({{Trim|{{ResourceIconList|{{{action type}}}}}}})}} {{#if: {{{item|}}}| – {{MdRarityItem|{{{item}}}}} }} | <includeonly>{{TooltipBox|image={{{image}}} | ||
| {{#if: {{{damage|}}} | | | {{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} {{#if:{{{action type|}}}|({{Trim|{{ResourceIconList|{{{action type}}}}}}})}} {{#if: {{{item|}}}| – {{MdRarityItem|{{{item}}}}} }} | ||
| {{#if: {{{damage|}}} | {{blank}} | |||
: {{DamageInfo | |||
| {{{damage}}} | | {{{damage}}} | ||
| {{{damage type}}} | | {{{damage type}}} | ||
| modifier = {{{damage modifier|}}} | | modifier = {{{damage modifier|}}} | ||
}} | }} | ||
}} {{#if: {{{extra damage|}}} | | }}{{#if: {{{extra damage|}}} | | ||
: + {{DamageInfo | : + {{DamageInfo | ||
| {{{extra damage}}} | | {{{extra damage}}} | ||
Line 12: | Line 13: | ||
| modifier = {{{extra damage modifier|}}} | | modifier = {{{extra damage modifier|}}} | ||
}} | }} | ||
}} {{#if: {{{extra damage 2|}}} | | }}{{#if: {{{extra damage 2|}}} | | ||
: + {{DamageInfo | : + {{DamageInfo | ||
| {{{extra damage 2}}} | | {{{extra damage 2}}} | ||
Line 18: | Line 19: | ||
| modifier = {{{extra damage modifier 2|}}} | | modifier = {{{extra damage modifier 2|}}} | ||
}} | }} | ||
}} {{#if: {{{extra damage 3|}}} | | }}{{#if: {{{extra damage 3|}}} | | ||
: + {{DamageInfo | : + {{DamageInfo | ||
| {{{extra damage 3}}} | | {{{extra damage 3}}} | ||
Line 25: | Line 26: | ||
}} | }} | ||
}} | }} | ||
{{#if: {{{description|}}} | {{blank}} | {{#if: {{{extra description|}}} | {{blank}} | ||
{{{description}}} | <div class="mw-collapsible mw-collapsed"> | ||
{{{ | {{{description}}} | ||
<div class="mw-collapsible-content"> | |||
{{{extra description}}} | |||
</div> | |||
</div> | |||
| {{blank}} | |||
{{{description}}} | |||
}} | |||
{{#if: {{{save|}}}{{{range|}}}{{{area|}}}{{{recharge|}}}{{{has_attack_roll|}}} | {{Horizontal list|{{#if: {{{save|}}} | : {{Save|{{{save}}}}} }}{{#if: {{{range|}}} | {{#if: {{#pos:{{{range}}}|/}} | : {{Range|m={{#explode:{{{range}}}|/|0}}|ft={{#explode:{{{range}}}|/|1}}}} | : {{Range|{{{range}}}}} }} }}{{#if: {{{area|}}} | : {{AOE|{{{aoe}}}|m={{#explode:{{{area}}}|/|0}}|ft={{#explode:{{{area}}}|/|1}}}} }}{{#if: {{{has_attack_roll|}}} | : {{Attack Roll}} }} }} }} }}</includeonly><noinclude> | {{#if: {{{save|}}}{{{range|}}}{{{area|}}}{{{recharge|}}}{{{has_attack_roll|}}} | {{Horizontal list|{{#if: {{{save|}}} | : {{Save|{{{save}}}}} }}{{#if: {{{range|}}} | {{#if: {{#pos:{{{range}}}|/}} | : {{Range|m={{#explode:{{{range}}}|/|0}}|ft={{#explode:{{{range}}}|/|1}}}} | : {{Range|{{{range}}}}} }} }}{{#if: {{{area|}}} | : {{AOE|{{{aoe}}}|m={{#explode:{{{area}}}|/|0}}|ft={{#explode:{{{area}}}|/|1}}}} }}{{#if: {{{has_attack_roll|}}} | : {{Attack Roll}} }} }} }} }}</includeonly><noinclude> | ||
Meant to be used with cargo query from [[Template:Feature box]]. Preview: | Meant to be used with cargo query from [[Template:Feature box]]. Preview: |
Latest revision as of 19:44, 3 September 2024
Meant to be used with cargo query from Template:Feature box. Preview:
Spell
Weapon Action
Class Action
Main Hand Attack
Multiattack