Difference between revisions of "Template:Certification Table Entry/Sales/HungarianPeriod"
Jump to navigation
Jump to search
imported>Muhandes (add 2012 threshold level) |
imported>Muhandes (2018 change) |
||
| Line 2: | Line 2: | ||
|{{#ifexpr: {{{year}}} < 1992 | |{{#ifexpr: {{{year}}} < 1992 | ||
|1 | |1 | ||
| − | |{{#ifexpr: {{{year}}} > | + | |{{#ifexpr: {{{year}}} > 2017 |
| − | | | + | |9 |
|{{#switch: {{{year}}} | |{{#switch: {{{year}}} | ||
|1992={{#if:{{{month|}}} | |1992={{#if:{{{month|}}} | ||
| Line 19: | Line 19: | ||
|2 | |2 | ||
|{{#if:{{{day|}}} | |{{#if:{{{day|}}} | ||
| − | |{{#ifexpr: {{{day}}} < | + | |{{#ifexpr: {{{day}}} < 23|2|3}} |
|0}}}} | |0}}}} | ||
|0}} | |0}} | ||
| Line 64: | Line 64: | ||
}} | }} | ||
|0}} | |0}} | ||
| + | |2013|2014|2015|2016|2017=8 | ||
}} | }} | ||
}} | }} | ||
Latest revision as of 10:56, 4 October 2019
This helper template calculates periods for Hungarian certifications, as stated in Mahasz#Certification levels
It returns:
| Before 12 June 1992 | Before 3 December 1997 | Before 23 April 2002 | Before 23 February 2005 | Before 13 September 2006 | Before 1 October 2009 | Before 14 December 2012 | Before 2018 | Since 2018 |
|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Returns 0 if the data provided is not sufficient.
| The above documentation is transcluded from Template:Certification Table Entry/Sales/HungarianPeriod/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. |