Difference between revisions of "Template:Certification Table Entry/Sales/NorwegianPeriod"
Jump to navigation
Jump to search
imported>Muhandes m (c) |
imported>Muhandes m (1-3) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{year|}}} | <includeonly>{{#if:{{{year|}}} | ||
|{{#ifexpr: {{{year}}} < 2002 | |{{#ifexpr: {{{year}}} < 2002 | ||
| − | | | + | | 1 |
| {{#ifexpr: {{{year}}} < 2003 | | {{#ifexpr: {{{year}}} < 2003 | ||
| {{#if:{{{month|}}} | | {{#if:{{{month|}}} | ||
| − | | {{#ifexpr: {{{month}}} < 7 | | + | | {{#ifexpr: {{{month}}} < 7 | 1 | 2}} |
| 0}} | | 0}} | ||
| − | | {{#ifexpr: {{{year}}} < 2008 | | + | | {{#ifexpr: {{{year}}} < 2008 | 2 | 3}}}}}} |
|0}} | |0}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 07:40, 16 March 2011
This helper template calculates periods for Norwegian certifications. For albums:
- Before July 2002: [1] and [2]
- Before 2008: [3]
- Before 2015: [4] and [5]
- Before 2018: [6]
- From 2018: [7]
It returns:
| Before July 2002 | Before 2008 | Before 2015 | Before 2018 | From 2018 |
|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 |
Returns 0 if the data provided is not sufficient.
| The above documentation is transcluded from Template:Certification Table Entry/Sales/NorwegianPeriod/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |