Template:Portal bar/testcases: Difference between revisions
(Created page with "{{Testcases}} {{also|Template:Portal/testcases}} '''Note:''' Sandbox CSS classes have different names than the Main CSS Classes, due to technical limitations in {{tl|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 == {{Test case|_collapsible=yes|_showcode=yes|_title=No parameters}} == Different portals == === One p...") |
(No difference)
|
Revision as of 21:07, 23 September 2024
| File:Gnome-applications-science.svg | 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: |
__EXPECTUNUSEDTEMPLATE__
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
Different portals
One portal
{{Portal bar|Art}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
{{Portal bar|Current events}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
Nonexistent portal
{{Portal bar|Asdfasdf}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
{{Portal bar|Asdfasdf|Biology}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
{{Portal bar|Asdfasdf|redlinks=yes}}
{{Portal bar}}
Lua error in package.lua at line 80: module 'Module:Portal/images/a' not found.
Error: expandTemplate: template "Portal bar/sandbox" does not exist
Two portals
{{Portal bar|Art|Science}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
Ten portals
{{Portal bar|Australia|Biography|Japan|Korea|Olympics|Philippines|United States|Alaska|World War I}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
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}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
Non-standard input
With whitespace
{{Portal bar| Asia | Sports }}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
Delete character
{{Portal bar|}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
border=no
No arguments border=no
|border=no{{Portal bar|border=no}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
One portal border=no
|border=no{{Portal bar|Art|border=no}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
Nonexistent portal border=no
|border=no{{Portal bar|Asdfasdf|border=no}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
Two portals border=no
|border=no{{Portal bar|Art|Science|border=no}}
{{Portal bar}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist
Twenty portals border=no
|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}}
Error: expandTemplate: template "Portal bar/sandbox" does not exist