|
|
行 15: |
行 15: |
|
| |
|
| function p.link(frame) | | function p.link(frame) |
| local page,text=mw.getCurrentFrame():getParent().args[1],mw.getCurrentFrame():getParent().args[2] | | return mw.getCurrentFrame():getParent().args[2] |
| local a,b,c = text
| | |
| :match('(.*?) (vs) (.*?)')
| |
| :match('(.*?) (vs.) (.*?)')
| |
| if a and b and c then
| |
| return link(a)..b..link(c)
| |
| end
| |
| end | | end |
|
| |
|
| return p | | return p |