Difference between revisions of "Template:EcosystemRelease/Revision"

[quality revision] [quality revision]
m
m
 

1 Usage[edit]

The EcosystemRelease/Revision template returns the status for an ecosystem release revision in the flow associated with this wiki (e.g. v1.y.z ,or v2.y.z, or...), or the revision (x.y.z) of the latest ecosystem release.

Usage: {{EcosystemRelease/Revision | revision=<revision>}}

Where:

  • <revision> is the mandatory revision of the ecosystem release for which a status is requested. The possible values are:
    • latest to get the revision (x.y.z) of the latest major ecosystem release.
    • 4.0.0 (June 2022 major ecosystem release revision).
    • 4.0.2 (July 2022 minor ecosystem release revision).
    • 4.1.0 (Nov 2022 major ecosystem release revision).
    • x.0.0, x.1.0, x.2.0 and 0.y.0 values are reserved to the examples and the helper files.
    • 2.0.0 (June 2020 major ecosystem release revision) : possible but not recommended
    • 2.1.0 (November 2020 major ecosystem release revision) : possible but not recommended
    • 3.0.0 (March 2021 major ecosystem release revision): possible but not recommended
    • 3.1.0 (November 2021 major ecosystem release revision): possible but not recommended

The returned value is:

  • x.y.z (revision of the latest ecosystem release), if <revision> is set to latest.
  • latest, if <revision> is the latest one, in the flow associated with this wiki.
  • legacy, if <revision> is a legacy one, in the flow associated with this wiki.
  • next, if <revision> is a planned one, in the flow associated with this wiki.
  • former, if <revision> is part of a former flow that is not the one associated with this wiki.
  • unknown, if <revision> is not supported.

E.g.,

  • During At 3.1.0 preparation deployment : next is : none, legacy: 3.0.0, latest: 3.1.0, legacy is former: 1.x.y, 2.x.y
  • During 3.1.0 preparation: next: 3.1.0, legacy: none, latest is : 3.0.0, former: 1.x.y, 2.x.y.
  • During 3.0.0 preparation : next deployed (initial situation): next: none, legacy legacy: none, latest latest: 3.0.0, former: 1.x.y, 2.x.y.

2 Basic examples[edit]

You type You get
vx.0.0 revision (legacy)
{{EcosystemRelease/Revision | revision=x.0.0}}

legacy

Revision (x.y.z) of the latest ecosystem release
{{EcosystemRelease/Revision | revision=latest}}

4.1.0

Revision (x.y.z) of the 4.0.0 ecosystem release (latest)
{{EcosystemRelease/Revision | revision=4.0.0}}

legacy

Revision (x.y.z) of the 4.1.0 ecosystem release (next)

{{EcosystemRelease/Revision | revision=4.1.0}}

latest

3 More examples[edit]

You type You get
vx.2.0 revision (next)
{{EcosystemRelease/Revision | revision=x.2.0}}

next

vx.1.0 revision (latest)
{{EcosystemRelease/Revision | revision=x.1.0}}

latest

v0.y.0 revision (former)
{{EcosystemRelease/Revision | revision=0.y.0}}

former

Unknown revision
{{EcosystemRelease/Revision | revision=10.20.30}}

unknown

Unspecified revision
{{EcosystemRelease/Revision}}

unknown

4 Code[edit]

unknown

<noinclude>

==Usage==
The [[Template:EcosystemRelease/Revision|EcosystemRelease/Revision]] template returns '''the status for an ecosystem release revision''' in the flow associated with this wiki (e.g. v1.y.z ,or v2.y.z, or...), or '''the revision (''x.y.z'') of the latest ecosystem release'''.

 Usage: <nowiki>{{</nowiki>EcosystemRelease/Revision | revision={{HighlightParam|<revision>}}}}
Where:

* {{HighlightParam|<revision>}} is the '''mandatory''' revision of the ecosystem release for which a status is requested. The possible values are:
** '''latest''' to get the revision (''x.y.z'') of the latest major ecosystem release.
** '''4.0.0'''  (June 2022 major ecosystem release revision).
** '''4.0.2'''  (July 2022 minor ecosystem release revision).
** '''4.1.0'''  (Nov 2022 major ecosystem release revision).
** x.0.0, x.1.0, x.2.0 and 0.y.0 values are reserved to the examples and the helper files.
** '''2.0.0''' (June 2020 major ecosystem release revision) : '''possible but not recommended''' 
** '''2.1.0''' (November 2020 major ecosystem release revision) : '''possible but not recommended''' 
** '''3.0.0''' (March 2021 major ecosystem release revision): '''possible but not recommended''' 
** '''3.1.0''' (November 2021 major ecosystem release revision): '''possible but not recommended''' 

