Template:Release calendar/format
Usage
These usage notes will not be included in articles bearing this template.
This template is for use with the Release calendar. In a given day within a month template, replace the entire line with the call to this template, and the result is a cell formatted properly for the release calendar monthly tables. All four parameters are required. Each parameter may be named, or inherently named by the order it is passed into the template.
Examples
The following two boxes produce the same code:
{{Release calendar/format|Major|2003|12|13}}
{{Release calendar/format|type=major|year=2003|month=12|day=13}}
The code produced is: !style="border: 1px solid #FE5E14; color: #000; background-color: #FFCCCC;"|13
. When placed correctly in a monthly calendar, this provides a colored formatted box with the correct link.
Parameters
Note: All parameters must be named, or all parameters must be unnamed.
- type First parameter, if unnamed. Must be one of "major", "minor", "ice", or "majorice". Case insensitive.
- year Second parameter, if unnamed. The year of the given release.
- month Third parameter, if unnamed. The month of the given release. Must be two digits, lead with an extra 0 if necessary.
- day Fourth parameter, if unnamed. The day of the given release. Must be two digits, lead with an extra 0 if necessary.
- alt_link Optional. Fifth parameter, if unnamed. If the default link does not point to the right place, manually substitute the link here. Useful for named Ice releases.