Template:Infobox Java version: Difference between revisions

Content deleted Content added
Created page with '{{Infobox | name = {{{version name|{{PAGENAME}}}}} | subheader = {{#ifeq: {{{lts|}}} | yes | '''LTS version''' }} | label1 = Codename | dat...'
 
m added wikilink for abbreviation
 
(13 intermediate revisions by 3 users not shown)
Line 1:
{{Infobox
| nametitle = {{{version name|{{{name|{{PAGENAME}}}}}}}}
| subheader = {{#ifeq: {{{lts|}}} | yes | '''[[Long-term support|LTS]] version''' }}
 
| label1 = [[Project codename|Codename]]
| data1 = {{{codename|}}}
 
| label2 = ReleasedReleas{{#if: {{{unreleased|}}}|ing|ed}}
| data2 = {{{released|}}}
 
| label3 = {{Abbr|#|Number}} of [[JDK Enhancement Proposal | JEP]]<nowiki>s</nowiki>
| label3 = [[End-of-life product|End of support]]
| data3 = {{{support_endedjeps|}}}
 
| header4 = {{#if: {{{features|}}}{{{previews|}}}{{{incubating|}}} | Addition(s) }}
| label4 = {{Abbr}} of JEPS
| data4 = {{{jeps}}}
 
| label5 = Notable
}}
| data5 = {{{features|}}}
<noinclude>
 
<templatedata>
| label6 = Preview(s)
{
| data6 = {{{previews|}}}
"params": {
 
"version name": {
| label7 = Incubating
"aliases": [
| data7 = {{{incubating|}}}
"name"
 
],
| header8 = {{#if: {{{removed|}}} | Removal(s) }}
"label": "Version name",
 
"description": "Full abbreviated name",
| label9 = Notable
"example": "e.g. Java SE 17, J2SE 1.2",
| data4data9 = {{{jepsremoved|}}}
"type": "string",
 
"required": true
| header10 = {{#if: {{{public_support_ended|{{{public_death|}}}}}}{{{paid_support_ended|{{{paid_death|}}}}}} | Support end{{#if: {{{unreleased|}}}{{{supported|}}}|s|ed}} }}
},
 
"lts": {
| label11 = Public
"label": "Is LTS?",
| data11 = {{{public_support_ended|{{{public_death|}}}}}}
"description": "yes if this Java version is a long-term-support version",
 
"example": "yes",
| label12 = Paid
"type": "boolean",
| data12 = {{{paid_support_ended|{{{paid_death|}}}}}}
"default": "yes"
}}<noinclude>
},
"codename": {
"aliases": [
"nickname"
],
"label": "Version codename",
"description": "Codename of the Java version",
"example": "Tiger",
"type": "string"
},
"released": {
"label": "Release date",
"description": "Date when the Java version was released, or is expected to release.",
"example": "{{Start date and age|1999|04|26}} or {{Date|2022}}",
"type": "date",
"suggested": true
},
"support_ended": {
"aliases": [
"eol",
"death"
],
"label": "Support ended",
"description": "When the Java version is no longer (or will no longer be) supported by Oracle or other vendors.",
"example": "{{Date|2005|01|01}}",
"type": "date"
},
"jeps": {
"aliases": [
"num_jeps"
],
"label": "Number of JEPs",
"description": "The number of Java Enhancement Proposals",
"type": "number"
}
},
"description": "Small infobox for use in [[Java version history]] to give a brief summary each version.",
"format": "block"
}
</templatedata>
{{Documentation}}
</noinclude>