မေႃႇၵျူး:Quotations/grc/data/doc
This is the documentation page for မေႃႇၵျူး:Quotations/grc/data
return function (title, cats, lang_code, data_suffix)
local lang = require("Module:languages").getByCode(lang_code)
if not lang then
return "This module has an invalid language code in the title: " .. lang_code .. "
."
end
local error_message = ""
if not require("Module:Quotations").hasData[lang_code] then
error_message = ' The language code ' .. lang_code
.. " needs to be added to the
"
end
-- Modules where data_suffix == "" could be put in "language modules" categories
-- instead of "language data modules".
cats:insert("Quotation data modules|" .. lang_code)
cats:insert(lang:getCanonicalName() .. " data modules|Quotations")
return "This module contains data for works in "
.. lang:makeCategoryLink()
.. " and is used to format the parameters of hasData
table in Module:Quotations.{{Q|" .. lang_code .. "|...}}
."
.. error_message
end