Template:Feature box/format: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Added collapsible extra descriptions and improved formatting) |
HiddenDragon (talk | contribs) m (Updated formatting) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{TooltipBox|image={{{image}}} | <includeonly>{{TooltipBox|image={{{image}}} | ||
| {{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} {{#if:{{{action type|}}}|({{Trim|{{ResourceIconList|{{{action type}}}}}}})}} {{#if: {{{item|}}}| – {{MdRarityItem|{{{item}}}}} }} | | {{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} {{#if:{{{action type|}}}|({{Trim|{{ResourceIconList|{{{action type}}}}}}})}} {{#if: {{{item|}}}| – {{MdRarityItem|{{{item}}}}} }} | ||
| {{#if: {{{damage|}}} | | | {{#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 28: | Line 28: | ||
{{#if: {{{extra description|}}} | {{blank}} | {{#if: {{{extra description|}}} | {{blank}} | ||
<div class="mw-collapsible mw-collapsed"> | <div class="mw-collapsible mw-collapsed"> | ||
{{{description}}} | |||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
{{{extra description}}} | |||
</div> | </div> | ||
</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}} }}{{#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