Difference between revisions of "Template:Certification Table Entry/Sales/RussianPeriod"
Jump to navigation
Jump to search
imported>Muhandes m (c) |
imported>Muhandes m (correct) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{year|}}} | <includeonly>{{#if:{{{year|}}} | ||
|{{#ifexpr: {{{year}}} < 2006 | |{{#ifexpr: {{{year}}} < 2006 | ||
| − | | | + | |1 |
|{{#ifexpr: {{{year}}} < 2007 | |{{#ifexpr: {{{year}}} < 2007 | ||
|{{#if:{{{month|}}} | |{{#if:{{{month|}}} | ||
| − | |{{#ifexpr: {{{month}}} < 9 | | + | |{{#ifexpr: {{{month}}} < 9 |1|2}} |
|0}} | |0}} | ||
| − | |{{#ifexpr: {{{year}}} < 2010| | + | |{{#ifexpr: {{{year}}} < 2010|2|3}}}}}} |
|0}} | |0}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 06:22, 8 April 2011
This helper template calculates periods for Russian certifications, as stated in [1]
It returns:
| Before September 2006 | Before 2010 | From 2010 |
|---|---|---|
| 1 | 2 | 3 |
Returns 0 if the data provided is not sufficient.
| The above documentation is transcluded from Template:Certification Table Entry/Sales/RussianPeriod/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. |