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

From blackwiki
Jump to navigation Jump to search
test>Mr. Stradivarius
(→‎Parameters: include other possible border= values)
test>Rezonansowy
(Technicals, style)
Line 5: Line 5:
 
== Usage ==
 
== Usage ==
  
  {{#invoke:Portal bar|main|''portal 1''|''portal 2 ''|...|border=''no''}}
+
  <nowiki>{{#invoke:Portal bar|main|''portal 1''|''portal 2 ''|...|border=''no''}}</nowiki>
 
 
== Parameters ==
 
  
 
* Positional parameters - the names of the portals to be displayed.
 
* Positional parameters - the names of the portals to be displayed.
Line 13: Line 11:
  
 
== Examples ==
 
== Examples ==
 
 
*<code><nowiki>{{#invoke:portal bar|main|Art|Science|Literature}}</nowiki></code>
 
*<code><nowiki>{{#invoke:portal bar|main|Art|Science|Literature}}</nowiki></code>
  
Line 29: Line 26:
  
 
== Images ==
 
== Images ==
 
 
This module uses [[Module:Portal]] to get portal images. To add, change, or remove images, please see the instructions at [[Module:Portal#Image]].
 
This module uses [[Module:Portal]] to get portal images. To add, change, or remove images, please see the instructions at [[Module:Portal#Image]].

Revision as of 18:52, 7 December 2013

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.

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.