Difference between revisions of "Template:Modinfo"

From AlsaProject
Jump to: navigation, search
Line 11: Line 11:
 
|
 
|
 
{{#if: {{{1|}}} | {{ModinfoParm|{{{1}}}}} }}
 
{{#if: {{{1|}}} | {{ModinfoParm|{{{1}}}}} }}
|-
+
{{#if: {{{2|}}} | {{ModinfoParm|{{{2}}}}} }}
| parm: 
+
{{#if: {{{3|}}} | {{ModinfoParm|{{{3}}}}} }}
| {{{2|}}}
+
{{#if: {{{4|}}} | {{ModinfoParm|{{{4}}}}} }}
|-
+
{{#if: {{{5|}}} | {{ModinfoParm|{{{5}}}}} }}
| parm: 
+
{{#if: {{{6|}}} | {{ModinfoParm|{{{6}}}}} }}
| {{{3|}}}
+
{{#if: {{{7|}}} | {{ModinfoParm|{{{7}}}}} }}
|-
+
{{#if: {{{8|}}} | {{ModinfoParm|{{{8}}}}} }}
| parm: 
+
{{#if: {{{9|}}} | {{ModinfoParm|{{{9}}}}} }}
| {{{4|}}}
+
{{#if: {{{10|}}} | {{ModinfoParm|{{{10}}}}} }}
|-
+
{{#if: {{{11|}}} | {{ModinfoParm|{{{11}}}}} }}
| parm: 
+
{{#if: {{{12|}}} | {{ModinfoParm|{{{12}}}}} }}
| {{{5|}}}
+
{{#if: {{{13|}}} | {{ModinfoParm|{{{13}}}}} }}
|-
+
{{#if: {{{14|}}} | {{ModinfoParm|{{{14}}}}} }}
| parm: 
+
{{#if: {{{15|}}} | {{ModinfoParm|{{{15}}}}} }}
| {{{6|}}}
+
{{#if: {{{16|}}} | {{ModinfoParm|{{{16}}}}} }}
|-
+
{{#if: {{{17|}}} | {{ModinfoParm|{{{17}}}}} }}
| parm: 
+
{{#if: {{{18|}}} | {{ModinfoParm|{{{18}}}}} }}
| {{{7|}}}
+
{{#if: {{{19|}}} | {{ModinfoParm|{{{19}}}}} }}
|-
+
{{#if: {{{20|}}} | {{ModinfoParm|{{{20}}}}} }}
| parm: 
+
{{#if: {{{21|}}} | {{ModinfoParm|{{{21}}}}} }}
| {{{8|}}}
+
{{#if: {{{22|}}} | {{ModinfoParm|{{{22}}}}} }}
|-
+
{{#if: {{{23|}}} | {{ModinfoParm|{{{23}}}}} }}
| parm: 
+
{{#if: {{{24|}}} | {{ModinfoParm|{{{24}}}}} }}
| {{{9|}}}
+
{{#if: {{{25|}}} | {{ModinfoParm|{{{25}}}}} }}
|-
+
{{#if: {{{26|}}} | {{ModinfoParm|{{{26}}}}} }}
| parm: 
+
{{#if: {{{27|}}} | {{ModinfoParm|{{{27}}}}} }}
| {{{10|}}}
+
{{#if: {{{28|}}} | {{ModinfoParm|{{{28}}}}} }}
|-
+
{{#if: {{{29|}}} | {{ModinfoParm|{{{29}}}}} }}
| parm: 
+
{{#if: {{{30|}}} | {{ModinfoParm|{{{30}}}}} }}
| {{{11|}}}
+
 
|-
+
| parm: 
+
| {{{12|}}}
+
|-
+
| parm: 
+
| {{{13|}}}
+
|-
+
| parm: 
+
| {{{14|}}}
+
|-
+
| parm: 
+
| {{{15|}}}
+
 
|}<noinclude>
 
|}<noinclude>
  

Revision as of 13:39, 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.

Importaint: 

For the moment there are 15 parameters hard-coded in this template!
This is situation will change as soon as someone figures out how to use functions like #if in this Wiki.


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


Custom Search
Personal tools
Namespaces

Variants
Actions
Navigation
wiki
Toolbox