Template:Adv

From A KoL Wiki
Revision as of 08:43, 6 February 2009 by imported>Eleron (Showing expected gain)
{{Adv}}
<table align="center"><tr><td>[[image:hourglass.gif|Adventures]]</td><td>You {{{type|gain}}} {{#if:{{{min|}}}|<span title="Adventure range: {{{min}}}-{{{max}}}">{{floor|{{{min|}}}}}-{{ceiling|{{{max|}}}}}</span>|{{{amount|some}}}}} [[Adventures|{{plural:{{#ifeq:{{{amount|some}}}|1|1|2}}|Adventure|Adventures}}]]. {{#if:{{{min|}}}|(avg. {{#expr: ({{{min}}}+{{floor|{{{max}}}}}) * 0.5 + {{{max}}} - {{floor|{{{max}}}}}}}[[Size and Quality|*]])|}}</td></tr></table>

Syntax

{{adv|amount=1}}
AdventuresYou gain 1 Adventure.
{{adv|min=22.0|max=28.4}}
AdventuresYou gain 22-29 Adventures. (avg. 25.4*)
{{adv|type=gain|amount=2}}
AdventuresYou gain 2 Adventures.
{{adv|amount=5-10}}
AdventuresYou gain 5-10 Adventures.
{{adv}}
AdventuresYou gain some Adventures.
{{adv|type=lose|amount=1}}
AdventuresYou lose 1 Adventure.
{{adv|type=lose|amount=3}}
AdventuresYou lose 3 Adventures.
{{adv|type=lose|amount=10-15}}
AdventuresYou lose 10-15 Adventures.
{{adv|type=lose}}
AdventuresYou lose some Adventures.