<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AString2BulletedList</id>
	<title>模块:String2BulletedList - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AString2BulletedList"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:String2BulletedList&amp;action=history"/>
	<updated>2026-04-04T05:52:02Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:String2BulletedList&amp;diff=1058&amp;oldid=prev</id>
		<title>2023年7月25日 (二) 06:35 Zeroclanzhang</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:String2BulletedList&amp;diff=1058&amp;oldid=prev"/>
		<updated>2023-07-25T06:35:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Module:StringSplit2BulletedList&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.bulletedList(frame)&lt;br /&gt;
    -- Get the input string from the template&lt;br /&gt;
    local input = frame.args[1] or &amp;#039;&amp;#039;&lt;br /&gt;
    -- Get the prefix and suffix from the template&lt;br /&gt;
    local prefix = &amp;#039;{{Pcnodeoutput|&amp;#039;&lt;br /&gt;
    local suffix = &amp;#039;}}&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    -- Split the input string by space into a table&lt;br /&gt;
    local keywords = mw.text.split(input, &amp;#039;;%s*&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
    -- Create the bulleted list from the table&lt;br /&gt;
    local list = mw.html.create(&amp;#039;ul&amp;#039;)&lt;br /&gt;
    for i, keyword in ipairs(keywords) do&lt;br /&gt;
        list:tag(&amp;#039;li&amp;#039;):wikitext(prefix .. keyword .. suffix):done()&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    return tostring(list)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>