Difference between revisions of "Template:Device List Medium Detail/Row"

From LinuxTVWiki
Jump to: navigation, search
(adding ID to interface column ... can be filled ba usb id or pic id or whatever id there is.)
({{#pos}} now returns empty string on non-match)
 
Line 2: Line 2:
 
{{List of Device List Templates}}
 
{{List of Device List Templates}}
 
</noinclude>
 
</noinclude>
{{#ifeq: -1 | {{#pos: {{{ {{{selatt1|}}} }}} | {{{selval1}}} }} ||
+
{{#ifeq: | {{#pos: {{{ {{{selatt1|}}} }}} | {{{selval1}}} }} ||
{{#ifeq: -1 | {{#pos: {{{ {{{selatt2|}}} }}} | {{{selval2}}} }} ||
+
{{#ifeq: | {{#pos: {{{ {{{selatt2|}}} }}} | {{{selval2}}} }} ||
{{#ifeq: -1 | {{#pos: {{{ {{{selatt3|}}} }}} | {{{selval3}}} }} ||
+
{{#ifeq: | {{#pos: {{{ {{{selatt3|}}} }}} | {{{selval3}}} }} ||
{{#ifeq: -1 | {{#pos: {{{ {{{selatt4|}}} }}} | {{{selval4}}} }} ||
+
{{#ifeq: | {{#pos: {{{ {{{selatt4|}}} }}} | {{{selval4}}} }} ||
 
{{!}}-
 
{{!}}-
 
{{!}} {{{vendor}}} {{{device}}}
 
{{!}} {{{vendor}}} {{{device}}}

Latest revision as of 09:00, 21 December 2015


Sorry but the interesting part of this page is not visible to the naked eye. You'll have to click on edit above to see the Template voodoo.


This is a list of Device List Templates. The Templates that help produce those nifty tables of devices. It is just a reminder and shortcut for anybody who wants to play with those templates.

The templates ending in /Header only contain the table headers while the /Row templates contain table row layout.

The /Header templates are boring and plain. The /Row templates contain all the wiki voodoo necessary to decide if a particular row is to be displayed at all.

If you edit this device list template, please note that it is part of a group of templates and the other templates may need adjustment, too. So if you want to add a column to one of the tables, you'll need to edit the /Header template as well as the /Row template.

General purpose Templates


Usable full detail view for USB devices
Usable full detail view for PCI devices
All fields, even those usually only used for filtering


did-only table (useful to find example on how to select new did)