Difference between revisions of "Module:Portal bar/doc"

From blackwiki
Jump to navigation Jump to search
test>Dreamy Jazz
(add)
test>Dreamy Jazz
(→‎Usage: add)
Line 10: Line 10:
 
* Positional parameters - the names of the portals to be displayed.
 
* 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>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 ==
 
== Examples ==

Revision as of 12:04, 10 February 2019

This module implements the {{portal bar}} template. It displays a horizontal bar of portals.

Usage

{{#invoke:Portal bar|main|''portal 1''|''portal 2 ''|...|border=''no''}}
  • Positional parameters - the names of the portals to be displayed.
  • border - if |border= is equal to no, n, false, or 0, then the portal box will have no border.
  • redlinks - if |redlinks= is equal to yes, y, true or include, then the portal box will show redlinked portals

Examples

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

Produces:


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

Produces:


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.