Module:Sports color and Module:Sports color/sandbox: Difference between pages
(Difference between pages)
imported>Gonnym removed deleted templates from doc; added spaces between colors and styles |
imported>Andrybak sync |
||
Line 40: | Line 40: | ||
colors = {"DCDCDC", "000000", "DCDCDC", "000000"} | colors = {"DCDCDC", "000000", "DCDCDC", "000000"} | ||
else | else | ||
local all_colors = mw.loadData(data_module) | local all_colors = mw.loadData(data_module .. '/sandbox') | ||
colors = all_colors[team] | colors = all_colors[team] | ||
if ( colors and type(colors) == 'string' ) then | if ( colors and type(colors) == 'string' ) then |