Template:Portal bar/testcases
Appearance
This is the template test cases page for the sandbox of Template:Portal bar. 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 and parsers with these links: |
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
Different portals
[edit]One portal
[edit]Art
Current events
Nonexistent portal
[edit]Asdfasdf
Asdfasdf+Biology
Asdfasdf and redlinks=yes
Two portals
[edit]Two
Ten portals
[edit]Ten Portals
{{Portal bar|Australia|Biography|Japan|Korea|Olympics|Philippines|United States|Alaska|World War I}}
{{Portal bar}}
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}}
Non-standard input
[edit]With whitespace
[edit]With whitespace
Delete character
[edit]
border=no
[edit]No arguments border=no
[edit]|border=no
One portal border=no
[edit]One with
|border=no
Nonexistent portal border=no
[edit]Asdfasdf with
|border=no
Two portals border=no
[edit]Two with
|border=no
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}}
Adjacent navboxes
[edit]Adjacent navboxes
{{Czech Republic topics}} {{Portal bar|Prague|Czech Republic|Slovakia|NATO|European Union|Europe|Geography}} {{Slovakia topics}}
{{Portal bar}}