Template:Release/doc
From Brickipedia, the LEGO Wiki
A template for automatically changing the grammar tense.
Syntax[edit source]
{{release|year|month number w/o zero (optional)|day number w/o zero (optional}}
Example[edit source]
'''40155 Piggy Bank''' is a set {{release|2015}}.
40155 Piggy Bank is a set released in 2015.
Sample test cases[edit source]
Years[edit source]
- 1974 -
{{release|1974}}
- Expected output: released in 1974
- Actual output: released in 1974
- 2015 -
{{release|2015}}
- Expected output: released in 2015
- Actual output: released in 2015
- 2024 -
{{release|{{CURRENTYEAR}}}}
- Expected output: to be released in 2024
- Actual output: to be released in 2024
- 2080 -
{{release|2080}}
- Expected output: to be released in 2080
- Actual output: to be released in 2080
Year and months[edit source]
- February 2015 -
{{release|2015|2}}
- January 2016 -
{{release|2016|1}}
- October 2016 -
{{release|2016|10}}