<?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%3ASubject_bar%2Fdoc</id>
	<title>模块:Subject bar/doc - 版本历史</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%3ASubject_bar%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:Subject_bar/doc&amp;action=history"/>
	<updated>2026-05-15T05:29:55Z</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:Subject_bar/doc&amp;diff=6471&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{module rating|release}} {{high use}} {{Lua|Module:Portal bar|Module:Sister project links|Module:TableTools|Module:Arguments}} This module implements the {{tl|Subject bar}} template. Please don&#039;t use this module from an article or from another wiki page. You should use the {{tl|Subject bar}} template instead. To use the module from another Lua module, read on.   For test cases, see {{tl|Subject bar/testcases}}.  == Use from another Lua module ==  Load the modu…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:Subject_bar/doc&amp;diff=6471&amp;oldid=prev"/>
		<updated>2024-01-20T12:23:51Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{module rating|release}} {{high use}} {{Lua|Module:Portal bar|Module:Sister project links|Module:TableTools|Module:Arguments}} This module implements the {{tl|Subject bar}} template. Please don&amp;#039;t use this module from an article or from another wiki page. You should use the {{tl|Subject bar}} template instead. To use the module from another Lua module, read on.   For test cases, see {{tl|Subject bar/testcases}}.  == Use from another Lua module ==  Load the modu…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{module rating|release}}&lt;br /&gt;
{{high use}}&lt;br /&gt;
{{Lua|Module:Portal bar|Module:Sister project links|Module:TableTools|Module:Arguments}}&lt;br /&gt;
This module implements the {{tl|Subject bar}} template. Please don&amp;#039;t use this module from an article or from another wiki page. You should use the {{tl|Subject bar}} template instead. To use the module from another Lua module, read on. &lt;br /&gt;
&lt;br /&gt;
For test cases, see {{tl|Subject bar/testcases}}.&lt;br /&gt;
&lt;br /&gt;
== Use from another Lua module ==&lt;br /&gt;
&lt;br /&gt;
Load the module like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local subjectBar = require(&amp;#039;Module:Subject bar&amp;#039;)._main&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you can use the &amp;lt;code&amp;gt;subjectBar&amp;lt;/code&amp;gt; function like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local myBar = subjectBar{&lt;br /&gt;
    portal = &amp;#039;Portal 1&amp;#039;,&lt;br /&gt;
    portal2 = &amp;#039;Portal 2&amp;#039;,&lt;br /&gt;
    -- ...&lt;br /&gt;
    commons = true,&lt;br /&gt;
    commons-search = &amp;#039;Commons search string&amp;#039;,&lt;br /&gt;
    wikt = true,&lt;br /&gt;
    wikt-search = &amp;#039;Wiktionary search string&amp;#039;&lt;br /&gt;
    -- ...&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please see [[Template:Subject bar/doc]] for a full list of possible parameters.&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>