Module:Sports table: Difference between revisions

Content deleted Content added
Add group host as letter option
Port from sandbox: fix for split results note doubler
Line 359:
notes_exist = true
local note_res_local = Args['note_res_'..result_local]
note_id = '"table_note_res_'..result_local..rand_val..'"' -- Identifier
note_res_string = frame:expandTemplate{ title = 'efn', args = { group='Table_notes', Args['note_res_'..result_local]} }
-- Check whether it exists or not
if note_id_list[note_local] then
-- It exists already
note_res_string = frame:extensionTag{ name = 'ref', args = { group = 'lower-alpha', name = note_id} }
else
-- It doesn't exist yet
note_res_string = frame:expandTemplate{ title = 'efn', args = { group='Table_notes', name=note_id, Args['note_res_'..result_local]} }
end
else
note_res_string = ''