Difference between revisions of "Template:Portal bar/testcases"
test>BrownHairedGirl m (replace link to deleted Portal:Asian Games with Portal:Asia + Portal:Sports) |
test>Andrybak (→One portal: add test; use Template:Test case) |
||
| Line 17: | Line 17: | ||
== One portal == | == One portal == | ||
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title=Art | |
| − | + | |Art}} | |
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title=Current events | |
| − | + | |Current events}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== Nonexistent portal == | == Nonexistent portal == | ||
Revision as of 00:06, 1 June 2020
| 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: |
Contents
No arguments
Main
•
Sandbox
• {{portal bar/sandbox}}
One portal
| Art |
|---|
{{Portal bar|Art}}
{{Portal bar}}
|
| Current events |
|---|
{{Portal bar|Current events}}
{{Portal bar}}
|
Nonexistent portal
Main
• {{Portal bar|Asdfasdf}}
Sandbox
• {{portal bar/sandbox|Asdfasdf}}
Two portals
Main
• {{Portal bar|Art|Science}}
Sandbox
• {{portal bar/sandbox|Art|Science}}
Ten portals
Main
• {{Portal bar|Asia|Sports|Association football|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball}}
Sandbox
• {{portal bar/sandbox|Asian Games|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball}}
Twenty portals
Main
• {{Portal bar|Asia|Sports|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball|Basketball|National Basketball Association|Sport of Canada|Commonwealth Games|Cricket|Indian Premier League|Cycling|Fencing|Figure skating}}
Sandbox
• {{portal bar/sandbox|Asian Games|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball|Basketball|College basketball|National Basketball Association|Sport of Canada|Commonwealth Games|Cricket|Australian cricket team in England in 1948|Indian Premier League|Cycling|Fencing|Figure skating}}
With whitespace
Main
• {{Portal bar|Asia|Sports}}
Sandbox
• {{portal bar/sandbox| Asian Games }}
Delete character
Main
• {{Portal bar|}}
Sandbox
• {{portal bar/sandbox|}}
No arguments border=no
Main
• {{Portal bar|border=no}}
Sandbox
• {{portal bar/sandbox|border=no}}
One portal border=no
Main
• {{Portal bar|Art|border=no}}
Sandbox
• {{portal bar/sandbox|Art|border=no}}
Nonexistent portal border=no
Main
• {{Portal bar|Asdfasdf|border=no}}
Sandbox
• {{portal bar/sandbox|Asdfasdf|border=no}}
Two portals border=no
Main
• {{Portal bar|Art|Science|border=no}}
Sandbox
• {{portal bar/sandbox|Art|Science|border=no}}
Twenty portals border=no
Main
• {{Portal bar|Asia|Sports|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball|Basketball|National Basketball Association|Sport of Canada|Commonwealth Games|Cricket|Indian Premier League|Cycling|Fencing|Figure skating|border=no}}
Sandbox
• {{portal bar/sandbox|Asian Games|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball|Basketball|College basketball|National Basketball Association|Sport of Canada|Commonwealth Games|Cricket|Australian cricket team in England in 1948|Indian Premier League|Cycling|Fencing|Figure skating|border=no}}
Main
Lua error in Module:Navbar at line 62: Invalid title <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-2">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>.
Sandbox
Lua error in Module:Navbar at line 62: Invalid title <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-2">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>.