1,124
edits
Line 28: | Line 28: | ||
for k, v in pairs(jobs) do | for k, v in pairs(jobs) do | ||
local jobName = mw.html.create('li') | local jobName = mw.html.create('li') | ||
jobName:wikitext('[[' .. com.fUpper(k) .. ']]' .. ('- ' .. b[k].job or '')) | jobName:wikitext('[[' .. com.fUpper(k) .. ']]' .. ((b[k].job and '- ' .. b[k].job) or '')) | ||
jobList:node(jobName) | jobList:node(jobName) | ||
end | end |