Template:Java JEP/doc: Difference between revisions

Content deleted Content added
Expand templatedata
update templatedata and examples
Line 4:
 
== Usage ==
| <nowiki>{{tlx|Java JEP|420|A cool JEP}}</nowiki> | {{Java JEP|420|A cool JEP}}
{{Markup
| <nowiki>{{Java JEP|420|A cool JEP}}</nowiki> | {{Java JEP|420|A cool JEP}}
| <nowiki>{{Java JEP|420|A cool JEP|incubator=4}}</nowiki> | {{Java JEP|420|A cool JEP|incubator=4}}
| <nowiki>{{Java JEP|420|A cool JEP|preview=1}}</nowiki> | {{Java JEP|420|A cool JEP|preview=1}}
}}
 
== Template data ==
Line 20 ⟶ 16:
"example": "352",
"type": "number",
"required": true,
"aliases": [
"num",
"jep",
"JEP"
]
},
"2": {
Line 32 ⟶ 23:
"example": "Migrate from Mercurial to Git",
"type": "string",
"required": true,
"aliases": [
"title",
"name"
]
},
"incubator": {
"aliases": [
"i"
],
"label": "Incubation number",
"description": "The number of the incubation phase of the proposal",
"example": "2",
"type": "number",
"suggested": true
},
"preview": {
"aliases": [
"p"
],
"label": "Preview number",
"description": "The number of the preview phase of the proposal",
"example": "1",
"type": "number",
"suggested": true
}
},
Line 62 ⟶ 29:
"paramOrder": [
"1",
"2",
"incubator",
"preview"
],
"format": "inline",