Module:Look from: Difference between revisions
Jump to navigation
Jump to search
1>蕭漫 No edit summary |
m (1 revision imported) |
(No difference)
|
Latest revision as of 12:17, 23 April 2025
local p = {} local mNS = require('Module:Namespace')
function p._main(args, frame) local overrideNS = args['ns'] local title = args['1'] and mw.title.new(args['1'], overrideNS) or (overrideNS and mw.title.new(mw.title.getCurrentTitle().text, overrideNS) or mw.title.getCurrentTitle())
local text = args['2'] or '名稱以「-{' .. title.prefixedText ..'}-」開頭的所有' .. mNS._NamespacesDisplay(nil, title.namespace)
return '' .. text .. '' end
function p.main(frame) local args = frame:getParent().args return p._main(args, frame) end
return p