Module:Param Parse: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Fix strict mode error) |
m (Fix link to invalid profession) |
||
Line 529: | Line 529: | ||
local level_valid = parse.number(level) |
local level_valid = parse.number(level) |
||
local profession_valid = parse.has_content(profession) |
local profession_valid = parse.has_content(profession) |
||
local profession_valid_link = profession_valid |
|||
if not profession_valid and not level_valid then |
if not profession_valid and not level_valid then |
||
Line 545: | Line 546: | ||
end |
end |
||
return '[[File:'..profession_valid..'_icon.png|link='.. |
return '[[File:'..profession_valid..'_icon.png|link='..profession_valid_link..'|width=18x18]] '..level_valid |
||
end |
end |
||