Module:Transclusion count: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local p = {} function p.fetch(frame) local template = nil local return_value = nil -- Use demo parameter if it exists, otherswise use current template name local namespace = mw.title.getCurrentTitle().namespace if frame.args["demo"] and frame.args["demo"] ~= "" then template = frame.args["demo"] elseif namespace == 10 then -- Template namespace template = mw.title.getCurrentTitle().text elseif namespace == 828 then -- Module namespace template = (mw.site.n...")
No edit summary
Line 41: Line 41:
end
end


-- Tabulate this data for [[Wikipedia:Database reports/Templates transcluded on the most pages]]
-- Tabulate this data for [[Stiles.casa Wiki:Database reports/Templates transcluded on the most pages]]
function p.tabulate(frame)
function p.tabulate(frame)
local list = {}
local list = {}

Navigation menu