Bots, trusted
7,437
edits
m (1 revision imported) |
WikiDwarfBOT (talk | contribs) m (→top: clean up, replaced: Wikipedia: → Bharatpedia:) |
||
Line 36: | Line 36: | ||
if frame.args["all-pages"] and frame.args["all-pages"] ~= "" then | if frame.args["all-pages"] and frame.args["all-pages"] ~= "" then | ||
local percent = math.floor( ( (count/frame:callParserFunction('NUMBEROFPAGES', 'R') ) * 100) + 0.5) | local percent = math.floor( ( (count/frame:callParserFunction('NUMBEROFPAGES', 'R') ) * 100) + 0.5) | ||
return_value = string.format("%s | return_value = string.format("%s pages, or roughly %s%% of all", return_value, percent) | ||
end | end | ||
end | end | ||
Line 79: | Line 79: | ||
(mw.title.getCurrentTitle().namespace == 828 and "module" or "template"), | (mw.title.getCurrentTitle().namespace == 828 and "module" or "template"), | ||
title.fullText, title.fullText, | title.fullText, title.fullText, | ||
(mw.title.getCurrentTitle().namespace == 828 and "." or ", or in your own [[ | (mw.title.getCurrentTitle().namespace == 828 and "." or ", or in your own [[Bharatpedia:Subpages#How to create user subpages|user subpage]].") | ||
) | ) | ||