Editing Module:Documentation
Appearance
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 36: | Line 36: | ||
local p = {} | local p = {} | ||
p.i18n = i18n | p.i18n = i18n | ||
-- -------------------------------------------------------------------------- | -- -------------------------------------------------------------------------- | ||
| Line 142: | Line 136: | ||
function p.resolveNamespace(subjectSpace, upperPlural) | function p.resolveNamespace(subjectSpace, upperPlural) | ||
if subjectSpace == 10 then -- Template namespace | if subjectSpace == 10 then -- Template namespace | ||
if upperPlural then return ' | if upperPlural then return 'templates' | ||
else return 'template' end | else return 'template' end | ||
elseif subjectSpace == 828 then -- Module namespace | elseif subjectSpace == 828 then -- Module namespace | ||
if upperPlural then return ' | if upperPlural then return 'modules' | ||
else return 'module' end | else return 'module' end | ||
elseif subjectSpace == 6 then -- File namespace | elseif subjectSpace == 6 then -- File namespace | ||
if upperPlural then return ' | if upperPlural then return 'files' | ||
else return 'file' end | else return 'file' end | ||
end | end | ||