Template:Action page: Difference between revisions

Jump to navigation Jump to search
Added new warning/on miss/on save fields
(Deprecated 'higherlevels' => 'higher levels')
(Added new warning/on miss/on save fields)
Line 8: Line 8:
<h2> Description </h2>
<h2> Description </h2>
{{{description}}}
{{{description}}} {{#if: {{{warning|}}} |
<p>{{Colour|white|{{{warning}}}}}</p> }}
{{#lvardef: hasprop | {{#if: {{{damage|}}}{{{cost|}}}{{{hit cost|}}}{{{concentration|}}}{{{recharge|}}}{{{duration|}}}{{{distance|}}}{{{aoe|}}}{{{range|}}}{{{range m|}}}{{{area|}}}{{{attack roll|}}}{{{save|}}}{{{additional|}}}|1|0}} }}
{{#lvardef: hasprop | {{#if: {{{damage|}}}{{{cost|}}}{{{hit cost|}}}{{{concentration|}}}{{{recharge|}}}{{{duration|}}}{{{distance|}}}{{{aoe|}}}{{{range|}}}{{{range m|}}}{{{area|}}}{{{attack roll|}}}{{{save|}}}{{{additional|}}}|1|0}} }}
{{#ifexpr: {{#lvar: hasprop}} > 0| == Properties ==
{{#ifexpr: {{#lvar: hasprop}} > 0| == Properties ==
Line 30: Line 31:
<dt> Details: </dt><!-- If you add any further detail fields below, make sure to extend the list above as well. -->
<dt> Details: </dt><!-- If you add any further detail fields below, make sure to extend the list above as well. -->
{{#if: {{{attack roll|}}} |
{{#if: {{{attack roll|}}} |
<dd> {{Attack Roll}} </dd>
<dd> {{Attack Roll}} {{#if: {{{on miss|}}} | (On Miss: {{{on miss}}}) }}</dd>
}}{{#if: {{{range m|}}} {{{range ft|}}}
}}{{#if: {{{range m|}}} {{{range ft|}}}
| {{#if: {{{range m|}}} |  
| {{#if: {{{range m|}}} |  
Line 74: Line 75:
}}<dd>{{SmallIcon|Saving Throw Icons.png}} [[{{#lvar: saveicon}}|{{#lvar: savetext}}]] [[Saving Throw|Save]] {{#if: {{#pos:{{{save|}}}|,}}
}}<dd>{{SmallIcon|Saving Throw Icons.png}} [[{{#lvar: saveicon}}|{{#lvar: savetext}}]] [[Saving Throw|Save]] {{#if: {{#pos:{{{save|}}}|,}}
| (On Save: {{#explode:{{{save|}}}|,|1}})
| (On Save: {{#explode:{{{save|}}}|,|1}})
}}</dd>| {{blank}}
}}{{#if: {{{on save|}}} | (On Save: {{{on save}}}) }}</dd>| {{blank}}
}}
}}
}}  
}}  

Navigation menu