Difference between revisions of "Template:Release"

From CRIU
Jump to navigation Jump to search
(add codename)
(use template:release date)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable"
+
<includeonly>{| border="0"
 
| align="right" | Tarball:  || {{dl|{{{1}}}}}
 
| align="right" | Tarball:  || {{dl|{{{1}}}}}
 
|-
 
|-
| align="right" | Version: || {{1}} {{3}}
+
| align="right" | Version: || {{criu|{{{1}}}}}
 
|-
 
|-
| align="right" |Released: || {{{2}}}
+
| align="right" | Released: || {{Release date|{{{1}}}}}
 
|-
 
|-
| align="right" |Changes:  || {{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 can have 2 or 3 positional parameters.
+
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|Marble lark}}</nowiki></code> || {{Release|2.4|11 Jul 2016|Marble lark}}
+
| <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