Advertisement

Progress %

0

Usage

{{progress %|min|current|max}}
Computes the percentage (current-min)/(max-min), limited to 0-100. Ideally, min <= current <= max.
  • The percentage is 100 for current >= max.
  • The percentage is 0 for current < min, if min < max.
  • The result is a whole number from 0 to 100; no % sign is returned.

Technical note: There is no test for division by zero, because min <= current < max implies min < max.

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.

GuildWiki has been locked down: anonymous editing and account creation are disabled. Current registered users are unaffected. Leave any comments on the Community Portal.

READ MORE