Content deleted Content added
Julialturner (talk | contribs) added checks for values to catch lua error messages |
Julialturner (talk | contribs) Changing lua if true syntax to lua conventions |
||
Line 543:
for index,value in ipairs(disease) do
if (dis_ref[index] ~= nil and dis_ref[index] ~= '') then
ref_flag[index] =
ref_flag_all =
end
end
if ref_flag_all
root
:tag('tr')
Line 585:
local ref_link = ""
local ref_link_list = ""
if ref_flag[index]
if (dis_ref[index] ~= nil or dis_ref[index] ~= '') then
ref_link_list = mw.text.split(dis_ref[index], ",")
Line 681:
for k,v in pairs(drug) do
ref_flag_all =
end
if ref_flag_all
root
:tag('tr')
|