Module:DropsLine: Difference between revisions

Jump to navigation Jump to search
Undid revision 41975 by Alex (talk)
No edit summary
Tag: Reverted
(Undid revision 41975 by Alex (talk))
Tag: Undo
Line 423:
-- rarity
local rarity_cell = ret:tag('td')
if #raritynotes <= 3 then
local rarity_span = rarity_cell:tag('span')
rarity_span:wikitext(rollstext .. tilde .. rarity)
Line 438 ⟶ 437:
})
end
 
if alt_rarity ~= '' then
if alt_rarity_endash ~= '' then
Line 457 ⟶ 456:
end
end
end
 
if #raritynotes <=> 3 then
-- If raritynotes is provided and has more than 3 characters, show only the notes
-- rarity_cell:wikitext(raritynotes)
if #raritynotes > 3 then
rarity_cell rarity_span:wikitext(raritynotes)
end
 
-- setup GE and alch cells

Navigation menu