Difference between pages "Template:Infobox/row" and "Template:Kernelop"

(Difference between pages)
 
 
Line 1: Line 1:
{{#if:{{{header|}}}
+
{{#if:{{{title|}}}|<b>Under {{#replace:{{{title|}}}|,| --> }}:</b><br/>}}
|<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr>
+
{{#tag:pre|{{{desc|}}}|style="background: #4070f0; color: #fff;"}}<noinclude>
|{{#if:{{{data|}}}
+
Use the kernelop template with the following parameters:
  |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
+
 
  |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th>
+
;title: <b>Optional.</b> Specify a comma-delimited list of kernel heirarchy where these options can be found. Example: <tt>foo,bar</tt>. This will display as <b>Under foo --> bar:</b>
    <td class="{{{class|}}}" style="{{{datastyle|}}}">
+
;desc: <b>Required.</b> Include raw-formatted text defining kernel options. Typically copied and pasted from <tt>make menuconfig</tt>. Your formatting will be preserved.
  |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
+
</noinclude>
  }}
+
{{{data}}}</td></tr>
+
}}
+
}}
+

Latest revision as of 21:23, September 25, 2014


Use the kernelop template with the following parameters:

title
Optional. Specify a comma-delimited list of kernel heirarchy where these options can be found. Example: foo,bar. This will display as Under foo --> bar:
desc
Required. Include raw-formatted text defining kernel options. Typically copied and pasted from make menuconfig. Your formatting will be preserved.