用户:攸萨/手册:修订间差异

跳到导航 跳到搜索
删除639字节 、​ 2024年4月26日 (星期五)
无编辑摘要
无编辑摘要
标签已被回退
无编辑摘要
(未显示同一用户的99个中间版本)
第1行: 第1行:
table.insert(res_table, string.format("\n{|class=\"%s %s\" ", table_class, "nodesktop"))
==【天坑区活动】新作抽獎活動==
table.insert(res_table, "style=\"width:100%;line-height:18px;text-align:center;display:table;white-space:normal;font-size:unset;\"\n")
{{活动简介右侧栏
|活动名        =【天坑区活动】<br>新作抽獎活動
if not playable then table.insert(res_table, string.format("|-\n! colspan=\"2\" |'''%s'''", title)) end
|所属版区  = [[天坑开发中心]]
|活动时间  = 2024.03.22-2024.03.24}}
for i = 1, max_pieces do
===活动内容===
local piece_title = mw.text.trim(args["标题" .. i] or "")
{{活动内容
if piece_title ~= "" then
|宣传词=
local piece_jp = mw.text.trim(args["日文" .. i] or "")
大家好呀,我是天坑[[版主]]亞克
local piece_cn = mw.text.trim(args["中文" .. i] or "")
local piece_cond = mw.text.trim(args["条件" .. i] or "")
local piece_file = mw.text.trim(args["语音" .. i] or "")
table.insert(res_table, string.format("\n|-\n!style=\"position:sticky;top:0;\"|'''%s'''\n", piece_title))
table.insert(res_table, string.format("\n!style=\"position:sticky;top:0;width:%dpx;\"|", playable and 60 or 30))
if piece_file ~= "" then
local piece_file_url = frame:callParserFunction{name = 'filepath:' .. piece_file}
local player_args = {icon_width = '27px', src = piece_file_url}
if piece_file_url == "" then
player_args["download_style"] = "display:none;"
player_args["play_style"] = "display:none;"
end
if not playable then player_args["download_style"] = "display:none;" end
table.insert(res_table, frame:callParserFunction{name = '#Widget:MiniAudioPlayer', args = player_args})
end
table.insert(res_table, string.format("\n|-\n|colspan=\"%d\" style=\"text-align:left;\"|", (playable and 3 or 2)))
if playable and piece_jp ~= "" and piece_cn ~= "" then
table.insert(res_table, "<p lang=\"ja\" style=\"margin:5px;margin-bottom:10px\">" .. piece_jp .. "</p><p style=\"margin:5px;\">" .. piece_cn)
elseif piece_cn ~= "" then
table.insert(res_table, "<p style=\"margin:5px;\">" .. piece_cn)
else
table.insert(res_table, "<p lang=\"ja\" style=\"margin:5px;\">" .. piece_jp)
end


table.insert(res_table, ((piece_cond ~= "") and string.format("'''(%s)'''</p>", piece_cond) or "</p>"))
因為被委託了,所以就來幫忙一下宣传新作即將上市,
end
 
end
為此將送出10個DLSite的新作序號
|主题链接=[https://sstm.moe/topic/353400-1 【新作抽獎活動結束】異世界出身の私が歌舞伎町で闇バイト始めました]{{上角标|里}}
table.insert(res_table, "\n|}")
|主题=
*[https://sstm.moe/topic/353400-1 【新作抽獎活動結束】異世界出身の私が歌舞伎町で闇バイト始めました]{{上角标|里}}
*[https://sstm.moe/topic/353374-1 消息預告]
*[https://sstm.moe/topic/353401-1 抽獎以及紅包資訊]
*[https://sstm.moe/topic/353450-1 【抽獎】即將截止]
*[https://sstm.moe/topic/353455-1 【中獎名單】異世界出身の私が歌舞伎町で闇バイト始めました]{{上角标|里}}
|方式=
*活动期间内根据活动规则,在指定问卷中回答,结束后会进行抽奖并公布结果。
|规则=
*活动方面每人仅有一次的投票机会,若中奖可以选择转交奖品,所有中奖者需要在七日内做出领取或是转让奖品的回应。
|奖励=
*活动中奖者就可以获得活动指定作品的游戏序号。
}}
 
 
{{活动导览|活动导览/天坑开发中心}}
[[分类:天坑开发中心]]
15,321

个编辑

导航菜单