Template:Release date infobox/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} {{tsh|Rdi}} __NOTOC__ This template or it's shortcut {{tl|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 {{para|type|RP}}, and for Re-Releases, put {{para|type|RR}}. The {{para|type}} parameter can be only {{code|1}} value. If there is anothe...")
 
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 3: Line 3:
__NOTOC__
__NOTOC__


This template or it's shortcut {{tl|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 {{para|type|RP}}, and for Re-Releases, put {{para|type|RR}}. The {{para|type}} parameter can be only {{code|1}} value. If there is another Edition with a seperate release date use the {{para|other}} parameter followed by the date.
This template or it's shortcut {{tl|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 {{para|type|RP}}; for Re-Releases, put {{para|type|RR}}; and for Resale, put {{para|type|RS}}. The {{para|type}} parameter can be only {{code|1}} value. If there is another Edition with a seperate release date use the {{para|other}} parameter followed by the date. Text can be added in front of the release date using {{para|text}}.


== Usages ==
== Usages ==
* {{tj|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}}
* {{tj|Release date infobox|Year|Month|Day|type: LE, RP, RR, or RS|Year of Limited Edition/Reprint/Re-Release/Resale|Month of Limited Edition/Reprint/Re-Release/Resale|Day of Limited Edition/Reprint/Re-Release/Resale|other:|Year of Other|Month of Other|Day of Other|Text:}}


: Using the {{tl|Rdi}} shortcut
: Using the {{tl|Rdi}} shortcut
* {{tj|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}}
* {{tj|rdi|Year|Month|Day|type: LE, RP, RR, or Resale|Year of Limited Edition/Reprint/Re-Release/Resale|Month of Limited Edition/Reprint/Re-Release/Resale|Day of Limited Edition/Reprint/Re-Release/Resale|other:|Year of Other|Month of Other|Day of Other|Text:}}


== Examples ==
== Examples ==
Line 25: Line 25:
|-
|-
| {{tlc|rdi|1999|01|12|type {{=}} RR|2005|05|15|other {{=}} Classic Edition|2010|05|16}} || {{rdi|1999|01|12|type = RR|2005|05|15|other = Classic Edition|2010|05|16}}
| {{tlc|rdi|1999|01|12|type {{=}} RR|2005|05|15|other {{=}} Classic Edition|2010|05|16}} || {{rdi|1999|01|12|type = RR|2005|05|15|other = Classic Edition|2010|05|16}}
|-
| {{tlc|rdi|2023|04|26|other {{=}} Episode 02|2023|10|19|text {{=}} Episode 01}} || {{rdi|2023|04|26|other = Episode 02|2023|10|19|text = Episode 01}}
|}
|}


Line 38: Line 40:
"example":"2023",
"example":"2023",
"default": "----",
"default": "----",
"required": true
"suggested": true,
"required": false
},
},
"2": {
"2": {
Line 46: Line 49:
"example": "07",
"example": "07",
"default": "--",
"default": "--",
"suggested": true,
"required": false
"required": false
},
},
Line 54: Line 58:
"example": "23",
"example": "23",
"default": "--",
"default": "--",
"suggested": true,
"required": false
"required": false
},
},
"type": {
"type": {
"label": "Type",
"label": "Type",
"description": "If there is a Reprint or Re-Release of the CD.",
"description": "If there is a Limited Edition (with a different release date), Reprint, or Re-Release of the CD.",
"type": "string",
"type": "string",
"suggestedvalues": [ "LE", "RP", "RR" ],
"suggestedvalues": [ "LE", "RP", "RR", "RS" ],
"aliases": [ "Type" ],
"required": false
"required": false
},
},
Line 89: Line 95:
"type": "string",
"type": "string",
"example": "Classic Edition",
"example": "Classic Edition",
"aliases": [ "Other" ],
"required": false
"required": false
},
},
Line 113: Line 120:
"default": "--",
"default": "--",
"aliases": [ "6" ],
"aliases": [ "6" ],
"required": false
},
"text": {
"label": "Text",
"description": "To add text in front of the release date.",
"type": "string",
"aliases": [ "Text" ],
"required": false
"required": false
}
}
Line 123: Line 137:


<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Templates]]
[[Category:Infobox formatting templates]]
[[Category:Infobox formatting templates]]
}}}}</includeonly>
}}}}</includeonly>

Latest revision as of 06:10, 16 January 2024

Light bulb.png }}
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 |type=LE; for Reprints, put |type=RP; for Re-Releases, put |type=RR; and for Resale, put |type=RS. 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. Text can be added in front of the release date using |text=.

Usages

  • {{Release date infobox
    | Year
    | Month
    | Day
    | type = LE, RP, RR, or RS
    | Year of Limited Edition/Reprint/Re-Release/Resale
    | Month of Limited Edition/Reprint/Re-Release/Resale
    | Day of Limited Edition/Reprint/Re-Release/Resale
    | other =
    | Year of Other
    | Month of Other
    | Day of Other
    | Text =
    }}
Using the {{Rdi}} shortcut
  • {{rdi
    | Year
    | Month
    | Day
    | type = LE, RP, RR, or Resale
    | Year of Limited Edition/Reprint/Re-Release/Resale
    | Month of Limited Edition/Reprint/Re-Release/Resale
    | Day of Limited Edition/Reprint/Re-Release/Resale
    | other =
    | Year of Other
    | Month of Other
    | Day of Other
    | Text =
    }}

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
{{rdi|2023|04|26|other = Episode 02|2023|10|19|text = Episode 01}} Episode 01: 2023/04/26
Episode 02: 2023/10/19

TemplateData

To format the release date in CD infoboxes.

Template parameters

ParameterDescriptionTypeStatus
Year1

The year the CD was originally released.

Default
----
Example
2023
Stringsuggested
Month2

The month the CD was originally released.

Default
--
Example
07
Stringsuggested
Day3

The day the CD was originally released.

Default
--
Example
23
Stringsuggested
Typetype Type

If there is a Limited Edition (with a different release date), Reprint, or Re-Release of the CD.

Suggested values
LE RP RR RS
Stringoptional
Year4

The year of the reprint or re-release of the CD.

Default
----
Stringoptional
Month5

The month of the reprint or re-release of the CD.

Default
--
Stringoptional
Day6

The day of the reprint or re-release of the CD.

Default
--
Stringoptional
Otherother Other

If there is some other edition with a seperate release date.

Example
Classic Edition
Stringoptional
Year7 4

The year of the other edition.

Default
----
Stringoptional
Month8 5

The month of the other edition.

Default
--
Stringoptional
Day9 6

The day of the other edition.

Default
--
Stringoptional
Texttext Text

To add text in front of the release date.

Stringoptional