Changes
Jump to navigation
Jump to search
← Older edit
Template:Dl2
(edit)
Revision as of 21:58, 22 September 2021
236 bytes added
,
21:58, 22 September 2021
polish; improve docs
Line 1:
Line 1:
−
{{#ifexpr: {{#sub:{{{1}}}|0|1}} >= 3 | [[gh-codeload:checkpoint-restore/criu/tar.gz/refs/tags/v{{{1}}} | criu-{{{1}}}.tar.gz]] | [[dl:criu/criu-{{{1}}}.tar.bz2|criu-{{{1}}}.tar.bz2]] }}<noinclude>
+
<includeonly>
{{#ifexpr: {{#sub:{{{1}}}|0|1}} >= 3 | [[gh-codeload:checkpoint-restore/criu/tar.gz/refs/tags/v{{{1}}} | criu-{{{1}}}.tar.gz]] | [[dl:criu/criu-{{{1}}}.tar.bz2|criu-{{{1}}}.tar.bz2]] }}
</includeonly>
<noinclude>
This produces a download link for a given version.
This produces a download link for a given version.
+
* for releases < 3, it links to download.openvz.org (interwiki <code>dl:</code>), and uses tar.bz2.
+
* for releases >= 3, it links to codeload.github.org (interwiki <code>gh-codeload:</code>), and uses tar.gz.
== Examples ==
== Examples ==
Kir
Bureaucrats
,
Administrators
1,067
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Template
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