మాడ్యూల్:Link language
Jump to navigation
Jump to search
local p = {}
local cfg = mw.loadData ('Module:Citation/CS1/Configuration')
function p.lang_render(frame)
local lang = frame.args[1]
lang = lang and mw.text.trim(lang)
if lang and lang ~= '' then
return mw.message.newRawMessage(cfg.messages['language'], lang):plain()
else
return 'no language specified'
end
end
return p