Difference between revisions of "Module:Villagers"

Jump to navigation Jump to search
15 bytes added ,  08:51, 24 December 2023
no edit summary
 
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

Navigation menu