doc
From Brickipedia, the LEGO Wiki
< Template:Release
Revision as of 04:53, 17 September 2016 by SamanthaNguyen (talk | contribs) (Created page with "A template for automatically changing the grammar tense. It accepts 1 parameter, which is the year. Depending on whether or not it's less than/equal to, or more than the value...")
A template for automatically changing the grammar tense. It accepts 1 parameter, which is the year. Depending on whether or not it's less than/equal to, or more than the value of {{CURRENTYEAR}}, it'll automatically change the grammar tense of the release phrase.
Sample test cases
- 1974 -
{{release|1974}}- Expected output: that was released in 1974
- Actual output: released in 1974
- 2015 -
{{release|2015}}- Expected output: that was released in 2015
- Actual output: released in 2015
- 2016 -
{{release|2016}}- Expected output: that was released in 2016
- Actual output: released in 2016
- 2019 -
{{release|2019}}- Expected output: to be released in 2019
- Actual output: released in 2019