Difference between revisions of "Template:Certification Table Entry/Sales/ItalianSinglesHelper"

From blackwiki
Jump to navigation Jump to search
imported>Muhandes
(Created page with '{{#if:{{{year|}}} <!-- Same code as below, remember to copy --> |{{#ifexpr:{{{year}}} < 2005 | {{#switch:{{{award|}}}| Gold=25000| Platinum=50000}}...')
 
imported>Muhandes
(doc it)
Line 1: Line 1:
{{#if:{{{year|}}} <!-- Same code as below, remember to copy -->
+
<includeonly>{{#if:{{{year|}}} <!-- Same code as below, remember to copy -->
 
     |{{#ifexpr:{{{year}}} < 2005  
 
     |{{#ifexpr:{{{year}}} < 2005  
 
       | {{#switch:{{{award|}}}| Gold=25000| Platinum=50000}}
 
       | {{#switch:{{{award|}}}| Gold=25000| Platinum=50000}}
Line 14: Line 14:
 
       }}
 
       }}
 
     |0
 
     |0
     }}
+
     }}</includeonly><noinclude>
 +
{{Documentation}}
 +
</noinclude>

Revision as of 16:08, 12 April 2020

Template documentation[view] [edit] [history] [purge]

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.