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) m (Updated formatting) |
||
(8 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 | |||
| {{{extra damage}}} | | {{{extra damage}}} | ||
| {{{extra damage type}}} | | {{{extra damage type}}} | ||
| modifier = {{{extra damage modifier|}}} | | modifier = {{{extra damage modifier|}}} | ||
}} | }} | ||
}} {{#if: {{{extra damage 2|}}} | | }}{{#if: {{{extra damage 2|}}} | | ||
+ {{DamageInfo | |||
| {{{extra damage 2}}} | | {{{extra damage 2}}} | ||
| {{{extra damage type 2}}} | | {{{extra damage type 2}}} | ||
| modifier = {{{extra damage modifier 2|}}} | | modifier = {{{extra damage modifier 2|}}} | ||
}} | }} | ||
}} {{#if: {{{extra damage 3|}}} | | }}{{#if: {{{extra damage 3|}}} | | ||
+ {{DamageInfo | |||
| {{{extra damage 3}}} | | {{{extra damage 3}}} | ||
| {{{extra damage type 3}}} | | {{{extra damage type 3}}} | ||
Line 25: | Line 26: | ||
}} | }} | ||
}} | }} | ||
{{#if: {{{description|}}} | {{blank}} | {{#if: {{{extra description|}}} | {{blank}} | ||
{{{description}}} | <div class="mw-collapsible mw-collapsed"> | ||
{{{ | {{{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> | <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}} }}{{#if: {{{recharge|}}} | : {{Recharge|{{{recharge}}}}} }} }} }} }}</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 00:16, 11 November 2024
Meant to be used with cargo query from Template:Feature box. Preview:
Spell
Weapon Action
Class Action
Main Hand Attack
Multiattack