Module:Variants: Difference between revisions
Print unknown icon for professions with only a level
(Fix errors) |
(Print unknown icon for professions with only a level) |
||
Line 82:
local function formatProfessionLevel(profession, level, high)
if not (profession or level) then
return nil
end
profession = profession or 'Unknown profession'
local level_text = tostring(level or '?')
if high then
|