Template:Goal/doc

The Goal template displays a skill goal level and compares it with the current level and shows a completion bar based on the amount of experience points. It copies the functionality provided by other fan-sites and which some users have included into their user page.

Usage
⚽

The current status of the skill can either be specified by the Level input parameter or by the Xp input parameter.

Please note that using the template requires 29 kilobytes (kb) of pre-include space, which has a maximum of 2 Megabytes (Mb). So, this gives a maximum of around 65 goal templates on a single user page when no other templates are being used. The generated HTML is typically only 1 kb.

⚽ The code yields the following result: ⚽

From left to the right:
 * The skill / desired icon (see below)
 * (green bar) The accessed level
 * (blue bar) The goal level
 * Completion percentage
 * Levels left to achieve the goal
 * XP left to achieve the goal

Examples
Below are some examples of the various uses of the Goal template:

Level
The first example defines the current skill status using the Level parameter: ⚽ The example produces the following result: ⚽

XP
The second example defines the actual skill status by using the Xp parameter. ⚽ The example produces the following result: ⚽

Goal achieved
The third example also uses the Xp input value, which just happens to be higher than the value given in the Goal. ⚽ This produces the following result: ⚽

Optional label and colours
The forth example shows how the Label can be used instead of the default Skill image. It also shows how different colours can be specified for the progress bar. ⚽ This produces the following result: ⚽

Goals header
Note: Please don't place this header in a wikitable, as it will get borders then and the widths are wrong then(Levels to go will appear half above xp to go)

You could also place a header above your goals, by placing Goalslist above it. Example:

⚽  ⚽  results in:

⚽ ⚽

Resizable header
For goals with personal labels, please use (wanted width of "Icon")

Example:

⚽ Results in:

⚽ The difference is that the Icon part of the header is wider, so all other headers are in the right place. The standard width for skill icons is 30.

See also

Template:Goalslist