Difference between revisions of "Template:Latest or old"
(fixed examples) |
(better wording) |
||
Line 1: | Line 1: | ||
− | {{#ifeq:{{Latest {{{2}}} {{{1}}}}}|{{{3}}}|Below are change log and downloads for latest version of {{{ | + | {{#ifeq:{{Latest {{{2}}} {{{1}}}}}|{{{3}}}|Below are change log and downloads for latest version of {{{2}}} {{{1}}}.|{{Warning old version|{{{2}}} {{{1}}}|{{{1}}}{{#if:{{{2}}}|/{{{2}}}}}}}}}<noinclude> |
== Usage == | == Usage == | ||
Revision as of 14:47, 18 March 2008
Warning: this is an old version of {{{2}}} {{{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|kernel|2.6.24|2.6.24-ovz002.2}} |
| ||
{{Latest or old|kernel|2.6.24|2.6.24-ovz001}} |
|