पटलम्:अनुक्रमणिकायाः एक्स्टेन्शन्
"इस मॉड्यूल हेतु प्रलेख पटलम्:अनुक्रमणिकायाः एक्स्टेन्शन्/doc पर बनाया जा सकता है"
local p={}
function p.test(frame)
local title=mw.title.getCurrentTitle()
local result=""
-- If we are on an Index page
if title.namespace==102 then
if string.find(string.lower(title.text),"%.djvu")~=nil then
result="[[वर्गः:डिजेवियु अनुक्रमणिकापृष्ठम्]]"
end
if string.find(string.lower(title.text),"%.pdf")~=nil then
result="[[वर्गः:पिडिएफ् अनुक्रमणिकापृष्ठम्]]"
end
end
return result
end
return p