Template:Current release: Difference between revisions

Jump to navigation Jump to search
m
even more untested heuristics ...
mNo edit summary
m (even more untested heuristics ...)
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}
<includeonly>{{#switch: {{{1|}}}
| cr = 2016.{{#expr: {{CURRENTMONTH}} div 3}}
<!-- if/when this works correctly, these should probably be moved to their own sub-templates? -->
| cr = {{#ifeq: {{CURRENTMONTH}} | 1 | {{#expr: {{CURRENTYEAR}} - 1}}|{{CURRENTYEAR}}}}.{{#expr: {{CURRENTMONTH}} div 3}}
| crd = 17 September 2016
| crd = 17 September 2016
<!-- note, this hasn't really been tested yet ... --->
<!-- note, this hasn't really been tested yet ... --->
Line 21: Line 22:


Example:
Example:
{{Current release|nr}}
{{Current release|cr}}


; data : Dictates what data is returned. This parameter is mandatory. Value may be one of:
; data : Dictates what data is returned. This parameter is mandatory. Value may be one of:

Navigation menu