(Translated by https://www.hiragana.jp/)
模組:Look from - 维基百科,自由的百科全书
文档图示 かたぎ块文档[创建]
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 '<span class="selfreference">[[Special:PrefixIndex/' .. title.prefixedText .. '|' .. text .. ']]</span>'
end

function p.main(frame)
	local args = frame:getParent().args
	return p._main(args, frame)
end

return p