Ad placeholder

Template:Feature box/format: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Added collapsible extra descriptions and improved formatting)
mNo edit summary
Line 2: Line 2:
| {{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|}}} |
: {{DamageInfo
{{DamageInfo
   | {{{damage}}}
   | {{{damage}}}
   | {{{damage type}}}
   | {{{damage type}}}
Line 8: Line 8:
   }}
   }}
}}{{#if: {{{extra damage|}}} |
}}{{#if: {{{extra damage|}}} |
: + {{DamageInfo
+ {{DamageInfo
     | {{{extra damage}}}
     | {{{extra damage}}}
     | {{{extra damage type}}}
     | {{{extra damage type}}}
Line 14: Line 14:
     }}
     }}
}}{{#if: {{{extra damage 2|}}} |
}}{{#if: {{{extra damage 2|}}} |
: + {{DamageInfo
+ {{DamageInfo
     | {{{extra damage 2}}}
     | {{{extra damage 2}}}
     | {{{extra damage type 2}}}
     | {{{extra damage type 2}}}
Line 20: Line 20:
     }}
     }}
}}{{#if: {{{extra damage 3|}}} |
}}{{#if: {{{extra damage 3|}}} |
: + {{DamageInfo
+ {{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}}}
{{{description}}}
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
: {{{extra description}}}
{{{extra description}}}
</div>
</div>
</div>
</div>
| : {{{description}}}
| {{{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>

Navigation menu