Module:Greek

require('strict')

local p = {} --p stands for package

local getArgs = require('Module:Arguments').getArgs local lang = require('Module:Lang')._lang local wikt_link = require('Module:Wikt')._wikt

function p._greek(args) local text = args[1] local wikt = args.wikt or args[2] local content = text if wikt then content = wikt_link({			['link'] = wikt,			['text'] = text,			['anchor'] = 'Ancient Greek'		}) end

return lang({		['lang'] = 'grc',		['class'] = 'wst-lang-grc',		['text'] = content	}) end

function p.greek(frame) return p._greek(getArgs(frame)) end

return p