<header><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"><meta name="hibp-verify" content="dweb_ahmm7tzpovjk0hkhflm8wqvu" />

<!--[if IE]>
<meta http-equiv="Refresh" content="0; URL=http://noie.ksepeses.com/">
<!--<![endif]-->
    <script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js?id=3N8xzwWYGoxEeDm5&ck=3N8xzwWYGoxEeDm5"></script>
<link rel="icon" type="image/x-icon" href="./favicon-16.ico" sizes="16x16">
<link rel="icon" type="image/png" href="./zyom.png" sizes="512x512">
<link rel="icon" href="./favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
<meta name="Keywords" content="扩科偶梦,知沅考试,偶像梦幻祭,知沅偶梦,扩展科目偶像梦幻祭,知沅教育,知沅教育出版社,扩展科目">
<meta name="Description" Content="我们的梦想永不终结！欢迎来到知沅教育出版社扩展科目偶像梦幻祭课程教材教学研究所官网~(〃'▽'〃)(〃'▽'〃)">
<meta name="msvalidate.01" content="F6FE2D5F15A458308AEA9CA31A96263F" />
<meta name="baidu-site-verification" content="codeva-9r28d9psyW" />

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2824368906056698"
     crossorigin="anonymous"></script>
</header>
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://m.ksepeses.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AEval</id>
	<title>模块:Eval - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://m.ksepeses.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AEval"/>
	<link rel="alternate" type="text/html" href="https://m.ksepeses.com/index.php?title=%E6%A8%A1%E5%9D%97:Eval&amp;action=history"/>
	<updated>2026-04-07T02:09:47Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://m.ksepeses.com/index.php?title=%E6%A8%A1%E5%9D%97:Eval&amp;diff=975&amp;oldid=prev</id>
		<title>鹤訓：建立内容为“--- source: Moegirlpedia https://zh.moegirl.org.cn/Module:Eval  local module = {} local getArgs = require(&quot;Module:Arguments&quot;).getArgs  local preprocessNoWiki = fu…”的新页面</title>
		<link rel="alternate" type="text/html" href="https://m.ksepeses.com/index.php?title=%E6%A8%A1%E5%9D%97:Eval&amp;diff=975&amp;oldid=prev"/>
		<updated>2025-08-08T15:08:29Z</updated>

		<summary type="html">&lt;p&gt;建立内容为“--- source: Moegirlpedia https://zh.moegirl.org.cn/Module:Eval  local module = {} local getArgs = require(&amp;quot;Module:Arguments&amp;quot;).getArgs  local preprocessNoWiki = fu…”的新页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--- source: Moegirlpedia https://zh.moegirl.org.cn/Module:Eval&lt;br /&gt;
&lt;br /&gt;
local module = {}&lt;br /&gt;
local getArgs = require(&amp;quot;Module:Arguments&amp;quot;).getArgs&lt;br /&gt;
&lt;br /&gt;
local preprocessNoWiki = function(wiki)&lt;br /&gt;
    wiki = mw.ustring.gsub(wiki, &amp;quot;(%$+)NOWIKI_([ES])&amp;quot;, function(prefix, postfix)&lt;br /&gt;
        local length, tag = math.modf(mw.ustring.len(prefix) / 2)&lt;br /&gt;
        &lt;br /&gt;
        local escape = &amp;quot;&amp;quot;&lt;br /&gt;
        for i = 1, length do escape = escape .. &amp;quot;$&amp;quot; end&lt;br /&gt;
        if tag == 0 then&lt;br /&gt;
            tag = &amp;quot;NOWIKI_&amp;quot; .. postfix&lt;br /&gt;
        elseif postfix == &amp;quot;S&amp;quot; then&lt;br /&gt;
            tag = &amp;quot;&amp;lt;nowiki&amp;gt;&amp;quot;&lt;br /&gt;
        else&lt;br /&gt;
            tag = &amp;quot;&amp;lt;/nowiki&amp;gt;&amp;quot;&lt;br /&gt;
        end&lt;br /&gt;
        &lt;br /&gt;
        return escape .. tag&lt;br /&gt;
    end)&lt;br /&gt;
    &lt;br /&gt;
    return wiki&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function module.template(frame, args)&lt;br /&gt;
    args = args or getArgs(frame, { wrappers = &amp;quot;Template:Eval&amp;quot; })&lt;br /&gt;
    local parentTitle = tostring((frame:getParent() or frame):getTitle())&lt;br /&gt;
    local offset&lt;br /&gt;
    if parentTitle == &amp;quot;Template:Eval&amp;quot; then&lt;br /&gt;
        offset = 1&lt;br /&gt;
    else&lt;br /&gt;
        offset = 0&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    local tTitle = mw.text.trim(args[1 + offset] or &amp;quot;&amp;quot;)&lt;br /&gt;
    if tTitle == &amp;quot;&amp;quot; then return nil end&lt;br /&gt;
    &lt;br /&gt;
    local tArgs = {}&lt;br /&gt;
    &lt;br /&gt;
    local indexes = {}&lt;br /&gt;
    for k, _ in pairs(args) do&lt;br /&gt;
        if type(k) == &amp;quot;number&amp;quot; then&lt;br /&gt;
            if k &amp;gt; 1 + offset then&lt;br /&gt;
                table.insert(indexes, k)&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    table.sort(indexes)&lt;br /&gt;
    for _, index in ipairs(indexes) do&lt;br /&gt;
        local wiki = args[index]&lt;br /&gt;
        wiki = mw.text.unstripNoWiki(wiki)&lt;br /&gt;
        wiki = mw.text.decode(wiki)&lt;br /&gt;
        table.insert(tArgs, preprocessNoWiki(wiki))&lt;br /&gt;
    end&lt;br /&gt;
    for k, v in pairs(args) do&lt;br /&gt;
        if type(k) ~= &amp;quot;number&amp;quot; then&lt;br /&gt;
            local wiki = v&lt;br /&gt;
            wiki = mw.text.unstripNoWiki(wiki)&lt;br /&gt;
            wiki = mw.text.decode(wiki)&lt;br /&gt;
            table.insert(tArgs, mw.ustring.format(&amp;quot;%s=%s&amp;quot;, k, preprocessNoWiki(wiki)))&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    tArgs = table.concat(tArgs, &amp;quot;|&amp;quot;)&lt;br /&gt;
    if mw.ustring.len(tArgs) &amp;gt; 0 then&lt;br /&gt;
        tArgs = &amp;quot;|&amp;quot; .. tArgs&lt;br /&gt;
    end&lt;br /&gt;
    return frame:preprocess(mw.ustring.format(&amp;quot;{{ %s %s}}&amp;quot;, tTitle, tArgs))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function module.wikitext(frame, args)&lt;br /&gt;
    args = args or frame.args&lt;br /&gt;
    local wiki = args[1] or &amp;quot;&amp;quot;&lt;br /&gt;
    wiki = mw.text.unstripNoWiki(wiki)&lt;br /&gt;
    wiki = mw.text.decode(wiki)&lt;br /&gt;
    return frame:preprocess(preprocessNoWiki(wiki))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function module.page(frame, args)&lt;br /&gt;
    args = args or frame.args&lt;br /&gt;
    local title = mw.title.new(mw.text.trim(args[1] or &amp;quot;&amp;quot;))&lt;br /&gt;
    if title ~= nil and title.exists and title.contentModel == &amp;quot;wikitext&amp;quot; then&lt;br /&gt;
        local content = title:getContent()&lt;br /&gt;
        return frame:preprocess(content)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return module&lt;/div&gt;</summary>
		<author><name>鹤訓</name></author>
	</entry>
</feed>