Difference between revisions of "Template:Latest or old"
(removed old kernel warning for now) |
(fixed and generalized to be used with tools (vzctl/vzquota) downloads as well) |
||
Line 1: | Line 1: | ||
− | {{ #ifeq:{{Latest | + | {{#ifeq:{{Latest {{{2}}} {{{1}}}}}|{{{3}}}|Below are change log and downloads for latest version of {{{1}}} {{{2}}}.|{{Warning old version|{{{1}}}|{{{1}}}{{#if:{{{2}}}|/{{{2}}}}}}}}} |
+ | == Usage == | ||
+ | |||
+ | <pre><nowiki>{{Latest or old|package|branch|version}}</nowiki></pre> | ||
+ | |||
+ | * '''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 === | ||
+ | <pre><nowiki>{{Latest or old|2.6.24 kernel|2.6.24-ovz002.2}}</nowiki></pre> | ||
+ | |||
+ | </noinclude> |
Revision as of 14:41, 18 March 2008
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
{{Latest or old|2.6.24 kernel|2.6.24-ovz002.2}}