Module:Bankable items: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1:
local
local pt = require('Module:Paramtest')
p = {}
Line 11:
local use_cols = pt.has_content(cols) or pt.has_content(col_width)
local
"[[Bank::"..bank.."]]",
limit = 4000
}
if askdata == nil then
mw.logObject(data)▼
return ":''No bankable items found. To force an update, click "
..purge('dml-'..mw.uri.anchorEncode(bank), 'here', 'span')
..".''"
end
data = {}
for _,d in ipairs(askdata) do
for _,v in ipairs(d) do
table.insert(data, v)
end
end
▲ mw.logObject(data)
ret = mw.html.create('ul')
for _,value in ipairs(data) do
ret:tag('li'):wikitext(
end
if use_cols then
|