<?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%3APortal_bar%2Fdoc</id>
	<title>模块:Portal 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%3APortal_bar%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:Portal_bar/doc&amp;action=history"/>
	<updated>2026-05-15T06:24:05Z</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:Portal_bar/doc&amp;diff=6466&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Sandbox other||{{module rating|protected}} {{High-use}}}} {{Lua|Module:Portal|Module:Yesno|Module:Arguments}} {{Uses TemplateStyles|Module:Portal bar/styles.css}} This module implements the {{tl|portal bar}} template. It displays a horizontal bar of portals.  See here and here for testcases.  &#039;&#039;&#039;Note&#039;&#039;&#039;: in order to make the test cases work, the Sandbox CSS classes…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:Portal_bar/doc&amp;diff=6466&amp;oldid=prev"/>
		<updated>2024-01-20T11:59:48Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Sandbox other||{{module rating|protected}} {{High-use}}}} {{Lua|Module:Portal|Module:Yesno|Module:Arguments}} {{Uses TemplateStyles|Module:Portal bar/styles.css}} This module implements the {{tl|portal bar}} template. It displays a horizontal bar of &lt;a href=&quot;https://en.wikipedia.org/wiki/Portal&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Portal&quot;&gt;portals&lt;/a&gt;.  See &lt;a href=&quot;/index.php?title=%E6%A8%A1%E6%9D%BF:Portal_bar/testcases&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;模板:Portal bar/testcases（页面不存在）&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;/index.php?title=%E6%A8%A1%E6%9D%BF:Related_portals2/testcases&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;模板:Related portals2/testcases（页面不存在）&quot;&gt;here&lt;/a&gt; for testcases.  &amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: in order to make the test cases work, the Sandbox CSS classes…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Sandbox other||{{module rating|protected}}&lt;br /&gt;
{{High-use}}}}&lt;br /&gt;
{{Lua|Module:Portal|Module:Yesno|Module:Arguments}}&lt;br /&gt;
{{Uses TemplateStyles|Module:Portal bar/styles.css}}&lt;br /&gt;
This module implements the {{tl|portal bar}} template. It displays a horizontal bar of [[Wikipedia:Portal |portals]].&lt;br /&gt;
&lt;br /&gt;
See [[Template:Portal bar/testcases|here]] and [[Template:Related portals2/testcases|here]] for testcases.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: in order to make the test cases work, the Sandbox CSS classes have &amp;quot;-sand&amp;quot; appended to their names. If you wish to update the CSS, copy the contents of each class from [[Module:Portal bar/sandbox/styles.css]] to [[Module:Portal bar/styles.css]], but do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; alter the class names, nor just copy-paste the entire CSS file. For the current difference in CSS between Sandbox and Main, see [https://en.wikipedia.org/wiki/Special:ComparePages?page1=Module%3APortal+bar%2Fstyles.css&amp;amp;rev1=&amp;amp;page2=Module%3APortal+bar%2Fsandbox%2Fstyles.css&amp;amp;rev2=&amp;amp;action=&amp;amp;diffonly=&amp;amp;unhide= here].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{#invoke:Portal bar|main|&amp;#039;&amp;#039;portal 1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;portal 2 &amp;#039;&amp;#039;|...|border=&amp;#039;&amp;#039;no&amp;#039;&amp;#039;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Positional parameters - the names of the portals to be displayed.&lt;br /&gt;
* &amp;lt;code&amp;gt;border&amp;lt;/code&amp;gt; - if {{para|border}} is equal to &amp;lt;code&amp;gt;no&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;, then the portal box will have no border.&lt;br /&gt;
* &amp;lt;code&amp;gt;redlinks&amp;lt;/code&amp;gt; - if {{para|redlinks}} is equal to &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;include&amp;lt;/code&amp;gt;, then the portal box will show redlinked portals&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:portal bar|main|Visual arts|Science|Literature}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Produces:&lt;br /&gt;
&lt;br /&gt;
{{#invoke:portal bar|main|Visual arts|Science|Literature}}&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:portal bar|main|Visual arts|Science|Literature|border=no}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Produces:&lt;br /&gt;
&lt;br /&gt;
{{#invoke:portal bar|main|Visual arts|Science|Literature|border=no}}&lt;br /&gt;
&lt;br /&gt;
For further examples, see [[Template:Portal bar/testcases]].&lt;br /&gt;
&lt;br /&gt;
== Images ==&lt;br /&gt;
This module uses [[Module:Portal]] to get portal images. To add, change, or remove images, please see the instructions at [[Module:Portal#Image]].&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>