Module:R:Cunliffe

local export = {}

function load_data(w) --return mw.loadData("Module:R:Cunliffe/data")[w] return require("Module:data tables").index_table("grc_RCunliffe_lemma_to_index", w) end

function export.index(frame) local args = frame:getParent.args local title = args['w'] or args[1] or mw.title.getCurrentTitle.text local title_span = ' ' .. title .. ' '	local eid = args.eid if not eid then local n = load_data(title) eid = n and n[1] end if eid then return ("" .. title_span .. " in ") else -- Special:WhatLinksHere/Template:tracking/R:Cunliffe/no-entry require("Module:debug").track("R:Cunliffe/no-entry") return ' (no entry for the specified headword) ' end end

return export