Cèṭa'an:Portal bar
Kesalahan: {{Module rating}} kodhu èpalebbhu nâng ruang nyama Module.
| This template is used on approximately 141.000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
| This template uses Lua: |
| Templat ini menggunakan TemplateStyles: |
This module implements the {{portal bar}} template. It displays a horizontal bar of portals.
See here and here 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
[beccè' sombher]{{#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 tono,n,false, or0, then the portal box will have no border.redlinks- if|redlinks=is equal toyes,y,trueorinclude, then the portal box will show redlinked portals
Examples
[beccè' sombher]{{#invoke:portal bar|main|Visual arts|Science|Literature}}
Produces:
Sapsop Lua: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
{{#invoke:portal bar|main|Visual arts|Science|Literature|border=no}}
Produces:
Sapsop Lua: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
For further examples, see Template:Portal bar/testcases.
Images
[beccè' sombher]This module uses Module:Portal to get portal images. To add, change, or remove images, please see the instructions at Module:Portal#Image.