Template:Portal bar/testcases
| This is the template test cases page for the sandbox of Template:Portal bar. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
No arguments
| No parameters |
|---|
{{Portal bar}}
{{Portal bar}}
|
Different portals
One portal
| Art |
|---|
{{Portal bar|Art}}
{{Portal bar}}
|
| Current events |
|---|
{{Portal bar|Current events}}
{{Portal bar}}
|
Nonexistent portal
| Asdfasdf |
|---|
{{Portal bar|Asdfasdf}}
{{Portal bar}}
|
Two portals
| Two |
|---|
{{Portal bar|Art|Science}}
{{Portal bar}}
|
Ten portals
| Ten |
|---|
{{Portal bar|Asia|Sports|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball}}
{{Portal bar}}
|
Twenty portals
| Twenty |
|---|
{{Portal bar|Asia|Sports|Association football|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball|Basketball|National Basketball Association|Sport of Canada|Commonwealth Games|Cricket|Australian cricket team in England in 1948|Indian Premier League|Cycling|Figure skating}}
{{Portal bar}}
|
Non-standard input
With whitespace
| With whitespace |
|---|
{{Portal bar| Asia | Sports }}
{{Portal bar}}
|
Delete character
|  |
|---|
{{Portal bar|}}
{{Portal bar}}
|
border=no
No arguments border=no
|border=no |
|---|
{{Portal bar|border=no}}
{{Portal bar}}
|
One portal border=no
One with |border=no |
|---|
{{Portal bar|Art|border=no}}
{{Portal bar}}
|
Nonexistent portal border=no
Asdfasdf with |border=no |
|---|
{{Portal bar|Asdfasdf|border=no}}
{{Portal bar}}
|
Two portals border=no
Two with |border=no |
|---|
{{Portal bar|Art|Science|border=no}}
{{Portal bar}}
|
Twenty portals border=no
Twenty with |border=no |
|---|
{{Portal bar|Asia|Sports|Association football|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball|Basketball|National Basketball Association|Sport of Canada|Commonwealth Games|Cricket|Australian cricket team in England in 1948|Indian Premier League|Cycling|Figure skating|border=no}}
{{Portal bar}}
|
| Adjacent navboxes |
|---|
{{Czech Republic topics}}
{{Portal bar|Prague|Czech Republic|Slovakia|NATO|European Union|Europe|Geography}}
{{Slovakia topics}}
{{Portal bar}}
Lua error in Module:Navbar at line 62: Invalid title <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-4">Script error: No such module "If empty".</span></strong>.
Lua error in Module:Navbar at line 62: Invalid title <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-4">Script error: No such module "If empty".</span></strong>. |