Changes

MyWikiBiz, Author Your Legacy — Thursday October 09, 2025
Jump to navigationJump to search
1,233 bytes added ,  05:24, 16 July 2021
Pywikibot 6.4.0
{{module rating|protected}}
{{High-use|76391}}

This module implements the {{tl|portal bar}} template. It displays a horizontal bar of [[WP:PORTAL|portals]].

== Usage ==

<nowiki>{{#invoke:Portal bar|main|''portal 1''|''portal 2 ''|...|border=''no''}}</nowiki>

* Positional parameters - the names of the portals to be displayed.
* <code>border</code> - if {{para|border}} is equal to <code>no</code>, <code>n</code>, <code>false</code>, or <code>0</code>, then the portal box will have no border.
* <code>redlinks</code> - if {{para|redlinks}} is equal to <code>yes</code>, <code>y</code>, <code>true</code> or <code>include</code>, then the portal box will show redlinked portals

== Examples ==
*<code><nowiki>{{#invoke:portal bar|main|Art|Science|Literature}}</nowiki></code>

Produces:

{{#invoke:portal bar|main|Art|Science|Literature}}

*<code><nowiki>{{#invoke:portal bar|main|Art|Science|Literature|border=no}}</nowiki></code>

Produces:

{{#invoke:portal bar|main|Art|Science|Literature|border=no}}

For further examples, see [[Template:Portal bar/testcases]].

== Images ==
This module uses [[Module:Portal]] to get portal images. To add, change, or remove images, please see the instructions at [[Module:Portal#Image]].

Navigation menu