Module:AVDevice: Difference between revisions

Fix Type row red link: link to AV Device Search with filter instead of non-existent article page (fixes VCR/DVD-R combo and similar types with slashes) (via update-page on MediaWiki MCP Server)
Add market field display to AV device infobox (matching CRT model pattern) (via update-page on MediaWiki MCP Server)
Line 253: Line 253:
local device_type = trim(args.device_type)
local device_type = trim(args.device_type)
local format_family = trim(args.format_family)
local format_family = trim(args.format_family)
local market = trim(args.market)
local supported_formats = trim(args.supported_formats)
local supported_formats = trim(args.supported_formats)
local recording_formats = trim(args.recording_formats)
local recording_formats = trim(args.recording_formats)
Line 321: Line 322:
if model_code then
if model_code then
addRow(container, 'Model', model_code, false)
addRow(container, 'Model', model_code, false)
end
-- Market row
if market then
addRow(container, 'Market', market, false)
end
end


MediaWiki Appliance - Powered by TurnKey Linux