Module:SkillDx2: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
 
Line 51: Line 51:
if iconPage.exists == true then
if iconPage.exists == true then
getIcon = require('Module:Data/Icon/dx2')
getIcon = require('Module:Data/Icon/dx2')
if getIcon.icon[attribute] then -- Check if attribute is set in skill data
if input ~= '—' and activeSkill ~= '' and getIcon.icon[activeSkill] then
nameattribute = getIcon.icon[activeSkill] .. ' ' .. name .. namenote -- Set icon
elseif getIcon.icon[attribute] then -- Check if attribute is set in skill data
nameattribute = getIcon.icon[attribute] .. ' ' .. name .. namenote -- Set icon
nameattribute = getIcon.icon[attribute] .. ' ' .. name .. namenote -- Set icon
else
else

Navigation menu