Jump to content

Template:Portal bar/testcases

From Wikipedia, the free encyclopedia

Note: Sandbox CSS classes have different names than the Main CSS Classes, due to technical limitations in {{test case}}. The sandbox and main will display correctly, but will be flagged as different due to these different names. You will have to manually inspect each test case for correctness.

No arguments

[edit]
No parameters
{{Portal bar}}

{{Portal bar}}


{{Portal bar/sandbox}}


Different portals

[edit]

One portal

[edit]
Art
{{Portal bar|Art}}

{{Portal bar}}

{{Portal bar/sandbox}}

Current events
{{Portal bar|Current events}}

{{Portal bar}}

{{Portal bar/sandbox}}

Nonexistent portal

[edit]
Asdfasdf
{{Portal bar|Asdfasdf}}

{{Portal bar}}


{{Portal bar/sandbox}}


Asdfasdf+Biology
{{Portal bar|Asdfasdf|Biology}}

{{Portal bar}}

{{Portal bar/sandbox}}

Asdfasdf and redlinks=yes
{{Portal bar|Asdfasdf|redlinks=yes}}

{{Portal bar}}

{{Portal bar/sandbox}}

Two portals

[edit]
Two
{{Portal bar|Art|Science}}

{{Portal bar}}

{{Portal bar/sandbox}}

Ten portals

[edit]
Ten Portals
{{Portal bar|Australia|Biography|Japan|Korea|Olympics|Philippines|United States|Alaska|World War I}}

{{Portal bar}}

{{Portal bar/sandbox}}

Twenty portals

[edit]
Twenty Portals
{{Portal bar|Australia|Biography|Japan|Korea|China|Vietnam|Olympics|Philippines|United States|Alaska|World War I|Asia|Sports|Association football|Athletics|English football|Baseball|Basketball|Cricket}}

{{Portal bar}}

{{Portal bar/sandbox}}

Non-standard input

[edit]

With whitespace

[edit]
With whitespace
{{Portal bar|    Asia   |   Sports   }}

{{Portal bar}}

{{Portal bar/sandbox}}

Delete character

[edit]

{{Portal bar|}}

{{Portal bar}}


{{Portal bar/sandbox}}


border=no

[edit]

No arguments border=no

[edit]
|border=no
{{Portal bar|border=no}}

{{Portal bar}}


{{Portal bar/sandbox}}


One portal border=no

[edit]
One with |border=no
{{Portal bar|Art|border=no}}

{{Portal bar}}

{{Portal bar/sandbox}}

Nonexistent portal border=no

[edit]
Asdfasdf with |border=no
{{Portal bar|Asdfasdf|border=no}}

{{Portal bar}}


{{Portal bar/sandbox}}


Two portals border=no

[edit]
Two with |border=no
{{Portal bar|Art|Science|border=no}}

{{Portal bar}}

{{Portal bar/sandbox}}

Twenty portals border=no

[edit]
Twenty with |border=no
{{Portal bar|Australia|Biography|Japan|Korea|China|Vietnam|Olympics|Philippines|United States|Alaska|World War I|Asia|Sports|Association football|Athletics|English football|Baseball|Basketball|Cricket|border=no}}

{{Portal bar}}

{{Portal bar/sandbox}}

Adjacent navboxes

[edit]
Adjacent navboxes
{{Czech Republic topics}}
{{Portal bar|Prague|Czech Republic|Slovakia|NATO|European Union|Europe|Geography}}
{{Slovakia topics}}

{{Portal bar}}



{{Portal bar/sandbox}}