Difference between revisions of "Template:Kernel branch"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(merged doc from a subpage)
m (moved doc to the top)
Line 1: Line 1:
 +
<noinclude>
 +
{{TemplateDoc}}
 +
</noinclude>
 +
 
{{#if:{{{version|}}}|{{Latest or old{{!}}kernel{{!}}{{{path}}}{{!}}{{{version}}}{{!}}{{{name}}}}}}}
 
{{#if:{{{version|}}}|{{Latest or old{{!}}kernel{{!}}{{{path}}}{{!}}{{{version}}}{{!}}{{{name}}}}}}}
 
{|class="infobox"
 
{|class="infobox"
Line 9: Line 13:
 
| {{{status}}}
 
| {{{status}}}
 
|-
 
|-
! align="right" | Latest
+
! align="right" | Latest
 
| {{Kernel link|{{{path}}}|{{Latest {{{path}}} kernel}}}}
 
| {{Kernel link|{{{path}}}|{{Latest {{{path}}} kernel}}}}
 
|-
 
|-
Line 20: Line 24:
 
}}
 
}}
 
|}
 
|}
 
<noinclude>
 
{{TemplateDoc}}
 
</noinclude>
 

Revision as of 16:22, 4 July 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:

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.


Kernel branch {{{name}}}
Based on {{{based}}}
Status {{{status}}}
Latest [[Download/kernel/{{{path}}}/{{Latest {{{path}}} kernel}}|{{Latest {{{path}}} kernel}}]]
Archives [[download/kernel/{{{path}}}/Archives|{{{name}}}]]