User:Muhandes/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
 * - Silver/Gold/Platinum/Diamond/Million
 * - album/single/video. If the type set is not supported for the specific region the results are indeterminable
 * - album/single/video. If the type set is not supported for the specific region the results are indeterminable


 * Nonmandatory
 * - number of awards certified, for example for a double platinum this will be 2. Default is 1.
 * ,,   - 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.
 * ,  - certification year, month, 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.
 * - set to  for discount albums in regions for which there is a different certification threshold for discount albums.
 * - set to  for domestic repertoire in regions for which there is a different certification threshold for domestic repertoire.
 * - set to  for RIAA Latin album certification.
 * - set to  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.
 * - 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.

See Certification Table Entry for supported regions.