Difference between revisions of "Template:Kernel branch"
m (moved doc to the top) |
((try to) fix "Latest or old" for new (1.13.x) preprocessor) |
||
Line 3: | Line 3: | ||
</noinclude> | </noinclude> | ||
− | {{#if:{{{version|}}}|{{Latest or old | + | {{#if:{{{version|}}}|{{Latest or old|kernel|{{{path}}}|{{{version}}}|{{{name}}}}}}} |
{|class="infobox" | {|class="infobox" | ||
! class="header" colspan="2" | <center><big><span class="header">Kernel branch {{{name}}}</span></big></center> | ! class="header" colspan="2" | <center><big><span class="header">Kernel branch {{{name}}}</span></big></center> |
Revision as of 12:57, 5 November 2008
Usage
You are not supposed to use Template:Kernel branch directly. Instead, use one of the following templates on all the pages for the given kernel branch:
- Template:Kernel branch 2.6.18
- Template:Kernel branch 2.6.20
- Template:Kernel branch 2.6.22
- Template:Kernel branch 2.6.24
- Template:Kernel branch 2.6.26
- Template:Kernel branch rhel4
- Template:Kernel branch rhel5
If there is a template missing (say for a new branch), create it!
Below example is for 2.6.24.
{{Kernel branch 2.6.24|version}}
Optional argument version is compared to contents of Template:Latest 2.6.24 kernel -- depending on the result of comparison, an appropriate message or an Template:Warning old version with appropriate arguments is printed.
Based on | {{{based}}} |
---|---|
Status | {{{status}}} |
Latest | [[Download/kernel/{{{path}}}/{{Latest {{{path}}} kernel}}|{{Latest {{{path}}} kernel}}]] |
Archives | [[download/kernel/{{{path}}}/Archives|{{{name}}}]] |