The returned value is:
* '''''x.y.z''''' (revision of the latest ecosystem release), if {{HighlightParam|<revision>}} is set to '''latest'''.
* '''latest''', if {{HighlightParam|<revision>}} is the latest one, in the flow associated with this wiki.
* '''legacy''', if {{HighlightParam|<revision>}} is a legacy one, in the flow associated with this wiki.
* '''next''', if {{HighlightParam|<revision>}} is a planned one, in the flow associated with this wiki.
* '''former''', if {{HighlightParam|<revision>}} is part of a former flow that is not the one associated with this wiki.
* '''unknown''', if {{HighlightParam|<revision>}} is not supported.

E.g. 

*During ,
* At 3.1.0 preparationdeployment : next is 3.1.0, legacy is 3.0.0, latest  is: none, legacy: 3.0.0, latest: 3.1.0, former: 1.x.y, 2.x.y
* During 3.1.0 preparation: next: 3.1.0, legacy: none, latest: 3.0.0, former: 1.x.y, 2.x.y.
*During 3.0.0 preparation : next : none,  legacy :none, latest :deployed (initial situation): next: none,  legacy: none, latest: 3.0.0, former: 1.x.y, 2.x.y.

==Basic examples==
{| class="st-table"
! style="width: 50%;" | You type !! You get
|-
| vx.0.0 revision (legacy)<pre style="white-space: pre-wrap;">

{{EcosystemRelease/Revision | revision=x.0.0}}</pre>

|
{{EcosystemRelease/Revision | revision=x.0.0}}
|-
| Revision (''x.y.z'') of the latest ecosystem release<pre style="white-space: pre-wrap;">

{{EcosystemRelease/Revision | revision=latest}}</pre>

|
{{EcosystemRelease/Revision | revision=latest}}
|-
| Revision (''x.y.z'') of the 4.0.0 ecosystem release (latest)<pre style="white-space: pre-wrap;">

{{EcosystemRelease/Revision | revision=4.0.0}}</pre>

|
{{EcosystemRelease/Revision | revision=4.0.0}}
|}

==-
| Revision (''x.y.z'') of the 4.1.0 ecosystem release (next)<pre style="white-space: pre-wrap;">

{{EcosystemRelease/Revision | revision=4.1.0}}</pre>

|
{{EcosystemRelease/Revision | revision=4.1.0}}
|}

==More examples==
{| class="st-table"
! style="width: 50%;" | You type !! You get
|-
| vx.2.0 revision (next)<pre style="white-space: pre-wrap;">

{{EcosystemRelease/Revision | revision=x.2.0}}</pre>

|
{{EcosystemRelease/Revision | revision=x.2.0}}
|-
| vx.1.0 revision (latest)<pre style="white-space: pre-wrap;">

{{EcosystemRelease/Revision | revision=x.1.0}}</pre>

|
{{EcosystemRelease/Revision | revision=x.1.0}}
|-
| v0.y.0 revision (former)<pre style="white-space: pre-wrap;">

{{EcosystemRelease/Revision | revision=0.y.0}}</pre>

|
{{EcosystemRelease/Revision | revision=0.y.0}}
|-
| Unknown revision<pre style="white-space: pre-wrap;">

{{EcosystemRelease/Revision | revision=10.20.30}}</pre>

|
{{EcosystemRelease/Revision | revision=10.20.30}}
|-
| Unspecified revision<pre style="white-space: pre-wrap;">

{{EcosystemRelease/Revision}}</pre>

|
{{EcosystemRelease/Revision}}
|}

