Template:Certification Table Entry/Sales/doc

From SPCodex, The Smashing Pumpkins wiki

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
  • region
  • type - album/single/video. If the type set is not supported for the specific region the results are indeterminable
Nonmandatory
  • number - number of awards certified, for example for a double platinum this will be 2. Default is 1.
  • 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.
  • streaming - set to true for streaming 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.

See {{Certification Table Entry}} for supported regions.