Template:Modinfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(give this a try) |
||
Line 9: | Line 9: | ||
|license: | |license: | ||
| {{{license|GPL}}} | | {{{license|GPL}}} | ||
{{#if: {{{1|}}} | <tr><td>parm | {{#if: {{{1|}}} | <tr><td> parm: </td><td> {{{1}}} </td></tr>|}} | ||
| | {{#if: {{{2|}}} | <tr><td> parm: </td><td> {{{2}}} </td></tr>|}} | ||
| parm: | {{#if: {{{3|}}} | <tr><td> parm: </td><td> {{{3}}} </td></tr>|}} | ||
{{#if: {{{4|}}} | <tr><td> parm: </td><td> {{{4}}} </td></tr>|}} | |||
| | {{#if: {{{5|}}} | <tr><td> parm: </td><td> {{{5}}} </td></tr>|}} | ||
| parm: | {{#if: {{{6|}}} | <tr><td> parm: </td><td> {{{6}}} </td></tr>|}} | ||
{{#if: {{{7|}}} | <tr><td> parm: </td><td> {{{7}}} </td></tr>|}} | |||
| | {{#if: {{{8|}}} | <tr><td> parm: </td><td> {{{8}}} </td></tr>|}} | ||
| parm: | {{#if: {{{9|}}} | <tr><td> parm: </td><td> {{{9}}} </td></tr>|}} | ||
{{#if: {{{10|}}} | <tr><td> parm: </td><td> {{{10}}} </td></tr>|}} | |||
| | {{#if: {{{11|}}} | <tr><td> parm: </td><td> {{{11}}} </td></tr>|}} | ||
| parm: | {{#if: {{{12|}}} | <tr><td> parm: </td><td> {{{12}}} </td></tr>|}} | ||
{{#if: {{{13|}}} | <tr><td> parm: </td><td> {{{13}}} </td></tr>|}} | |||
| | {{#if: {{{14|}}} | <tr><td> parm: </td><td> {{{14}}} </td></tr>|}} | ||
| parm: | {{#if: {{{15|}}} | <tr><td> parm: </td><td> {{{15}}} </td></tr>|}} | ||
{{#if: {{{16|}}} | <tr><td> parm: </td><td> {{{16}}} </td></tr>|}} | |||
| | {{#if: {{{17|}}} | <tr><td> parm: </td><td> {{{17}}} </td></tr>|}} | ||
| parm: | {{#if: {{{18|}}} | <tr><td> parm: </td><td> {{{18}}} </td></tr>|}} | ||
{{#if: {{{19|}}} | <tr><td> parm: </td><td> {{{19}}} </td></tr>|}} | |||
| | {{#if: {{{20|}}} | <tr><td> parm: </td><td> {{{20}}} </td></tr>|}} | ||
| parm: | |||
| | |||
| parm: | |||
| | |||
| parm: | |||
| | |||
| parm: | |||
| {{{ | |||
| | |||
| parm: | |||
| {{{ | |||
| | |||
| parm: | |||
| {{{ | |||
| | |||
| parm: | |||
| {{{ | |||
| | |||
| parm: | |||
| {{{ | |||
|}<noinclude> | |}<noinclude> | ||
Line 59: | Line 36: | ||
in a typewriter style table. | in a typewriter style table. | ||
<!-- | |||
{{Template:Note|For the moment there are '''15''' parameters hard-coded in this template! <br /> This is situation will change as soon as someone figures out how to use functions like <tt><nowiki>#if</nowiki></tt> in this Wiki.|Importaint}} | {{Template:Note|For the moment there are '''15''' parameters hard-coded in this template! <br /> This is situation will change as soon as someone figures out how to use functions like <tt><nowiki>#if</nowiki></tt> in this Wiki.|Importaint}} | ||
--> | |||
==Usage== | ==Usage== | ||
Revision as of 11:28, 12 August 2007
The module options for snd-{{{module}}}
description: | no desciption included |
author: | author unknown |
license: | GPL
|
This template is intended to display the output of
modinfo snd-soundcard
in a typewriter style table.
Usage
- You need to specify the module name.
- You need to specify values for description and author.
- If the license is not the GNU General Public License (GPL) then you may also specify license.
- All other parameters are the values for parm, as you get it from the modinfo output.
Example:
{{Template:Modinfo |module=generic |description=ALSA module for a sound card |author=Mr. Smith |parm1:on or off |parm2:0 or 1 |parm3:debug or not debug, that is the question }}
That will give you:
The module options for snd-generic
description: | ALSA module for a sound card |
author: | Mr. Smith |
license: | GPL |
parm: | parm1:on or off |
parm: | parm2:0 or 1 |
parm: | parm3:debug or not debug, that is the question |