Module:High-use: Difference between revisions
m
1 revision imported: Import Template:Ping (group) from Wikipedia
m (Protected "Module:High-use": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
Psephomancy (talk | contribs) m (1 revision imported: Import Template:Ping (group) from Wikipedia) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 36:
if frame.args["all-pages"] and frame.args["all-pages"] ~= "" then
local percent = math.floor( ( (count/frame:callParserFunction('NUMBEROFPAGES', 'R') ) * 100) + 0.5)
return_value = string.format("%s pages,
end
end
Line 82:
info = "<br />" .. frame.args["info"]
end
sandbox_text = string.format(".%s<br /> To avoid
info, sandbox_text
)
else
sandbox_text = string.format("
sandbox_text
)
end
local discussion_text = "
if frame.args["2"] and frame.args["2"] ~= "" and frame.args["2"] ~= "yes" then
discussion_text = string.format("%sat [[%s]]", discussion_text, frame.args["2"])
|