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

From blackwiki
Jump to navigation Jump to search
imported>Muhandes
(Add needed support for July 2018 change)
imported>Muhandes
("new" evidence)
 
Line 6: Line 6:
 
       |{{#ifexpr: {{{year}}} < 2008
 
       |{{#ifexpr: {{{year}}} < 2008
 
         |{{#if:{{{month|}}}
 
         |{{#if:{{{month|}}}
           |{{#ifexpr: {{{month}}} < 10|2|3}}
+
           |{{#ifexpr: {{{month}}} < 4|2|3}}
 
           |0}}
 
           |0}}
 
         |{{#ifexpr: {{{year}}} < 2009
 
         |{{#ifexpr: {{{year}}} < 2009

Latest revision as of 17:44, 6 December 2018

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

This helper template calculates periods for Belgian certifications, as stated in the following source:

  • [1] - certification until 2006
  • [2] - certification from October 2007 (active at least from April 2007 [3])
  • [4] - certification from 2009 (changed on April 2008 [5])
  • [6] - certification from July 2018

There is no data for the interim period

It returns:

Before 2006 Before April 2007 Before April 2008 before July 2018 from July 2018
1 2 3 4 5

Returns 0 if the data provided is insufficient