打开/关闭搜索
搜索
打开/关闭菜单
通知
打开/关闭个人菜单
查看“模块:系列”的源代码
来自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 wikitext = '' for voice_drama in series do if type(voice_drama) == 'table' then wikitext = wikitext + '* [[' + voice_drama['name'] + ']] ー ' + voice_drama['note'] + '\n' else wikitext = wikitext + '* [[' + voice_drama + ']]\n' end end return wikitext end return p
本页使用的模板:
模块:系列/doc
(
查看源代码
)
返回
模块:系列
。