Content deleted Content added
? |
add optional |colour1= or |color1= and sanity check for existence of meta/color templates per request on talk page |
||
Line 90:
for i, v in ipairs(index) do
local row = mw.html.create('tr')
local color = args['colour' .. v] or args['color' .. v]
or (mw.title.new('Template:' .. args['party' .. v] .. '/meta/color').exists
and frame:expandTemplate{title = args['party' .. v] .. '/meta/color'})
or nil
row
:tag('td')
:css('background-color',
if vp then
row
|