Difference between revisions of "Template:Certification Table Entry/Sales/SwedishPeriod"

From blackwiki
Jump to navigation Jump to search
imported>Razr Nation
imported>Razr Nation
Line 20: Line 20:
 
                   |{{#ifexpr: {{{month}}} < 11|4|5}}
 
                   |{{#ifexpr: {{{month}}} < 11|4|5}}
 
                   |0}}
 
                   |0}}
                |5
 
 
                 |{{#ifexpr: {{{year}}} > 2010
 
                 |{{#ifexpr: {{{year}}} > 2010
 
                 |6}}
 
                 |6}}
 +
                |5
 
}}}}}}}}}}}}}}
 
}}}}}}}}}}}}}}
 
   |0}}
 
   |0}}

Revision as of 17:31, 13 August 2013

50px Template documentation[view] [edit] [history] [purge]

This helper template calculates periods for Swedish certifications, as stated in [1] and [2]

It returns:

Before October 1996 Before 2002 Before July 2003 Before November 2006 Before January 2010 Before January 2018 From January 2018
1 2 3 4 5 6 7

Returns 0 if the data provided is not sufficient.