Difference between revisions of "Template:Module"

From Ethersex_Wiki
Jump to: navigation, search
Line 20: Line 20:
 
{{!}} style="vertical-align:top;" {{!}}Ecmd
 
{{!}} style="vertical-align:top;" {{!}}Ecmd
 
{{!}} {{{ECMD}}}
 
{{!}} {{{ECMD}}}
 +
}}
 +
|-
 +
{{#if: {{{CONTROL6|}}}|
 +
{{!}} style="vertical-align:top;" {{!}}Control6
 +
{{!}} {{{CONTROL6}}}
 
}}
 
}}
 
|-
 
|-
Line 72: Line 77:
 
{{Codeline|<nowiki>{{has_ecmd}}</nowiki>}}
 
{{Codeline|<nowiki>{{has_ecmd}}</nowiki>}}
 
{{has_ecmd}}
 
{{has_ecmd}}
 
+
|}
 
or leave blank
 
or leave blank
  
Line 84: Line 89:
 
|PINNING=yes
 
|PINNING=yes
 
|ECMD={{has_ecmd}}
 
|ECMD={{has_ecmd}}
 +
|CONTROL={{has_control6}}
 
|DEPENDS=[[ECMD]]
 
|DEPENDS=[[ECMD]]
 
|REQUIRES= -
 
|REQUIRES= -
Line 97: Line 103:
 
|PINNING=yes
 
|PINNING=yes
 
|ECMD={{has_ecmd}}
 
|ECMD={{has_ecmd}}
 +
|CONTROL={{has_control6}}
 
|DEPENDS=[[ECMD]]
 
|DEPENDS=[[ECMD]]
 
|REQUIRES= -
 
|REQUIRES= -
 
|CODE=[https://github.com/ethersex/ethersex/tree/master/hardware/onewire https://github.com/ethersex/ethersex/tree/master/hardware/onewire]
 
|CODE=[https://github.com/ethersex/ethersex/tree/master/hardware/onewire https://github.com/ethersex/ethersex/tree/master/hardware/onewire]
 
}}
 
}}

Revision as of 19:02, 5 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

or leave blank

Example

{{Module
|NAME=Onewire
|MENUCONFIG={{I/O}}->Onewire support
|STATUS={{stable}}
|PINNING=yes
|ECMD={{has_ecmd}}
|CONTROL={{has_control6}}
|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
Ecmd yes
Depends on ECMD
Requires -
Code https://github.com/ethersex/ethersex/tree/master/hardware/onewire