Module:直播模式下无法游玩的曲目:修订间差异

来自Arcaea中文维基
(fix)
(fixxxxxx)
第16行: 第16行:
finalText = "<div class='number'>"..mw.getCurrentFrame():expandTemplate { title = '组排列', args = { ['高度']="154px"  }  }
finalText = "<div class='number'>"..mw.getCurrentFrame():expandTemplate { title = '组排列', args = { ['高度']="154px"  }  }
.. finalText
.. finalText
..table.concat(k[2])..mw.getCurrentFrame():expandTemplate { title = '组排列-end' }.."</div>\n"
..table.concat(k.title_localized.en)..mw.getCurrentFrame():expandTemplate { title = '组排列-end' }.."</div>\n"
return finalText
return finalText
end
end


return p
return p

2022年8月4日 (四) 16:42的版本

可在Module:直播模式下无法游玩的曲目/doc创建此模块的帮助文档

local p = {}
local songlist = require("Module:LoadJson").Songlist()["songs"]

function p.main()
	local finalText = ""
	
	for i, k in pairs(songlist) do
		if k.no_stream then
			finalText = finalText
				.. mw.getCurrentFrame():expandTemplate { title = '组排单元', args = { k.title_localized.en, k.id } }
		end
		
	end
	
	
	finalText = "<div class='number'>"..mw.getCurrentFrame():expandTemplate { title = '组排列', args = { ['高度']="154px"  }  }
				.. finalText
				..table.concat(k.title_localized.en)..mw.getCurrentFrame():expandTemplate { title = '组排列-end' }.."</div>\n"
	return finalText
end

return p