Difference between revisions of "Template:BoxRec/testcases"
Jump to navigation
Jump to search
imported>Zyxw (update) |
imported>Zyxw (update) |
||
| Line 38: | Line 38: | ||
== ID and name with archive == | == ID and name with archive == | ||
{{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=ID and name (unnamed parameters) with archive | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=ID and name (unnamed parameters) with archive | ||
| − | |code=<nowiki>{{__TEMPLATENAME__ | 9027 | Joe Louis |archive= | + | |code=<nowiki>{{__TEMPLATENAME__ | 9027 | Joe Louis |archive= 20170224101131 }}</nowiki> |
}} | }} | ||
{{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=ID and name (named parameters) with archive | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=ID and name (named parameters) with archive | ||
| − | |code=<nowiki>{{__TEMPLATENAME__ |id= 9027 |name= Joe Louis |archive= | + | |code=<nowiki>{{__TEMPLATENAME__ |id= 9027 |name= Joe Louis |archive= 20170224101131 }}</nowiki> |
}} | }} | ||
Revision as of 00:08, 12 March 2019
| 42px | This is the template test cases page for the sandbox of Template:BoxRec. 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: |
Missing or empty ID
| Missing ID (no parameters) | ||||||
|---|---|---|---|---|---|---|
{{BoxRec}}
|
| Empty ID (unnamed parameter) | ||||||
|---|---|---|---|---|---|---|
{{BoxRec | }}
|
| Empty ID (named parameter) | ||||||
|---|---|---|---|---|---|---|
{{BoxRec |id= }}
|
ID
| ID (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{BoxRec | 9027 }}
|
| ID (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{BoxRec |id= 9027 }}
|
ID and empty name
| ID and empty name (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{BoxRec | 9027 | }}
|
| ID and empty name (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{BoxRec |id= 9027 |name= }}
|
ID and name
| ID and name (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{BoxRec | 9027 | Joe Louis }}
|
| ID and name (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{BoxRec |id= 9027 |name= Joe Louis }}
|
ID and name with archive
| ID and name (unnamed parameters) with archive | ||||||
|---|---|---|---|---|---|---|
{{BoxRec | 9027 | Joe Louis |archive= 20170224101131 }}
|
| ID and name (named parameters) with archive | ||||||
|---|---|---|---|---|---|---|
{{BoxRec |id= 9027 |name= Joe Louis |archive= 20170224101131 }}
|