Template:Certification Table Entry/Sales/doc

This is a helper template for Template:Certification Table Entry. It returns the certification threshold for the specific certification. It receives the following parameters.

Mandatory
 * award – Silver/Gold/Platinum/Diamond/Million/Billion/Platinum+Gold/Diamond+Gold/Diamond+Platinum/Diamond+Platinum+Gold
 * type – album/single/video/jazz/compilation/videosingle/ringtone/EP
 * type – album/single/video/jazz/compilation/videosingle/ringtone/EP

Nonmandatory
 * number - number of awards certified, for example for a double platinum this will be 2. Default is 1.
 * number2 - number of awards certified for the second type of awards in case of multiple type, e.g., number of platinum awards for Diamond+Platinum
 * year, month, day - release year, month and day, given as numbers. This is required for some certifications which changed over the years, and the certification threshold goes by release date. The template returns 0 if no sufficient release date is provided or if there isn't a reliable source about the certification levels at the release date.
 * certyear, certmonth, certweek, certday - certification year, month, week, day given as numbers. This is required for some certifications which changed over the years, and the certification threshold goes by certification date. The template returns 0 if no sufficient certification date is provided or if there isn't a reliable source about the certification levels at the certification date.
 * discount - set to true for discount albums in regions for which there is a different certification threshold for discount albums.
 * domestic - set to true for domestic repertoire in regions for which there is a different certification threshold for domestic repertoire.
 * Spanish - set to true for RIAA Latin album certification.
 * digital - set to true for digital download certification. Note that this is supported only in very specific cases, consult Certification Table Entry. If you wish for this to be supported in any other region, please leave a note on the talk page.
 * streamsonly - set to true for streaming-only certification. Note that this is supported only in very specific cases, consult Certification Table Entry. If you wish for this to be supported in any other region, please leave a note on the talk page.
 * multidisc - the number of discs in a multidisc box, for regions in which these are certified multiple times. The template will divide by the number of discs to get the actual threshold in number of boxes sold. Note that this is supported only in very specific cases, consult Certification Table Entry. If you wish for this to be supported in any other region, please leave a note on the talk page.
 * preloaded - set to true for preloaded download certification. Note that this is supported only in very specific cases, consult Certification Table Entry. If you wish for this to be supported in any other region, please leave a note on the talk page.

See Certification Table Entry for supported regions.