Module:Fb overview: Difference between revisions

Content deleted Content added
m Simplifying regex slightly - use "%d+" instead of "%d%d*"
runners-up should be spelt with a dash
Tag: Reverted
Line 142:
local bg =
(fp:match('^' .. labels['winner']) and 'gold') or
(fp:match('^' .. labels['runnersuprunners-up']) and 'silver') or
(fp:match('^' .. labels['runneruprunner-up']) and 'silver') or nil
if bg then
table.insert(root,'| style="background-color:' .. bg .. '" | ' .. fp)