Jump to content

Template:Certification Table Entry/Sales/ItalianHelper/doc

From Simple English Wikipedia, the free encyclopedia
Revision as of 09:06, 30 September 2024 by imported>Auntof6 (category diffusion and/or general cleanup using AWB)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This helper template calculates the sales thresholds for Italian certifications, based on release/certification year.

It accepts two mandatory parameters:

  • |year= - The release or certification year, as appropriate. Before 2010 the thresholds followed the release year. Following that they followed certification year. The calling template handles this distinction, so this template handles them in the same way. Mandatory parameter.
  • |award= - <syntaxhighlight lang="text" class="" style="" inline="1">Silver</syntaxhighlight>/<syntaxhighlight lang="text" class="" style="" inline="1">Gold</syntaxhighlight>/<syntaxhighlight lang="text" class="" style="" inline="1">Platinum</syntaxhighlight>/<syntaxhighlight lang="text" class="" style="" inline="1">Diamond</syntaxhighlight>
  • |type= - <syntaxhighlight lang="text" class="" style="" inline="1">single</syntaxhighlight>/<syntaxhighlight lang="text" class="" style="" inline="1">album</syntaxhighlight>
  • |week= - The certification week, relevant on some years.

This template returns 0 if insufficient parameters were supplied.