Documentation for this module may be created at Module:Infobox/Widget/Sponsors/doc
local Sponsors = {} function Sponsors.make(results, frame) local container = mw.html.create('div') for r = 1, #results do local result = results[r] local sponsor = mw.html.create('li') :wikitext('[[' .. result.id .. ']]') if result.startRef then local startRefName = result.startRefName or '' sponsor:wikitext(frame:preprocess('<ref name='.. startRefName .. '>' ..result.startRef .. '</ref>')) end container:node(sponsor) end return container end return Sponsors