Module:Portal bar/doc

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

See Portal bar/testcases for testcases.

Note: in order to make the test cases work, the Sandbox CSS classes have "-sand" 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 not alter the class names, nor just copy-paste the entire CSS file. For the current difference in CSS between Sandbox and Main, see here.

Usage

 * Positional parameters - the names of the portals to be displayed.
 * - if border is equal to,  ,  , or  , then the portal box will have no border.
 * - if redlinks is equal to,  ,   or  , then the portal box will show redlinked portals

Examples


Produces:



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.