Content deleted Content added
Forward parameters |
Copy more result note options from sandbox |
||
Line 329:
if not bg_col then bg_col = 'background-color:transparent;' end -- Becomes default if undefined
-- Check for notes
local note_res_string, note_ref
if Args['note_res_'..result_local] then
notes_exist = true
local note_res_local = Args['note_res_'..result_local]
if not Args['note_res_'..note_res_local] then
note_id = '"table_note_res_'..result_local..rand_val..'"' -- Identifier▼
--
note_ref = 'res_'..result_local
if note_id_list[note_local] then▼
▲ note_id = '"table_note_res_'..result_local..rand_val..'"' -- Identifier
note_res_string = frame:extensionTag{ name = 'ref', args = { group = 'lower-alpha', name = note_id} }▼
else
-- It
note_ref = 'res_'..note_res_local
note_res_string = frame:expandTemplate{ title = 'efn', args = { group='Table_notes', name=note_id, Args['note_res_'..result_local]} }▼
note_id = '"table_note_res_'..note_res_local..rand_val..'"' -- Identifier
end
-- Check whether it is already printed
-- Print it
note_id_list[note_ref] = note_id
▲ note_res_string = frame:expandTemplate{ title = 'efn', args = { group='Table_notes', name=note_id,
else
-- Refer to it
▲ note_res_string = frame:extensionTag{ name = 'ref', args = { group = 'lower-alpha', name = note_id} }
end
else
|