Template:Charm sprite data/doc

The Charm sprite data template is used in charm logs to allow multiple views of the data, similar to Template:ExchangeItem.

Usage
To use the log data on a page, type

Adding new charm logs to monsters
To add a charm log to a monster, create a new article "Monster_name/Charm log" and copy the text below.

An example of a charm log page would look like this:

This produces the following result:

"view" parameter
This template is used to determine what information to return.

The "view" parameter may be used to do the following:


 * view=table - displays a table showing the average percentages of the charms dropped, with a link to add to the log
 * view=raw - displays a table showing the raw numbers of kills and charm drops, instead of percentages
 * view=charms - returns the number of charms dropped at once
 * view=kills - returns the total number of kills
 * view=none - returns the total number of kills without charms
 * view=gold - returns the total number of gold charms obtained
 * view=green - returns the total number of green charms obtained
 * view=crimson - returns the total number of crimson charms obtained
 * view=blue - returns the total number of blue charms obtained
 * view=nonepercent - returns the percentage of kills without charms
 * view=goldpercent - returns the percentage of kills with gold charms obtained
 * view=greenpercent - returns the percentage of kills with green charms obtained
 * view=crimsonpercent - returns the percentage of kills with crimson charms obtained
 * view=bluepercent - returns the percentage of kills with blue charms obtained

If the view parameter is not specified, or if it does not match one of these values, the template displays a table with the average percentages and the confidence level, as well as a link to add to the log.