Difference between revisions of "Template:Infobox book/testcases"
(code spacing) |
imported>Rich Farmbrough |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Template test cases notice}} |
| + | {{See|Template:Testcase table}} | ||
| + | ==Translator(s)== | ||
| + | {{Template:Testcase table}} | ||
| + | {{Template:Testcase table|translator=Fred Bloggs}} | ||
| + | {{Template:Testcase table|translators=Fred Bloggs and Joe Bloggs}} | ||
| + | # <code><nowiki>{{Template:Testcase table}}</nowiki></code> | ||
| + | # <code><nowiki>{{Template:Testcase table|translator=Fred Bloggs}}</nowiki></code> | ||
| + | # <code><nowiki>{{Template:Testcase table|translators=Fred Bloggs and Joe Bloggs}}</nowiki></code> | ||
| + | |||
| + | {{-}} | ||
| + | |||
| + | ==Illustrator(s)== | ||
| + | {{Template:Testcase table}} | ||
| + | {{Template:Testcase table|illustrator=Fred Bloggs}} | ||
| + | {{Template:Testcase table|illustrators=Fred Bloggs and Joe Bloggs}} | ||
| + | # <code><nowiki>{{Template:Testcase table}}</nowiki></code> | ||
| + | # <code><nowiki>{{Template:Testcase table|illustrator=Fred Bloggs}}</nowiki></code> | ||
| + | # <code><nowiki>{{Template:Testcase table|illustrators=Fred Bloggs and Joe Bloggs}}</nowiki></code> | ||
| + | |||
| − | + | ==ISBN== | |
| − | == No input == | + | === No input === |
{{Template:Testcase table}} | {{Template:Testcase table}} | ||
{{Template:Testcase table|isbn=}} | {{Template:Testcase table|isbn=}} | ||
| Line 10: | Line 29: | ||
{{-}} | {{-}} | ||
| − | == Number only == | + | === Number only === |
{{Template:Testcase table|isbn=1234567890}} | {{Template:Testcase table|isbn=1234567890}} | ||
{{Template:Testcase table|isbn=1-2345-6789-0}} | {{Template:Testcase table|isbn=1-2345-6789-0}} | ||
{{-}} | {{-}} | ||
| − | == Number ending in X == | + | === Number ending in X === |
{{Template:Testcase table|isbn=123456789X}} | {{Template:Testcase table|isbn=123456789X}} | ||
{{Template:Testcase table|isbn=1-2345-6789-X}} | {{Template:Testcase table|isbn=1-2345-6789-X}} | ||
{{-}} | {{-}} | ||
| − | == Number with ISBN == | + | === Number with ISBN === |
{{Template:Testcase table|isbn=ISBN 1234567890}} | {{Template:Testcase table|isbn=ISBN 1234567890}} | ||
{{Template:Testcase table|isbn=ISBN 1-2345-6789-0}} | {{Template:Testcase table|isbn=ISBN 1-2345-6789-0}} | ||
| Line 28: | Line 47: | ||
{{-}} | {{-}} | ||
| − | == Number with additional label using {{tl|ISBNT}} == | + | === Number with additional label using {{tl|ISBNT}} === |
{{Template:Testcase table|isbn={{ISBNT|1234567890}} Vol.1}} | {{Template:Testcase table|isbn={{ISBNT|1234567890}} Vol.1}} | ||
{{Template:Testcase table|isbn={{ISBNT|1-2345-6789-0}} Vol.1}} | {{Template:Testcase table|isbn={{ISBNT|1-2345-6789-0}} Vol.1}} | ||
| Line 36: | Line 55: | ||
{{-}} | {{-}} | ||
| − | == Number with additional label == | + | === Number with additional label === |
{{Template:Testcase table|isbn=1234567890 Vol.1}} | {{Template:Testcase table|isbn=1234567890 Vol.1}} | ||
{{Template:Testcase table|isbn=1-2345-6789-0 Vol.1}} | {{Template:Testcase table|isbn=1-2345-6789-0 Vol.1}} | ||
| Line 43: | Line 62: | ||
{{-}} | {{-}} | ||
| − | == Number with ISBN and additional label == | + | === Number with ISBN and additional label === |
{{Template:Testcase table|isbn=ISBN 1234567890 Vol.1}} | {{Template:Testcase table|isbn=ISBN 1234567890 Vol.1}} | ||
{{Template:Testcase table|isbn=ISBN 1-2345-6789-0 Vol.1}} | {{Template:Testcase table|isbn=ISBN 1-2345-6789-0 Vol.1}} | ||
| Line 50: | Line 69: | ||
{{-}} | {{-}} | ||
| − | == Multiple numbers using {{tl|ISBNT}} == | + | === Multiple numbers using {{tl|ISBNT}} === |
{{Template:Testcase table|isbn={{ISBNT|1-2222-3333-4}}{{ISBNT|5-6666-7777-8}}}} | {{Template:Testcase table|isbn={{ISBNT|1-2222-3333-4}}{{ISBNT|5-6666-7777-8}}}} | ||
{{Template:Testcase table|isbn={{ISBNT|1-2222-3333-4}}{{ISBNT|5-6666-7777-8}}}} | {{Template:Testcase table|isbn={{ISBNT|1-2222-3333-4}}{{ISBNT|5-6666-7777-8}}}} | ||
| Line 57: | Line 76: | ||
{{-}} | {{-}} | ||
| − | == Multiple numbers only == | + | === Multiple numbers only === |
{{Template:Testcase table|isbn=1-2222-3333-4 5-6666-7777-8}} | {{Template:Testcase table|isbn=1-2222-3333-4 5-6666-7777-8}} | ||
{{Template:Testcase table|isbn=1-2222-3333-4,5-6666-7777-8}} | {{Template:Testcase table|isbn=1-2222-3333-4,5-6666-7777-8}} | ||
| Line 64: | Line 83: | ||
{{-}} | {{-}} | ||
| − | == Multiple numbers with ISBNs == | + | === Multiple numbers with ISBNs === |
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4 ISBN 5-6666-7777-8}} | {{Template:Testcase table|isbn=ISBN 1-2222-3333-4 ISBN 5-6666-7777-8}} | ||
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4,ISBN 5-6666-7777-8}} | {{Template:Testcase table|isbn=ISBN 1-2222-3333-4,ISBN 5-6666-7777-8}} | ||
| Line 71: | Line 90: | ||
{{-}} | {{-}} | ||
| − | == Multiple numbers with additional labels using {{tl|ISBNT}} == | + | === Multiple numbers with additional labels using {{tl|ISBNT}} === |
{{Template:Testcase table|isbn=1-{{ISBNT|2222-3333-4}} Vol.1 {{ISBNT|5-6666-7777-8}} Vol.2}} | {{Template:Testcase table|isbn=1-{{ISBNT|2222-3333-4}} Vol.1 {{ISBNT|5-6666-7777-8}} Vol.2}} | ||
{{Template:Testcase table|isbn=1-{{ISBNT|2222-3333-4}} Vol.1,{{ISBNT|5-6666-7777-8}} Vol.2}} | {{Template:Testcase table|isbn=1-{{ISBNT|2222-3333-4}} Vol.1,{{ISBNT|5-6666-7777-8}} Vol.2}} | ||
| Line 79: | Line 98: | ||
{{-}} | {{-}} | ||
| − | == Multiple numbers with additional labels == | + | === Multiple numbers with additional labels === |
{{Template:Testcase table|isbn=1-2222-3333-4 Vol.1 5-6666-7777-8 Vol.2}} | {{Template:Testcase table|isbn=1-2222-3333-4 Vol.1 5-6666-7777-8 Vol.2}} | ||
{{Template:Testcase table|isbn=1-2222-3333-4 Vol.1,5-6666-7777-8 Vol.2}} | {{Template:Testcase table|isbn=1-2222-3333-4 Vol.1,5-6666-7777-8 Vol.2}} | ||
| Line 86: | Line 105: | ||
{{-}} | {{-}} | ||
| − | == Multiple numbers with ISBNs and additional labels == | + | === Multiple numbers with ISBNs and additional labels === |
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4 Vol.1 ISBN 5-6666-7777-8 Vol.2}} | {{Template:Testcase table|isbn=ISBN 1-2222-3333-4 Vol.1 ISBN 5-6666-7777-8 Vol.2}} | ||
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4 Vol.1,ISBN 5-6666-7777-8 Vol.2}} | {{Template:Testcase table|isbn=ISBN 1-2222-3333-4 Vol.1,ISBN 5-6666-7777-8 Vol.2}} | ||
| Line 93: | Line 112: | ||
{{-}} | {{-}} | ||
| − | ==Author (and Published)== | + | ===Author (and Published)=== |
{{Testcase table | {{Testcase table | ||
| name = Betelguese, a trip through hell | | name = Betelguese, a trip through hell | ||
| Line 115: | Line 134: | ||
{{-}} | {{-}} | ||
| − | ==Authors (and Published)== | + | ===Authors (and Published)=== |
{{Testcase table | {{Testcase table | ||
| name = Tales of the Dead | | name = Tales of the Dead | ||
| Line 143: | Line 162: | ||
{{-}} | {{-}} | ||
| − | ==Published: One== | + | ===Published: One=== |
{{Testcase table | {{Testcase table | ||
| name = Cloud Atlas | | name = Cloud Atlas | ||
| Line 170: | Line 189: | ||
{{-}} | {{-}} | ||
| − | ==Published: Two== | + | ===Published: Two=== |
{{Testcase table | {{Testcase table | ||
| name = Amerika | | name = Amerika | ||
| Line 199: | Line 218: | ||
{{-}} | {{-}} | ||
| − | ==Text bug== | + | ===Text bug=== |
{{Testcase table | {{Testcase table | ||
<!-- |italic title = (see above) --> | <!-- |italic title = (see above) --> | ||
| Line 239: | Line 258: | ||
}} | }} | ||
| − | ==Editor (and Published)== | + | ===Editor (and Published)=== |
{{Testcase table | {{Testcase table | ||
| name = The Book of Other People | | name = The Book of Other People | ||
Revision as of 02:22, 31 March 2014
| This is the template test cases page for the sandbox of Template:Infobox book. 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
- 1 Translator(s)
- 2 Illustrator(s)
- 3 ISBN
- 3.1 No input
- 3.2 Number only
- 3.3 Number ending in X
- 3.4 Number with ISBN
- 3.5 Number with additional label using {{ISBNT}}
- 3.6 Number with additional label
- 3.7 Number with ISBN and additional label
- 3.8 Multiple numbers using {{ISBNT}}
- 3.9 Multiple numbers only
- 3.10 Multiple numbers with ISBNs
- 3.11 Multiple numbers with additional labels using {{ISBNT}}
- 3.12 Multiple numbers with additional labels
- 3.13 Multiple numbers with ISBNs and additional labels
- 3.14 Author (and Published)
- 3.15 Authors (and Published)
- 3.16 Published: One
- 3.17 Published: Two
- 3.18 Text bug
- 3.19 Editor (and Published)
Translator(s)
Template:Testcase table Template:Testcase table Template:Testcase table
{{Template:Testcase table}}{{Template:Testcase table|translator=Fred Bloggs}}{{Template:Testcase table|translators=Fred Bloggs and Joe Bloggs}}
Illustrator(s)
Template:Testcase table Template:Testcase table Template:Testcase table
{{Template:Testcase table}}{{Template:Testcase table|illustrator=Fred Bloggs}}{{Template:Testcase table|illustrators=Fred Bloggs and Joe Bloggs}}
ISBN
No input
Template:Testcase table Template:Testcase table
{{Template:Testcase table}}{{Template:Testcase table|isbn=}}
Number only
Template:Testcase table Template:Testcase table
Number ending in X
Template:Testcase table Template:Testcase table
Number with ISBN
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Redundant text label. Prefer number only (see above).
Number with additional label using {{ISBNT}}
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
Number with additional label
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
Number with ISBN and additional label
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
Multiple numbers using {{ISBNT}}
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
Multiple numbers only
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
Multiple numbers with ISBNs
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
Multiple numbers with additional labels using {{ISBNT}}
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
Multiple numbers with additional labels
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
Multiple numbers with ISBNs and additional labels
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table