Module:Skill List: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 123: Line 123:
end
end
if getSkill.skill[input].description then
if getSkill.skill[input].description and getSkill.skill[input].description_ja and getSkill.skill[input].description_ja ~= "—" then
description = '\n|style="text-align:center;"|' .. frame:expandTemplate{ title = 'DescTransl', args = { getSkill.skill[input].description_ja, getSkill.skill[input].description } }
elseif getSkill.skill[input].description then
description = '\n|style="text-align:center;"|' .. getSkill.skill[input].description
description = '\n|style="text-align:center;"|' .. getSkill.skill[input].description
else
else