Difference between revisions of "Template:Module"

From Ethersex_Wiki
Jump to: navigation, search
Line 36: Line 36:
  
  
== Arguments for STATUS ==
+
== 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 menuconfig ==
+
== Templates for ECMD ==
 
+
{| style="width:50%"
If you use one of the following templates, the module will automatically added to the proper category
+
|-
 
+
|
{{Codeline|<nowiki>{{I/O}}</nowiki>}}
+
{{Codeline|<nowiki>{{has_ecmd}}</nowiki>}}
 
+
{{has_ecmd}}
{{Codeline|<nowiki>{{Protocols}}</nowiki>}}
+
{{Codeline|<nowiki>-</nowiki>}}  
 
+
|}
{{Codeline|<nowiki>{{Applications}}</nowiki>}}
 
 
 
  
 
== Example ==
 
== Example ==

Revision as of 18:51, 4 October 2011

Module


Templates for menuconfig

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