Template:Device List Low Detail/Row: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
({{#pos}} now returns empty string on non-match)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{DVB-T USB Devices List of Lists}}
{{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}}}
{{!}} {{{vendor}}}
Line 11: Line 11:
{{!}} {{{supported|}}}
{{!}} {{{supported|}}}
{{!}} {{{pic|}}}{{{url|}}}
{{!}} {{{pic|}}}{{{url|}}}
{{!}} [[Image:Edit-16x16.png|link=Template:DVB-T USB Devices ListData#{{{did|}}}|Jump to the place where you can edit this entry]]
{{!}} [[Image:Edit-16x16.png|link=Template:{{{src|}}}#{{{did|}}}|Jump to the place where you can edit this entry]]
{{!}}-
{{!}}-
}}
}}

Latest revision as of 09:01, 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)