Template:Infobox Java version: Difference between revisions
m fixing if statement |
m added wikilink for abbreviation |
||
Line 9: | Line 9: | ||
| data2 = {{{released|}}} |
| data2 = {{{released|}}} |
||
| label3 = {{Abbr|#|Number}} of |
| label3 = {{Abbr|#|Number}} of [[JDK Enhancement Proposal | JEP]]<nowiki>s</nowiki> |
||
| data3 = {{{jeps|}}} |
| data3 = {{{jeps|}}} |
||
Latest revision as of 16:27, 12 July 2024
Creates an infobox for placing alongside a Java version.
Usage
[edit]Released | {{{released}}} |
---|---|
# of JEPs | {{{jeps}}} |
Addition(s) | |
Notable | {{{features}}} |
Preview(s) | {{{previews}}} |
Incubating | {{{incubating}}} |
Removal(s) | |
Notable | {{{removed}}} |
Support ends | |
Public | {{{public_support_ended}}} |
Paid | {{{paid_support_ended}}} |
{{Infobox java version
| version name / name =
| lts =
| codename =
| released =
| supported =
| public_support_ended / public_death =
| paid_support_ended / paid_death =
| jeps =
| features =
| removed =
| previews =
| incubating =
}}
Template data
[edit]TemplateData for Infobox Java version
Small infobox for use in Java version history to give a brief summary each version.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Version name | version name name | Full abbreviated name
| String | required |
Is LTS? | lts | yes if this Java version is a long-term-support version
| Boolean | optional |
Release date | released | Date when the Java version was released, or is expected to release.
| Date | required |
Number of JEPs | jeps num_jeps | The number of Java Enhancement Proposals | Number | suggested |
Public support ended | public_support_ended public_death | Date of when public support and security updates ended.
| Date | optional |
Paid support ended | paid_support_ended paid_death | Date of when paid support and security updates ended.
| Date | optional |
Notable features | features feats | Notable additions to the Java language or platform
| Unknown | suggested |
Notable removals | removed deprecated | Notable removals of the Java language or platform
| Unknown | suggested |
Preview JEPs | previews | List of previewed language features | Unknown | suggested |
Incubating features | incubating | List of incubating features | Unknown | suggested |
Version codename | codename nickname | Codename of the Java version
| String | optional |
Upcoming? | unreleased | Set this parameter if the Java version is an upcoming release.
| String | optional |
Version still supported? | supported | Is this version of Java still supported (whether paid or publicly)? Declare 'yes' if it is (so the 'support ended' header will be shown as 'support ends' instead), otherwise leave blank
| Unknown | suggested |