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

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Protected "Template:Certification Table Entry/Sales/DanishPeriod": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require auto...)
imported>Jonesey95
(Template should not be pointing to user space)
 
Line 1: Line 1:
<includeonly>{{#ifeq:{{User:Muhandes/Certification Table Entry/Sales/DanishPeriodHelper1|certyear={{{certyear|}}}|certmonth={{{certmonth|}}}}}|cert
+
<includeonly>{{#ifeq:{{Certification Table Entry/Sales/DanishPeriodHelper1|certyear={{{certyear|}}}|certmonth={{{certmonth|}}}}}|cert
 
   |{{Certification Table Entry/Sales/DanishPeriodHelper2|year={{{certyear|}}}|month={{{certmonth|}}}|day={{{certday|}}}}}
 
   |{{Certification Table Entry/Sales/DanishPeriodHelper2|year={{{certyear|}}}|month={{{certmonth|}}}|day={{{certday|}}}}}
 
   |{{Certification Table Entry/Sales/DanishPeriodHelper2|year={{{year|}}}|month={{{month|}}}|day={{{day|}}}}}}}</includeonly><noinclude>
 
   |{{Certification Table Entry/Sales/DanishPeriodHelper2|year={{{year|}}}|month={{{month|}}}|day={{{day|}}}}}}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 19:53, 7 September 2018

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

This helper template calculates periods for Danish certifications, as stated in the following sources:

  • [1] - Album level changed in 1994
  • [2] - levels changed in April 2003
  • [3] - new levels for albums and singles in February 2007
  • [4] new levels for singles changed in April 2009
  • [5] - new albums levels change in 7 January 2011
  • [6] - new single levels from 17 November 2014
  • [7] - new single levels from 1 April 2016

It returns:

Before 1994 Before April 2003 Before February 2007 Before April 2009 Before 7 January 2011 Before 17 November 2014 Before 1 April 2016 From 1 April 2016
1 2 3 4 5 6 7 8

Returns 0 if the data provided is not sufficient.