Module:Cooking Effects List: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 46: Line 46:
function h.formatOneRow(row)
function h.formatOneRow(row)
         row['Unit Effects'] = row.Type
         row['Unit Effects'] = row.Type
         row['Cooking Domain'] = row.CookingDomain
         row['Cooking Domain'] = row.CookingDomain:gsub('-based', '')
         row['Possible Ingredients'] = mw.getCurrentFrame():expandTemplate{ title = 'food that grants', args = { row.PlainName, 'commas' } }
         row['Possible Ingredients'] = mw.getCurrentFrame():expandTemplate{ title = 'food that grants', args = { row.PlainName, 'commas' } }
end
end

Navigation menu