Difference between revisions of "Module:Portal bar/doc"
Jump to navigation
Jump to search
test>Mr. Stradivarius (create) |
test>Mr. Stradivarius (update with border=no info) |
||
| Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
| − | {{#invoke:Portal bar|main|''portal 1''|''portal 2 ''|...}} | + | {{#invoke:Portal bar|main|''portal 1''|''portal 2 ''|...|border=''no''}} |
| + | |||
| + | == Parameters == | ||
| + | |||
| + | * Positional parameters - the names of the portals to be displayed. | ||
| + | * <code>border</code> - if {{para|border|no}} then the output has no border. | ||
== Examples == | == Examples == | ||
| Line 14: | Line 19: | ||
{{#invoke:portal bar|main|Art|Science|Literature}} | {{#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]]. | For further examples, see [[Template:Portal bar/testcases]]. | ||
Revision as of 09:49, 29 September 2013
| This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
This module implements the {{portal bar}} template. It displays a horizontal bar of portals.
Contents
Usage
{{#invoke:Portal bar|main|portal 1|portal 2 |...|border=no}}
Parameters
- Positional parameters - the names of the portals to be displayed.
border- if|border=nothen the output has 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.