Module:Accessory: Difference between revisions

Refactor Compatible AV Devices section to group by device type (like Archival Links) instead of showing a full table (via update-page on MediaWiki MCP Server)
Change type badge to breadcrumb style: Accessory › [accessory_type] (via update-page on MediaWiki MCP Server)
 
(One intermediate revision by the same user not shown)
Line 101: Line 101:
'infobox-title'
'infobox-title'
)
)
-- Type badge (breadcrumb)
local badgeWikitext = '[[:Category:Accessories|Accessory]]'
if accessory_type then
badgeWikitext = badgeWikitext .. ' › ' .. accessory_type
end
addFullRow(container, badgeWikitext, '', false, 'infobox-type-badge')


if image_main then
if image_main then
MediaWiki Appliance - Powered by TurnKey Linux