Module:AVDevice: Difference between revisions

Add oem_manufacturer parameter extraction and display row in infobox (after Brand, before Model) (via update-page on MediaWiki MCP Server)
Restore pre-compression source from rev 8199 (with comments, formatting, safe gsub patterns). Only change: args.oem_manufacturer → args.oem (the intended rename from rev 8313, without the destructive compression) (via update-page on MediaWiki MCP Server)
 
(2 intermediate revisions by the same user not shown)
Line 251: Line 251:
local brand = trim(args.brand)
local brand = trim(args.brand)
local model_code = trim(args.model_code)
local model_code = trim(args.model_code)
local oem_manufacturer = trim(args.oem_manufacturer)
local oem_manufacturer = trim(args.oem)
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)
Line 321: Line 321:
end
end


-- OEM Manufacturer row (shown only when different from brand)
-- OEM row (shown only when set)
if oem_manufacturer then
if oem_manufacturer then
local oemWikitext = string.format(
local oemWikitext = string.format(
MediaWiki Appliance - Powered by TurnKey Linux