打开主菜单

少前百科GFwiki β

更改

模块:Enemy info

删除231字节2022年9月11日 (日) 19:09
无编辑摘要
local function addPics()
local pic1 = tostring(mw.html.create():wikitext('[[media:pic '..udata.code..' LL.png]]')) node:tag('div'):attr('data-test', pic1)-- local start = mw.ustring.find(pic1, '/images', 1, true)[1]-- local ending = (select(2, mw.ustring.find(pic1, '.png', start, true)))-- node:tag('div'):wikitext(currentframe():expandTemplate{title='立绘切换', args={-- ['融合势力'] = 1, pic = 1, name1 = '初始立绘', pic1 = mwcurrentframe():callParserFunction('filepath', 'pic '..udata.code.ustring.sub(pic1, start, ending' LL.png')-- }})
end