Module:Variants: Difference between revisions
no edit summary
(Created page with "local p = {} function sort_entries(entry1, entry2) -- Sort the variants based on the sum of the profession levels local entry1_value = (entry1['Profession Level A'] or 0) + (entry1['Profession Level B'] or 0) local entry2_value = (entry2['Profession Level A'] or 0) + (entry2['Profession Level B'] or 0) return entry1_value < entry2_value end function format_entry(entry) -- Format the search result as Page. At the moment, don't include profession data in the tab...") |
No edit summary |
||
Line 42:
function p.main(frame)
local args = frame:getParent().args
return p.variant_table(args)
end
|