Template:Certification Table Entry/Sales/ItalianHelper/doc

From English Wikipedia @ Freddythechick

This is the current revision of this page, as edited by imported>Tom.Reding at 19:23, 26 December 2023 (→‎top: {{High-use}}). The present address (URL) is a permanent link to this version.

(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.