Module:Uses skill list: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 26:
local skills = {}
local skills_lowered = {}
local category = args.category and trim(args.category) or nil -- Optional category parameter
-- Process skill arguments
Line 50:
'?=#-',
'?Production JSON = json',
'?Category', -- Fetch the Category field for filtering later
limit = args.limit or 500,
}
Line 56 ⟶ 55:
-- Add category filter if provided
if category then
table.insert(query, '[[CategoryRecipeCategory::' .. category .. ']]')
end