匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“模板:EcosystemRelease/Revision”的源代码
来自百问网嵌入式Linux wiki
名字空间
模板
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
模板:EcosystemRelease/Revision
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<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 ecosystem release. ** '''2.0.0''' (June 2020 ecosystem release revision). ** '''2.1.0''' (November 2020 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. 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. ==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}} |} ==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|}}} | 0.y.0 | 1.0.0 | 1.1.0 | 1.2.0 = former | x.0.0 = legacy | x.1.0 | 2.0.0 = latest | x.2.0 | 2.1.0 = next | latest = 2.0.0 | #default = unknown }}
该页面使用的模板:
模板:EcosystemRelease/Revision
(
查看源代码
)
模板:HighlightParam
(
查看源代码
)
模板:UpdateNeededForNewRelease
(
查看源代码
)
返回至
模板:EcosystemRelease/Revision
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志