Module:TestModule: Difference between revisions

AdamZachar (talk | contribs)
No edit summary
AdamZachar (talk | contribs)
No edit summary
Line 95: Line 95:


function p.topicListByCaseID( frame )
function p.topicListByCaseID( frame )
local output = ""


  local topics, errors = mw.ext.externaldata.getExternalData {
  local topics, errors = mw.ext.externaldata.getExternalData {
Line 103: Line 105:
   }
   }


  if topics == nil then return 0 end
  if topics == nil then return case_title end
 
local output = ""


  output = output .. "<ul>"
  output = output .. "<ul>"