Module:Fullurl: Difference between revisions
创建页面,内容为“local p = {} local yesno = require('Module:Yesno') local mError = require('Module:Error').error function p._fullurl(args) local paid = '' local title = args['title'] or args[1] or args['1'] or tostring(mw.title.getCurrentTitle()) if title == '' then --不能讓title變空值,否則url會返回nil title = tostring(mw.title.getCurrentTitle()) end local text = args['text'] or args[2] or args['1'] or title for k, v in pairs( args ) do if ((k == 'titl…” |
m 1 revision imported |
||
(No difference)
|