Difference between revisions of "Template:Module"
| Line 36: | Line 36: | ||
| − | == | + | == Templates for menuconfig == |
| + | |||
| + | If you use one of the following templates, the module will automatically added to the proper category | ||
| + | |||
| + | {{Codeline|<nowiki>{{I/O}}</nowiki>}} | ||
| + | |||
| + | {{Codeline|<nowiki>{{Protocols}}</nowiki>}} | ||
| + | |||
| + | {{Codeline|<nowiki>{{Applications}}</nowiki>}} | ||
| + | |||
| + | |||
| + | == Templates for STATUS == | ||
{| style="width:50%" | {| style="width:50%" | ||
|- | |- | ||
| Line 50: | Line 61: | ||
|} | |} | ||
| − | == Templates for | + | == Templates for ECMD == |
| − | + | {| style="width:50%" | |
| − | + | |- | |
| − | + | | | |
| − | {{Codeline|<nowiki>{{ | + | {{Codeline|<nowiki>{{has_ecmd}}</nowiki>}} |
| − | + | {{has_ecmd}} | |
| − | {{ | + | {{Codeline|<nowiki>-</nowiki>}} |
| − | + | |} | |
| − | {{Codeline|<nowiki> | ||
| − | |||
== Example == | == Example == | ||
Revision as of 18:51, 4 October 2011
| Module |
|---|
If you use one of the following templates, the module will automatically added to the proper category
{{I/O}}
{{Protocols}}
{{Applications}}
Templates for STATUS
|
{{stable}} Stable
{{In_Development}} In Development
{{Unstable}} Unstable/Broken
{{Deprecated}} Deprecated
|
Templates for ECMD
|
{{has_ecmd}} yes - |
Example
{{Module
|NAME=Onewire
|MENUCONFIG={{I/O}}->Onewire support
|STATUS={{stable}}
|PINNING=yes
|DEPENDS=[[ECMD]]
|REQUIRES= -
|CODE=[https://github.com/ethersex/ethersex/tree/master/hardware/onewire https://github.com/ethersex/ethersex/tree/master/hardware/onewire]
}}
Result
| Onewire | |
|---|---|
| Status | Stable
|
| menuconfig | I/O->Onewire support |
| Pinning | yes |
| Depends on | ECMD |
| Requires | - |
| Code | https://github.com/ethersex/ethersex/tree/master/hardware/onewire |