Template:Release date infobox/doc
It contains usage information, categories and other content that is not part of the original template page.
|
This template or it's shortcut {{Rdi}} is used to format the release date in CD infoboxes. If you do not know the year, month, or day of the release leave it blank and a default value of dashes will be put in automatically. For Limited Editions, put ((para|type|LE)), for Reprints, put |type=RP
, and for Re-Releases, put |type=RR
. The |type=
parameter can be only 1
value. If there is another Edition with a seperate release date use the |other=
parameter followed by the date.
Usages
- {{Release date infobox
| Year
| Month
| Day
| type = LE, RP, or RR
| Year of Limited Edition/Reprint/Re-Release
| Month of Limited Edition/Reprint/Re-Release
| Day of Limited Edition/Reprint/Re-Release
| other =
| Year of Other
| Month of Other
| Day of Other
}}
- Using the {{Rdi}} shortcut
- {{rdi
| Year
| Month
| Day
| type = LE, RP, or RR
| Year of Limited Edition/Reprint/Re-Release
| Month of Limited Edition/Reprint/Re-Release
| Day of Limited Edition/Reprint/Re-Release
| other =
| Year of Other
| Month of Other
| Day of Other
}}
Examples
Input | Output |
---|---|
{{Release date infobox|2023|07|23}} |
2023/07/23 |
{{Release date infobox|2022|07|23|type = LE|2023|07|23}} |
Limited Edition: 2023/07/23 Regular Edition: 2022/07/23 |
{{Release date infobox|2010|01|12|type = RP|2023|07|23}} |
2010/01/12 Reprint: 2023/07/23 |
{{rdi|1999|01|12|other = Classic Edition|2010|05|16}} |
1999/01/12 Classic Edition: 2010/05/16 |
{{rdi|1999|01|12|type = RR|2005|05|15|other = Classic Edition|2010|05|16}} |
1999/01/12 Re-Release: 2005/05/15 Classic Edition: 2010/05/16 |
TemplateData
To format the release date in CD infoboxes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Year | 1 | The year the CD was originally released.
| String | suggested |
Month | 2 | The month the CD was originally released.
| String | suggested |
Day | 3 | The day the CD was originally released.
| String | suggested |
Type | type | If there is a Limited Edition (with a different release date), Reprint, or Re-Release of the CD.
| String | optional |
Year | 4 | The year of the reprint or re-release of the CD.
| String | optional |
Month | 5 | The month of the reprint or re-release of the CD.
| String | optional |
Day | 6 | The day of the reprint or re-release of the CD.
| String | optional |
Other | other | If there is some other edition with a seperate release date.
| String | optional |
Year | 7 4 | The year of the other edition.
| String | optional |
Month | 8 5 | The month of the other edition.
| String | optional |
Day | 9 6 | The day of the other edition.
| String | optional |