<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://cznwiki.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3APath</id>
	<title>模块:Path - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://cznwiki.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3APath"/>
	<link rel="alternate" type="text/html" href="https://cznwiki.com/index.php?title=%E6%A8%A1%E5%9D%97:Path&amp;action=history"/>
	<updated>2026-08-02T01:03:52Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://cznwiki.com/index.php?title=%E6%A8%A1%E5%9D%97:Path&amp;diff=17&amp;oldid=prev</id>
		<title>律Rhyme：​创建页面，内容为“local p = {}  function p.main(frame)     local args = frame:getParent().args     local currentPage = mw.title.getCurrentTitle().text      local root = mw.html.create(&#039;div&#039;)         :addClass(&#039;path-breadcrumb&#039;)      root:node(         mw.html.create(&#039;span&#039;)             :addClass(&#039;path-breadcrumb__item&#039;)             :wikitext(&#039;首页&#039;)     )      for _, v in ipairs(args) do         v = mw.text.trim(v)         if v ~= &#039;&#039; then             root:node(…”</title>
		<link rel="alternate" type="text/html" href="https://cznwiki.com/index.php?title=%E6%A8%A1%E5%9D%97:Path&amp;diff=17&amp;oldid=prev"/>
		<updated>2026-08-01T08:20:59Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“local p = {}  function p.main(frame)     local args = frame:getParent().args     local currentPage = mw.title.getCurrentTitle().text      local root = mw.html.create(&amp;#039;div&amp;#039;)         :addClass(&amp;#039;path-breadcrumb&amp;#039;)      root:node(         mw.html.create(&amp;#039;span&amp;#039;)             :addClass(&amp;#039;path-breadcrumb__item&amp;#039;)             :wikitext(&amp;#039;&lt;a href=&quot;/%E9%A6%96%E9%A1%B5&quot; title=&quot;首页&quot;&gt;首页&lt;/a&gt;&amp;#039;)     )      for _, v in ipairs(args) do         v = mw.text.trim(v)         if v ~= &amp;#039;&amp;#039; then             root:node(…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
    local args = frame:getParent().args&lt;br /&gt;
    local currentPage = mw.title.getCurrentTitle().text&lt;br /&gt;
&lt;br /&gt;
    local root = mw.html.create(&amp;#039;div&amp;#039;)&lt;br /&gt;
        :addClass(&amp;#039;path-breadcrumb&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
    root:node(&lt;br /&gt;
        mw.html.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
            :addClass(&amp;#039;path-breadcrumb__item&amp;#039;)&lt;br /&gt;
            :wikitext(&amp;#039;[[首页]]&amp;#039;)&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
    for _, v in ipairs(args) do&lt;br /&gt;
        v = mw.text.trim(v)&lt;br /&gt;
        if v ~= &amp;#039;&amp;#039; then&lt;br /&gt;
            root:node(&lt;br /&gt;
                mw.html.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
                    :addClass(&amp;#039;path-breadcrumb__separator&amp;#039;)&lt;br /&gt;
                    :wikitext(&amp;#039;/&amp;#039;)&lt;br /&gt;
            )&lt;br /&gt;
            root:node(&lt;br /&gt;
                mw.html.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
                    :addClass(&amp;#039;path-breadcrumb__item&amp;#039;)&lt;br /&gt;
                    :wikitext(&amp;#039;[[&amp;#039; .. v .. &amp;#039;]]&amp;#039;)&lt;br /&gt;
            )&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    root:node(&lt;br /&gt;
        mw.html.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
            :addClass(&amp;#039;path-breadcrumb__separator&amp;#039;)&lt;br /&gt;
            :wikitext(&amp;#039;/&amp;#039;)&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
    root:node(&lt;br /&gt;
        mw.html.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
            :addClass(&amp;#039;path-breadcrumb__item path-breadcrumb__item--current&amp;#039;)&lt;br /&gt;
            :wikitext(currentPage)&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
    return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>律Rhyme</name></author>
	</entry>
</feed>