Difference between revisions of "Template:Module"
| Line 15: | Line 15: | ||
{{!}} style="vertical-align:top;" {{!}}Pinning | {{!}} style="vertical-align:top;" {{!}}Pinning | ||
{{!}} {{{PINNING}}} | {{!}} {{{PINNING}}} | ||
| + | }} | ||
| + | |- | ||
| + | {{#if: {{{ECMD|}}}| | ||
| + | {{!}} style="vertical-align:top;" {{!}}Ecmd | ||
| + | {{!}} {{{ECMD}}} | ||
}} | }} | ||
|- | |- | ||
| Line 67: | Line 72: | ||
{{Codeline|<nowiki>{{has_ecmd}}</nowiki>}} | {{Codeline|<nowiki>{{has_ecmd}}</nowiki>}} | ||
{{has_ecmd}} | {{has_ecmd}} | ||
| − | + | ||
| − | + | or leave blank | |
== Example == | == Example == | ||
| Line 78: | Line 83: | ||
|STATUS={{stable}} | |STATUS={{stable}} | ||
|PINNING=yes | |PINNING=yes | ||
| + | |ECMD={{has_ecmd}} | ||
|DEPENDS=[[ECMD]] | |DEPENDS=[[ECMD]] | ||
|REQUIRES= - | |REQUIRES= - | ||
Revision as of 18:53, 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 or leave blank Example
{{Module
|NAME=Onewire
|MENUCONFIG={{I/O}}->Onewire support
|STATUS={{stable}}
|PINNING=yes
|ECMD={{has_ecmd}}
|DEPENDS=[[ECMD]]
|REQUIRES= -
|CODE=[https://github.com/ethersex/ethersex/tree/master/hardware/onewire https://github.com/ethersex/ethersex/tree/master/hardware/onewire]
}}
Result
|
||||||||||||||