Difference between revisions of "Template:Latest or old"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(fixed and generalized to be used with tools (vzctl/vzquota) downloads as well)
(Examples: give more examples)
Line 9: Line 9:
  
 
=== Examples ===
 
=== Examples ===
<pre><nowiki>{{Latest or old|2.6.24 kernel|2.6.24-ovz002.2}}</nowiki></pre>
+
{|
 +
! Code ! Results
 +
|-
 +
|<pre><nowiki>{{Latest or old|2.6.24 kernel|2.6.24-ovz002.2}}</nowiki></pre>
 +
|{{Latest or old|2.6.24 kernel|2.6.24-ovz002.2}}
 +
|-
 +
|<pre><nowiki>{{Latest or old|2.6.24 kernel|2.6.24-ovz001}}</nowiki></pre>
 +
|{{Latest or old|2.6.24 kernel|2.6.24-ovz001}}
 +
|}
  
 
</noinclude>
 
</noinclude>

Revision as of 14:43, 18 March 2008

Warning.svg Warning: this is an old version of {{{1}}}. For the latest version, see [[Download/{{{1}}}/{{{2}}}]].

Usage

{{Latest or old|package|branch|version}}
  • package can be: kernel, vzctl etc.
  • branch is optional, used for kernel, can be 2.6.24 etc.
  • version can be: 3.0.11 2.6.24-ovz002.2. Corresponds to Template:Latest branch package .

Examples

Code ! Results
{{Latest or old|2.6.24 kernel|2.6.24-ovz002.2}}
Warning.svg Warning: this is an old version of 2.6.24-ovz002.2 2.6.24 kernel. For the latest version, see [[Download/2.6.24 kernel/2.6.24-ovz002.2/Template:Latest 2.6.24-ovz002.2 2.6.24 kernel]].
{{Latest or old|2.6.24 kernel|2.6.24-ovz001}}
Warning.svg Warning: this is an old version of 2.6.24-ovz001 2.6.24 kernel. For the latest version, see [[Download/2.6.24 kernel/2.6.24-ovz001/Template:Latest 2.6.24-ovz001 2.6.24 kernel]].