Template:KernelBox/testcases
From Gentoo Wiki
Jump to:navigation
Jump to:search
Note
This is the template test case page for Template:KernelBox and its sandbox version. The page may need to be refreshed to update the examples (click "Refresh" from the "More" menu).
This is the template test case page for Template:KernelBox and its sandbox version. The page may need to be refreshed to update the examples (click "Refresh" from the "More" menu).
Correct
Collapse
Empty unnamed parameter with {{KEntry}} inside preformatted text (note the single space at the start of each line)
Wiki code
{{KernelBox|1=}} Device Drivers ---> Input device support ---> <*> {{KEntry|Event interface|INPUT_EVDEV}}
Main version
KERNEL
Device Drivers --->
Input device support --->
<*> Event interface Search for <code>CONFIG_INPUT_EVDEV</code> to find this item.
Sandbox version
KERNEL
{{{1}}}
Device Drivers --->
Input device support --->
<*> Event interface Search for <code>CONFIG_INPUT_EVDEV</code> to find this item.
CollapseParameters: 1=Some kernel options. | |
---|---|
Wiki code | {{KernelBox|1=Some kernel options.}}
|
Main version | KERNEL Some kernel options.
|
Sandbox version | KERNEL
Some kernel options.
|
CollapseParameters: title=KernelBox example, 1=Some kernel options. | |
---|---|
Wiki code | {{KernelBox|title=KernelBox with title example|1=Some kernel options.}}
|
Main version | KERNEL KernelBox with title example Some kernel options.
|
Sandbox version | KERNEL KernelBox with title example
Some kernel options.
|
Incorrect
CollapseNo parameter | |
---|---|
Wiki code | {{KernelBox}}
|
Main version | KERNEL {{{1}}}
|
Sandbox version | KERNEL
{{{1}}}
|
Collapse
{{KEntry}} inside parameter
1
Wiki code
{{KernelBox|1= Device Drivers ---> Input device support ---> <*> {{KEntry|Event interface|INPUT_EVDEV}} }}
Main version
KERNEL
Device Drivers --->
Input device support --->
<*> Event interface <span class="smw-highlighter" data-type="8" data-state="inline" data-title="Note" title="Search for CONFIG_INPUT_EVDEV to find this item."><span class="smwtticon note"></span><span class="smwttcontent">[[:Kernel/Configuration#Search_modules|Search]] for <code>CONFIG_INPUT_EVDEV</code> to find this item.</span></span>
Sandbox version
KERNEL
Device Drivers --->
Input device support --->
<*> Event interface <span class="smw-highlighter" data-type="8" data-state="inline" data-title="Note" title="Search for CONFIG_INPUT_EVDEV to find this item."><span class="smwtticon note"></span><span class="smwttcontent">[[:Kernel/Configuration#Search_modules|Search]] for <code>CONFIG_INPUT_EVDEV</code> to find this item.</span></span>