Template:SimpleGoal/doc

From RuneScape Classic Wiki
Jump to: navigation, search

Template Documentation[edit source]

The SimpleGoal template displays a completion bar based on the amount of the goal that has currently been achieved. For skill goals, see Template:Goal.

Usage[edit source]

{{SimpleGoal
  |Label     = optional label (replaces image of coins)
  |Goal      = target number
  |Have      = current number
  |Units     = units to display after the amount to go (e.g "gp")
  |BarColor1 = color of achieved part of progress bar (default gold)
  |BarColor2 = color of remaining part of progress bar (default dark red)
}}

Examples[edit source]

Below are some examples of the various uses of the SimpleGoal template. The first example gives the desired number of coins and the number so far:

{{SimpleGoal | Goal=100000 | Have=48000 | Units=gp }}

The example produces the following result:

Coins.png
48,000
48% 52,000 gp


The second example gives the desired number of quest points and the number so far:

{{SimpleGoal | Label=Quest points| BarColor1=green | BarColor2=blue
   | Goal=100 | Have=52 | Units=qp }}

The example produces the following result:

Quest points
52  
52% 48 qp