--[=[ |默認投影=網安精英 |默認描述= 要偽裝成他人對一個白帽客來說很容易,要安心做自己卻很難。 |擴容Live2D=1 |完形投影= 天網深潛者 |完形描述= 在對白帽客展開攻擊時,好好想想自己是不是那條待釣的魚。 |完形Live2D=1 |投影1=銀裝初上 |系列1=聖夜邀約 |描述1=“給我的?唔……就當是幫你佈置派對的報酬吧。” 雪色的衣袂與粉紅的臉頰相映,看來會是個愉快的夜晚呢。 |模型1=1 |投影2=最初口令 |系列2=喚醒 |描述2=保護您的信息安全?從喚醒我的第一秒開始,我就在做了哦。 |模型2=1 |Live2D2= |投影3=二象性·安冬妮娜 |系列3=愚者二象性 |描述3=加油吧安冬妮娜二號,今天還有十個需求和三十個bug要處理哦~ |投影4=黑帷幕之曲 |系列4=永夜遊行 |描述4=操弄邪惡魔力的女巫,在詭海之中興風作浪。你是否有應約一同前往冒險的勇氣呢? “作為平時的回禮,教授,讓我們一起好好享受萬聖節吧。公報私仇?怎麼會呢。” |模型4=絲襪可脫 |Live2D4=鞋可脫 ]=] return { ['投影'] = function(frame) local args = frame.args local skins = {insert = table.insert, concat = table.concat} local fmt = '%s(%s)%s\n%s' -- 默認、擴容 local options = {} if args['默認Live2D'] then table.insert(options, '\n*Live2D') end if args['擴容Live2D'] then table.insert(options, '\n*擴容Live2D') end if args['擴容動態立繪'] then table.insert(options, '\n*擴容動態立繪') end skins:insert( mw.ustring.format( fmt, args['默認投影'], '默認投影', table.concat(options), args['默認描述'] ) ) -- 完形 options = {} if args['完形模型'] then table.insert(options, '\n*模型') end if args['完形Live2D'] then table.insert(options, '\n*Live2D') end if args['完形動態立繪'] then table.insert(options, '\n*動態立繪') end skins:insert( mw.ustring.format( fmt, args['完形投影'], '完形投影', table.concat(options), args['完形描述'] ) ) -- 額外 local i = 1 while args['投影'..i] or args['系列'..i] do local options = {} for _, v in ipairs({'模型', 'Live2D', '動態立繪'}) do if args[v..i] and mw.text.trim(args[v..i]) ~= '' then table.insert(options, '\n*'..v) end end skins:insert( mw.ustring.format( fmt, args['投影'..i] or '', args['系列'..i] or '', table.concat(options), args['描述'..i] or '' ) ) i = i + 1 end return skins:concat('\n----\n') end }