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

From blackwiki
Jump to navigation Jump to search
imported>Razr Nation
m (Reverted edits by Hahc21 (talk) to last version by Muhandes)
imported>Tomica
(Undid revision 568387843 by Hahc21 (talk) trying smthg)
Line 20: Line 20:
 
                   |{{#ifexpr: {{{month}}} < 11|4|5}}
 
                   |{{#ifexpr: {{{month}}} < 11|4|5}}
 
                   |0}}
 
                   |0}}
                 |5}}}}}}}}}}}}}}
+
                |{{#ifexpr: {{{year}}} > 2010
 +
                |6}}
 +
                 |5
 +
}}}}}}}}}}}}}}
 
   |0}}
 
   |0}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 18:07, 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.