편집 요약 없음 |
편집 요약 없음 |
||
| 143번째 줄: | 143번째 줄: | ||
local nextchar = ustring.char(p.code(curr, 'r10', 1)) | local nextchar = ustring.char(p.code(curr, 'r10', 1)) | ||
if args['템플릿'] and mw.title.new(nextchar).exists == false then | if args['템플릿'] and mw.title.new(nextchar).exists == false then | ||
next = '<div | local link = require('Module:linkwithtemplate').test | ||
next = '<div>'..link({ | |||
['템플릿'] = args['템플릿'], | |||
['editintro'] = args['editintro'], | |||
[1] = prefix..nextchar, | |||
[2] = '<div>'..nextchar..'<br>→</div>' | |||
}) | |||
else | else | ||
next = ustring.format('[[%s|<div>%s<br>→</div>]]', nextchar, nextchar) | next = ustring.format('[[%s|<div>%s<br>→</div>]]', nextchar, nextchar) | ||