==Code==
{{UpdateNeededForNewRelease|Add the new revision of the ecosystem release in the code below and in the list of the possible values above}}</noinclude>{{#switch: {{{revision|}}}
| x.0.y.0 | 14.0.0 | 1.1.4.0 | 1.2.0 | 2.0.0 | 2.1.0 | 3.0.0 | 3.1.0 = former 
| x.0.0 = legacy 
| x.1.0 | 4.0.0 = latest
| x.2.0 = next
| latest = 4.0.0
| #default = unknown   = legacy 
| x.1.0 | 4.1.0 = latest
| x.2.0 | 4.1.x  = next
| latest = 4.1.0
| 0.y.0 | 1.0.0 | 1.1.0 | 1.2.0 | 2.0.0 | 2.1.0 | 3.0.0 | 3.1.0 = former 
| #default = unknown}}
(11 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
** '''4.0.0'''  (June 2022 major ecosystem release revision).
 
** '''4.0.0'''  (June 2022 major ecosystem release revision).
 
** '''4.0.2'''  (July 2022 minor ecosystem release revision).
 
** '''4.0.2'''  (July 2022 minor ecosystem release revision).
  +
** '''4.1.0'''  (Nov 2022 major ecosystem release revision).
 
** x.0.0, x.1.0, x.2.0 and 0.y.0 values are reserved to the examples and the helper files.
 
** x.0.0, x.1.0, x.2.0 and 0.y.0 values are reserved to the examples and the helper files.
** '''2.0.0''' (June 2020 ecosystem release revision) : '''possible but not recommended'''  
+
** '''2.0.0''' (June 2020 major ecosystem release revision) : '''possible but not recommended'''  
** '''2.1.0''' (November 2020 ecosystem release revision) : '''possible but not recommended'''  
+
** '''2.1.0''' (November 2020 major ecosystem release revision) : '''possible but not recommended'''  
** '''3.0.0''' (March 2021 ecosystem release revision): '''possible but not recommended'''  
+
** '''3.0.0''' (March 2021 major ecosystem release revision): '''possible but not recommended'''  
** '''3.1.0''' (November 2021 ecosystem release revision): '''possible but not recommended'''  
+
** '''3.1.0''' (November 2021 major ecosystem release revision): '''possible but not recommended'''  
   
 
The returned value is:
 
The returned value is:
Line 24: Line 25:
 
* '''unknown''', if {{HighlightParam|<revision>}} is not supported.
 
* '''unknown''', if {{HighlightParam|<revision>}} is not supported.
   
E.g.  
+
E.g.,
*During 3.1.0 preparation : next is 3.1.0, legacy is 3.0.0, latest is 3.0.0, former 1.x.y, 2.x.y.
+
* At 3.1.0 deployment : next: none, legacy: 3.0.0, latest: 3.1.0, former: 1.x.y, 2.x.y
*During 3.0.0 preparation : next : none,  legacy :none, latest :3.0.0, former 1.x.y, 2.x.y.
+
* During 3.1.0 preparation: next: 3.1.0, legacy: none, latest: 3.0.0, former: 1.x.y, 2.x.y.
  +
* 3.0.0 deployed (initial situation): next: none,  legacy: none, latest: 3.0.0, former: 1.x.y, 2.x.y.
   
 
==Basic examples==
 
==Basic examples==
Line 52: Line 54:
 
|
 
|
 
{{EcosystemRelease/Revision | revision=4.0.0}}
 
{{EcosystemRelease/Revision | revision=4.0.0}}
  +
|-
  +
| Revision (''x.y.z'') of the 4.1.0 ecosystem release (next)
  +
<pre style="white-space: pre-wrap;">
  +
{{EcosystemRelease/Revision | revision=4.1.0}}
  +
</pre>
  +
|
  +
{{EcosystemRelease/Revision | revision=4.1.0}}
 
|}
 
|}
   
Line 97: Line 106:
 
{{UpdateNeededForNewRelease|Add the new revision of the ecosystem release in the code below and in the list of the possible values above}}
 
{{UpdateNeededForNewRelease|Add the new revision of the ecosystem release in the code below and in the list of the possible values above}}
 
</noinclude>{{#switch: {{{revision|}}}
 
</noinclude>{{#switch: {{{revision|}}}
  +
| x.0.0 | 4.0.0 | 4.0.2  = legacy
  +
| x.1.0 | 4.1.0 = latest
  +
| x.2.0 | 4.1.x  = next
  +
| latest = 4.1.0
 
| 0.y.0 | 1.0.0 | 1.1.0 | 1.2.0 | 2.0.0 | 2.1.0 | 3.0.0 | 3.1.0 = former  
 
| 0.y.0 | 1.0.0 | 1.1.0 | 1.2.0 | 2.0.0 | 2.1.0 | 3.0.0 | 3.1.0 = former  
| x.0.0 = legacy
+
| #default = unknown
| x.1.0 | 4.0.0 = latest
 
| x.2.0 = next
 
| latest = 4.0.0
 
| #default = unknown  
 
 
}}
 
}}