Difference between revisions of "Template:Release"

From CRIU
Jump to: navigation, search
(fix param description)
(use template:release date)
 
Line 4: Line 4:
 
| align="right" | Version:  || {{criu|{{{1}}}}}
 
| align="right" | Version:  || {{criu|{{{1}}}}}
 
|-
 
|-
| align="right" | Released: || {{{2}}}
+
| align="right" | Released: || {{Release date|{{{1}}}}}
 
|-
 
|-
 
| align="right" | GIT tag:  || {{git release|v{{{1}}}}}
 
| align="right" | GIT tag:  || {{git release|v{{{1}}}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
  
This template is used to provide basic information about a CRIU release, and have 2 positional parameters -- version and release date.
+
This template is used to provide basic information about a CRIU release. It relies on a number
 +
of other templates for getting information about a specific release, in particular
 +
[[Template:Codename]] and [[Template:Release date]].
  
 
== Examples ==
 
== Examples ==
Line 16: Line 18:
 
! Wiki code !! Result
 
! Wiki code !! Result
 
|-
 
|-
| <code><nowiki>{{Release|1.0|25 Nov 2013}}</nowiki></code> || {{Release|1.0|25 Nov 2013}}
+
| <code><nowiki>{{Release|1.0}}</nowiki></code> || {{Release|1.0}}
 
|-
 
|-
| <code><nowiki>{{Release|2.4|11 Jul 2016}}</nowiki></code> || {{Release|2.4|11 Jul 2016}}
+
| <code><nowiki>{{Release|2.4}}</nowiki></code> || {{Release|2.4}}
 
|-
 
|-
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 19:48, 8 March 2017


This template is used to provide basic information about a CRIU release. It relies on a number of other templates for getting information about a specific release, in particular Template:Codename and Template:Release date.

Examples[edit]

Wiki code Result
{{Release|1.0}}
Tarball: criu-1.0.tar.bz2
Version: 1.0
Released: 25 Nov 2013
GIT tag: v1.0
{{Release|2.4}}
Tarball: criu-2.4.tar.bz2
Version: 2.4 "Marble Lark"
Released: 11 Jul 2016
GIT tag: v2.4