Content deleted Content added
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 8:
end
function p.
if not page then return (frame.args['no'] or '') end
s = mw.ustring.gsub(s, '[Mm]etre', 'm')▼
if mw.title.new(page).exists then return (frame.args['yes'] or 'yes') end
return (frame.args['no'] or '')
end
function p.lists(frame)
local s =
s = mw.ustring.gsub(s, '
s = mw.ustring.gsub(s, '</ol>%s*([
s = mw.ustring.gsub(s, '</ul>%s*([
s = mw.ustring.gsub(s, '
return s
end
Line 70 ⟶ 62:
function p.hasOSM(frame)
return getBestStatement(mw.wikibase.getEntityIdForCurrentPage(), 'P402') and 'yes' or 'no'
end
function p.chart(frame)
local chart = require('Module:Chart')['bar-chart']
return chart(frame)
end
|