65,581
editsAd placeholder
Template:Feature box/format: Difference between revisions
Jump to navigation
Jump to search
Added collapsible extra descriptions and improved formatting
m (Minor formatting) |
HiddenDragon (talk | contribs) (Added collapsible extra descriptions and improved formatting) |
||
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}}} | ||
| {{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} {{#if:{{{action type|}}}|({{Trim|{{ResourceIconList|{{{action type}}}}}}})}} {{#if: {{{item|}}}| – {{MdRarityItem|{{{item}}}}} }} | |||
| {{#if: {{{damage|}}} | | | {{#if: {{{damage|}}} | | ||
: {{DamageInfo | : {{DamageInfo | ||
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> | |||
| : {{{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: |