Difference between revisions of "Template:Certification Table Entry/Sales/ItalianSinglesHelper"
Jump to navigation
Jump to search
imported>Muhandes (doc it) |
imported>Muhandes (redundant comments) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#if:{{{year|}}} | + | <includeonly>{{#if:{{{year|}}} |
|{{#ifexpr:{{{year}}} < 2005 | |{{#ifexpr:{{{year}}} < 2005 | ||
| {{#switch:{{{award|}}}| Gold=25000| Platinum=50000}} | | {{#switch:{{{award|}}}| Gold=25000| Platinum=50000}} | ||
| Line 6: | Line 6: | ||
| {{#ifexpr:{{{year}}} < 2015 | | {{#ifexpr:{{{year}}} < 2015 | ||
| {{#switch:{{{award|}}}| Gold=15000| Platinum=30000}} | | {{#switch:{{{award|}}}| Gold=15000| Platinum=30000}} | ||
| − | | {{#ifexpr:{{{year}}} < 2020 | + | | {{#ifexpr:{{{year}}} < 2020 |
|{{#switch:{{{award|}}}| Gold=25000| Platinum=50000}} | |{{#switch:{{{award|}}}| Gold=25000| Platinum=50000}} | ||
|{{#switch:{{{award|}}}| Gold=35000| Platinum=70000}} | |{{#switch:{{{award|}}}| Gold=35000| Platinum=70000}} | ||
Revision as of 17:59, 15 April 2020
This helper template calculates the sales for Italian certifications without certification date data, based on release year.
It accepts two mandatory parameters:
|year=The release year|award=The award, Gold or Platinum
It returns 0 if no year is passed.
| The above documentation is transcluded from Template:Certification Table Entry/Sales/ItalianSinglesHelper/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |