Module:Currency: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 24: Line 24:
end
end
if (val > 0 and (silver > 0 or gold > 0)) then
if (val > 0 and (silver > 0 or gold > 0)) then
return output
else
output = output .. val .. ' [[File:Copper coin.png|link=]]'
output = output .. val .. ' [[File:Copper coin.png|link=]]'
else
output = val .. ' [[File:Copper coin.png|link=]]'
end
end
return output
return output