1,124
edits
(Created page with "local p = {} local b = mw.loadData('Module:Buildings') local a = require('Module:Arguments') local com = require('Module:Common') function p.jobs(frame) local args = a.getArgs(frame) if args[1] then local rank = com.firstUpper(args[1]) local jobs = {} for k, v in pairs(book) do if v.rank then jobs[k] = true end end table.sort(jobs) if #jobs > 0 then local cols = { 'column-count', (args[2] or 3) } local jobList = mw.html.create('di...") |
|||
Line 7: | Line 7: | ||
local args = a.getArgs(frame) | local args = a.getArgs(frame) | ||
if args[1] then | if args[1] then | ||
local rank = com. | local rank = com.fUpper(args[1]) | ||
local jobs = {} | local jobs = {} | ||
for k, v in pairs(book) do | for k, v in pairs(book) do |