|
This high-use template has been protected from editing to prevent inaccurate edits and/or vandalism. Please use the talk page to discuss changes, and/or to ask an administrator to make an edit for you.
|
<table align="center"><tr><td>[[File:hourglass.gif|Adventures]]</td><td>You {{{type|gain}}} {{#if:{{{min|}}}|<span title="Adventure range: {{{min}}}-{{{max}}}">{{#if:{{{max|}}}|{{#ifexpr:{{{min}}}<{{{max}}}|{{#expr: floor {{{min}}}}}-{{#expr: ceil {{{max}}}}}|{{#ifexpr:{{{min}}}={{{max}}}|{{{min}}}|{{#expr: floor {{{max}}}}}-{{#expr: ceil {{{min}}}}}}}}}|{{{min}}}}}</span>|{{#if:{{{max|}}}|{{{max}}}|{{{amount|some}}}}}}} [[Adventures|{{plural:{{#ifeq:{{{amount|some}}}|1|1|2}}|Adventure|Adventures}}]]. {{#if:{{{min|}}}|{{#if:{{{max|}}}|(avg. {{#expr: ({{{min}}}+{{{max}}}) * 0.5}})|}}|}}</td></tr></table>
Syntax
This template supports a number of ways of displaying adventure gains and losses.
- {{adv|amount=10-12|type=lose}}
- {{adv|min=1|max=20|type=lose}}
- {{adv|min=2|max=2|type=lose}}