Difference between revisions of "Template:Certification Table Entry/Sales/BelgianPeriod"
Jump to navigation
Jump to search
imported>Muhandes |
imported>Muhandes (Add needed support for July 2018 change) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{year|}}} | <includeonly>{{#if:{{{year|}}} | ||
|{{#ifexpr: {{{year}}} < 2006 | |{{#ifexpr: {{{year}}} < 2006 | ||
| − | | 1 | + | |1 |
|{{#ifexpr: {{{year}}} < 2007 | |{{#ifexpr: {{{year}}} < 2007 | ||
|2 | |2 | ||
| Line 12: | Line 12: | ||
|{{#ifexpr: {{{month}}} < 4|3|4}} | |{{#ifexpr: {{{month}}} < 4|3|4}} | ||
|0}} | |0}} | ||
| − | |4}}}}}}}} | + | |{{#ifexpr: {{{year}}} < 2018 |
| + | |4 | ||
| + | |{{#ifexpr: {{{year}}} < 2019 | ||
| + | |{{#if:{{{month|}}} | ||
| + | |{{#ifexpr: {{{month}}} < 8|4|5}} | ||
| + | |0}} | ||
| + | |5}}}}}}}}}}}} | ||
|0}} | |0}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 15:58, 19 July 2018
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
| The above documentation is transcluded from Template:Certification Table Entry/Sales/BelgianPeriod/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |