打开/关闭搜索
搜索
打开/关闭菜单
1.5K
12.7K
93
35.3K
Cookie☆Wiki
导航
首页
alt-z
最近更改
alt-r
随机页面
alt-x
帮助
沙盒
特殊页面
alt-q
上传文件
alt-u
常用
曲奇简介
用语列表
人物一览
曲奇团体
曲奇年表
本篇列表
榜单列表
专辑列表
创作
音MAD
曲奇静画
曲奇实况
曲奇素材
BB剧场
漫画
同人游戏
曲奇实况
与曲奇有交集的内容
淫梦
东方Project
漫画日本昔话
biim兄贵致敬
QVC福岛
哲♂学
创价
YouTuber
恒心教
VOCALOID
运营批判
友情链接
Cookie☆贴吧
真夏夜的银梦贴吧
中文音MAD维基
潮学维基
银饼视频搜索站
中文曲奇维基Fandom站[已弃用]
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
alt-o
查看“︁模块:系列”︁的源代码
来自Cookie☆Wiki
查看
阅读
查看源代码
查看历史
associated-pages
模块
讨论
更多操作
←
模块:系列
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
local p = {} local series_table = mw.loadData('Module:系列/data') --! 生成声剧系列的列表 --! @param 1 系列名 function p.generate_list() local frame = mw.getCurrentFrame() local series_name = frame.args[1] if series_name == nil then return '' end series = series_table[series_name] if series == nil then return '' end local wikitext = '' local name_of_this_voice_drama = frame.args[2] local item_count = 0 for _, voice_drama in ipairs(series) do if type(voice_drama) == 'string' then voice_drama = { name = voice_drama } else end local hide_for = voice_drama['hide_for'] if hide_for ~= nil then if type(hide_for) == 'string' then hide_for = { hide_for } end for _, vd_h in ipairs(hide_for) do if name_of_this_voice_drama == vd_h then hide_for = true break end end if hide_for ~= true then hide_for = false end end if not hide_for then local name = voice_drama['name'] if name_of_this_voice_drama ~= name then item_count = item_count + 1 end wikitext = wikitext .. '* [[' .. name .. ']]' local note = voice_drama['note'] if note ~= nil then wikitext = wikitext .. ' ー ' .. note end wikitext = wikitext .. '\n' end end if item_count == 0 then return '' end return wikitext end return p
该页面使用的模板:
模块:系列/doc
(
查看源代码
)
返回
模块:系列
。