Template:Latest or old

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search

This template is used on download pages to automatically distinguish between the latest and the old versions.

Usage[edit]

{{Latest or old|package|branch|version|name}}
  • 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 .
  • name is optional branch name, for example RHEL4 for rhel4 branch.

Examples[edit]

Code Results
{{Latest or old|kernel|2.6.22|2.6.22-ovz005.1}}
Warning.svg Warning: this is an old version of 2.6.24 kernel. For the latest version, see Download/kernel/2.6.24/2.6.24-ovz009.1.
{{Latest or old|kernel|2.6.24|2.6.24-ovz001}}
Warning.svg Warning: this is an old version of 2.6.24 kernel. For the latest version, see Download/kernel/2.6.24/2.6.24-ovz009.1.
{{Latest or old|kernel|rhel4|023stab046.2|RHEL4}}
Warning.svg Warning: this is an old version of RHEL4 kernel. For the latest version, see Download/kernel/rhel4/023stab054.1.
{{Latest or old|vzctl||3.0.22}}
Warning.svg Warning: this is an old version of vzctl. For the latest version, see Download/vzctl/4.11.1.
{{Latest or old|vzctl||3.0.20}}
Warning.svg Warning: this is an old version of vzctl. For the latest version, see Download/vzctl/4.11.1.
{{Latest or old|ploop||1.13.2}}
Warning.svg Warning: this is an old version of ploop. For the latest version, see Download/ploop/1.15.