4,599
edits
(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 [[ | -- 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 = {} |