MediaWiki:AV Device Search.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 28: | Line 28: | ||
printouts: [ | printouts: [ | ||
{ property: 'Has device type', key: 'device_type' }, | { property: 'Has device type', key: 'device_type' }, | ||
{ property: 'Has format family', key: 'format_family' } | { property: 'Has format family', key: 'format_family' }, | ||
{ property: 'Has supported formats', key: 'supported_formats' } | |||
], | ], | ||
| Line 34: | Line 35: | ||
cardMeta: [ | cardMeta: [ | ||
{ key: 'device_type', cssClass: 'crt-meta-type' }, | { key: 'device_type', cssClass: 'crt-meta-type' }, | ||
{ key: 'format_family' } | { key: 'format_family' }, | ||
{ key: 'supported_formats' } | |||
], | ], | ||
| Line 65: | Line 67: | ||
loadFrom: 'static', | loadFrom: 'static', | ||
values: ['Betamax', 'DV', 'U-matic', 'VHS', 'Video8'] | values: ['Betamax', 'DV', 'U-matic', 'VHS', 'Video8'] | ||
}, | |||
plays: { | |||
label: 'Plays', | |||
type: 'select', | |||
property: 'Has supported formats', | |||
loadFrom: 'smw', | |||
smwQuery: '[[Category:AV devices]][[Has supported formats::+]]', | |||
smwProperty: 'Has supported formats' | |||
} | } | ||
} | } | ||