Difference between revisions of "Template:Portal bar/testcases"

From blackwiki
Jump to navigation Jump to search
test>BrownHairedGirl
m (replace link to deleted Portal:Asian Games with Portal:Asia + Portal:Sports)
test>Andrybak
Line 17: Line 17:
 
== One portal ==
 
== One portal ==
  
'''Main'''
+
{{Test case|_collapsible=yes|_showcode=yes|_title=Art
 
+
|Art}}
• <code><nowiki>{{Portal bar|Art}}</nowiki></code>
+
{{Test case|_collapsible=yes|_showcode=yes|_title=Current events
 
+
|Current events}}
{{Portal bar|Art}}
 
 
 
'''Sandbox'''
 
 
 
• <code><nowiki>{{portal bar/sandbox|Art}}</nowiki></code>
 
 
 
{{portal bar/sandbox|Art}}
 
  
 
== Nonexistent portal ==
 
== Nonexistent portal ==

Revision as of 00:06, 1 June 2020

No arguments

Main


Sandbox

{{portal bar/sandbox}}


One portal

Art
{{Portal bar|Art}}

{{Portal bar}}


{{Portal bar/sandbox}}


Current events
{{Portal bar|Current events}}

{{Portal bar}}


{{Portal bar/sandbox}}


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|&#127;}}


Sandbox

{{portal bar/sandbox|&#127;}}


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}}


Adjacent navboxes

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 &quot;If empty&quot;.</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 &quot;If empty&quot;.</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 &quot;If empty&quot;.</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 &quot;If empty&quot;.</span></strong>.