Difference between revisions of "Template:Portal bar/testcases"
test>Mr. Stradivarius (add border=no tests) |
test>Matt Fitzpatrick (accessibility cleanup, non-list lists used for pseudo bold and pseudo bullets) |
||
| Line 3: | Line 3: | ||
== No arguments == | == No arguments == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar}}</nowiki></code> | |
{{portal bar}} | {{portal bar}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox}}</nowiki></code> | |
{{portal bar/sandbox}} | {{portal bar/sandbox}} | ||
| Line 17: | Line 17: | ||
== One portal == | == One portal == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|Art}}</nowiki></code> | |
{{portal bar|Art}} | {{portal bar|Art}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox|Art}}</nowiki></code> | |
{{portal bar/sandbox|Art}} | {{portal bar/sandbox|Art}} | ||
| Line 31: | Line 31: | ||
== Nonexistent portal == | == Nonexistent portal == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|Asdfasdf}}</nowiki></code> | |
{{portal bar|Asdfasdf}} | {{portal bar|Asdfasdf}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox|Asdfasdf}}</nowiki></code> | |
{{portal bar/sandbox|Asdfasdf}} | {{portal bar/sandbox|Asdfasdf}} | ||
| Line 45: | Line 45: | ||
== Two portals == | == Two portals == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|Art|Science}}</nowiki></code> | |
{{portal bar|Art|Science}} | {{portal bar|Art|Science}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox|Art|Science}}</nowiki></code> | |
{{portal bar/sandbox|Art|Science}} | {{portal bar/sandbox|Art|Science}} | ||
| Line 59: | Line 59: | ||
== Ten portals == | == Ten portals == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|Asian Games|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball}}</nowiki></code> | |
{{portal bar|Asian Games|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball}} | {{portal bar|Asian Games|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox|Asian Games|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball}}</nowiki></code> | |
{{portal bar/sandbox|Asian Games|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball}} | {{portal bar/sandbox|Asian Games|Association football|A-League|Association football variants|Athletics|Australian rules football|English football|Badminton|Baseball}} | ||
| Line 73: | Line 73: | ||
== Twenty portals == | == Twenty portals == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|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}}</nowiki></code> | |
{{portal bar|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}} | {{portal bar|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}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{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}}</nowiki></code> | |
{{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}} | {{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}} | ||
| Line 87: | Line 87: | ||
== With whitespace == | == With whitespace == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar| Asian Games }}</nowiki></code> | |
{{portal bar| Asian Games }} | {{portal bar| Asian Games }} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox| Asian Games }}</nowiki></code> | |
{{portal bar/sandbox| Asian Games }} | {{portal bar/sandbox| Asian Games }} | ||
| Line 101: | Line 101: | ||
== Delete character == | == Delete character == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|}}</nowiki></code> | |
{{portal bar|}} | {{portal bar|}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox|}}</nowiki></code> | |
{{portal bar/sandbox|}} | {{portal bar/sandbox|}} | ||
| Line 115: | Line 115: | ||
== No arguments border=no == | == No arguments border=no == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|border=no}}</nowiki></code> | |
{{portal bar|border=no}} | {{portal bar|border=no}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox|border=no}}</nowiki></code> | |
{{portal bar/sandbox|border=no}} | {{portal bar/sandbox|border=no}} | ||
| Line 129: | Line 129: | ||
== One portal border=no == | == One portal border=no == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|Art|border=no}}</nowiki></code> | |
{{portal bar|Art|border=no}} | {{portal bar|Art|border=no}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox|Art|border=no}}</nowiki></code> | |
{{portal bar/sandbox|Art|border=no}} | {{portal bar/sandbox|Art|border=no}} | ||
| Line 143: | Line 143: | ||
== Nonexistent portal border=no == | == Nonexistent portal border=no == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|Asdfasdf|border=no}}</nowiki></code> | |
{{portal bar|Asdfasdf|border=no}} | {{portal bar|Asdfasdf|border=no}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox|Asdfasdf|border=no}}</nowiki></code> | |
{{portal bar/sandbox|Asdfasdf|border=no}} | {{portal bar/sandbox|Asdfasdf|border=no}} | ||
| Line 157: | Line 157: | ||
== Two portals border=no == | == Two portals border=no == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|Art|Science|border=no}}</nowiki></code> | |
{{portal bar|Art|Science|border=no}} | {{portal bar|Art|Science|border=no}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{portal bar/sandbox|Art|Science|border=no}}</nowiki></code> | |
{{portal bar/sandbox|Art|Science|border=no}} | {{portal bar/sandbox|Art|Science|border=no}} | ||
| Line 171: | Line 171: | ||
== Twenty portals border=no == | == Twenty portals border=no == | ||
| − | + | '''Main''' | |
| − | + | • <code><nowiki>{{portal bar|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}}</nowiki></code> | |
{{portal bar|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}} | {{portal bar|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}} | ||
| − | + | '''Sandbox''' | |
| − | + | • <code><nowiki>{{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}}</nowiki></code> | |
{{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}} | {{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}} | ||
Revision as of 20:11, 20 June 2016
| 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
• {{portal bar}}
Sandbox
• {{portal bar/sandbox}}
One portal
Main
• {{portal bar|Art}}
Sandbox
• {{portal bar/sandbox|Art}}
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|Asian Games|Association football|A-League|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|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}}
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| Asian Games }}
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|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}}
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}}