Module:Uses skill list: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(One intermediate revision 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 48:
'[[Uses skill::' .. table.concat(skills, '||') .. ']]',
'[[Production JSON::+]]',
'[[Category::Unf]]',
'?=#-',
'?Production JSON = json',
'?Category', -- Fetch the Category field for filtering later
limit = args.limit or 500,
}
Line 57 ⟶ 55:
-- Add category filter if provided
if category then
table.insert(query, '[[CategoryRecipeCategory::' .. category .. ']]')
end