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

From blackwiki
Jump to navigation Jump to search
imported>John of Reading
(Adapted from Template:Certification Table Entry/Sales/DanishPeriod, split New Zealand figures by year and month)
 
imported>John of Reading
(Allow for a further transition at May/June 2016.)
Line 14: Line 14:
 
               |{{#ifexpr: {{{month}}} < 6 |2|3}}
 
               |{{#ifexpr: {{{month}}} < 6 |2|3}}
 
               |0}}
 
               |0}}
             |3}}}}}}}}}}
+
             |{{#ifexpr: {{{year}}} < 2016
 +
              |3
 +
              |{{#ifexpr: {{{year}}} < 2017
 +
                |{{#if:{{{month|}}}
 +
                  |{{#ifexpr: {{{month}}} < 6 |3|4}}
 +
                  |0}}
 +
              |4}}}}}}}}}}}}}}
 
   |0}}
 
   |0}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:54, 18 July 2016

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

This helper template calculates periods for New Zealand single certifications, as stated in the following sources:

  • According to Scapolo, Dean (2007). The Complete New Zealand Music Charts: 1966 – 2006. Wellington: Maurienne House. p. 7. ISBN 978-1877443-00-8. the levels changed in 1989 (see here
  • The 7 May 2007 chart and 4 June 2007 chart demonstrate a change near June 2007.
  • According to this and the very bottom of this, from 17 June 2016, the NZ singles have 15,000 for Gold and 30,000 for Platinum now.

It returns:

Before June 1989 Before June 2007 Before June 2016 From June 2016
1 2 3 4

Returns 0 if the data provided is not sufficient.