Content deleted Content added
S.A. Julio (talk | contribs) add support for FBR style coloring |
S.A. Julio (talk | contribs) add legend |
||
Line 154:
end
return false
end
local function createFBRLegend()
return mw.html.create('div')
:css('font-size', '90%')
:css('margin-bottom', '0.5em')
:wikitext("Legend: Blue = home team win; Yellow = draw; Red = away team win.")
end
Line 250 ⟶ 257:
if args.id then
table:attr('id', args.id) -- Optional id parameter to allow anchor to table
end
-- Add FBR legend if isFBRStyle is true
if isFBRStyle then
root:node(createFBRLegend())
end
|