Difference between revisions of "Template:Certification Table Entry/Sales/PolishPeriod"
Jump to navigation
Jump to search
imported>Muhandes m (c) |
imported>Muhandes m (according to new source) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{year|}}} | <includeonly>{{#if:{{{year|}}} | ||
| − | |{{#ifexpr: {{{year}}} < | + | |{{#ifexpr: {{{year}}} < 1997 |
| 1 | | 1 | ||
| − | | {{#ifexpr: {{{year}}} < | + | | {{#ifexpr: {{{year}}} < 1998 |
| {{#if:{{{month|}}} | | {{#if:{{{month|}}} | ||
| − | | {{#ifexpr: {{{month}}} < | + | | {{#ifexpr: {{{month}}} < 4 | 1 | 2}} |
| 0}} | | 0}} | ||
| − | | 2}}}} | + | | {{#ifexpr: {{{year}}} < 2002 |
| + | | 2 | ||
| + | | {{#ifexpr: {{{year}}} < 2003 | ||
| + | | {{#if:{{{month|}}} | ||
| + | | {{#ifexpr: {{{month}}} < 6 | 2 | 3}} | ||
| + | | 0}} | ||
| + | | {{#ifexpr: {{{year}}} < 2004 | ||
| + | | 3 | ||
| + | | {{#ifexpr: {{{year}}} < 2005 | ||
| + | | {{#if:{{{month|}}} | ||
| + | | {{#ifexpr: {{{month}}} < 6 | 3 | 4}} | ||
| + | | 0}} | ||
| + | | {{#ifexpr: {{{year}}} < 2006 | ||
| + | | {{#if:{{{month|}}} | ||
| + | | {{#ifexpr: {{{month}}} < 7 | 4 | 5}} | ||
| + | | 0}} | ||
| + | | 5}}}}}}}}}}}}}} | ||
|0}} | |0}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 09:09, 31 January 2011
This helper template calculates periods for Polish certifications, as stated in [1] and [2]. The first source was given priority as it is more public.
It returns:
| Before April 1997 | Before June 2002 | Before June 2004 | Before July 2005 | From July 2005 |
|---|---|---|---|---|
| 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/PolishPeriod/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. |