Template:Adv

From A KoL Wiki
Revision as of 20:02, 28 January 2009 by imported>Eleron (Added support for adventure gain ranges)
{{Adv}}
<table align="center"><tr><td>[[image:hourglass.gif|Adventures]]</td><td>You {{{type|gain}}} {{#if:{{{min|}}}|{{floor|{{{min|}}}}}-{{ceiling|{{{max|}}}}}|{{{amount|some}}}}} [[Adventures|{{plural:{{#ifeq:{{{amount|some}}}|1|1|2}}|Adventure|Adventures}}]].</td></tr></table>

Syntax

{{adv|amount=1}}
AdventuresYou gain 1 Adventure.
{{adv|min=22.0|max=28.4}}
AdventuresYou gain 22-29 Adventures.
{{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.