Jump to content

Module:R:L&S

From Wiktionary, the free dictionary

This module needs documentation.
Please document this module by describing its purpose and usage on the documentation page.

--This module uses a hard-coded collision table "Module:R:L%26S/collision-data"
--for headwords in the Lewis and Short Latin dictionary.  This allows
--hyperlinking a disambiguation page where required.  Collision data are current 
--as of 31 May 2016.  The L&S dictionary is hosted by the Perseus Project here:
--http://www.perseus.tufts.edu/hopper/text?doc=Perseus:text:1999.04.0059

local export = {}

function export.show(frame)
  return mw.loadData("Module:R:L&S/collision-data")[string.lower(frame.args[1])] == nil  and "no-collision" or "collision"
end    
    
return export