Difference between revisions of "Template:Bryan (3rd edition)/testcases"
imported>PBS (15 tests) |
imported>PBS |
||
| Line 17: | Line 17: | ||
{{Test case|_collapsible=yes|_showcode=yes|_title=Test5 from [[Jan Baptist Francken]] with parameters inline, title, and pages | {{Test case|_collapsible=yes|_showcode=yes|_title=Test5 from [[Jan Baptist Francken]] with parameters inline, title, and pages | ||
|linlie=1|title=Fortin, Charles |pages=519–520}} | |linlie=1|title=Fortin, Charles |pages=519–520}} | ||
| − | |||
{{Test case|_collapsible=yes|_showcode=yes|_title=Test 6 from [[Charles Fortin]] with parameters inline, title, and page mode (changes the format to that of [[template:citation]] | {{Test case|_collapsible=yes|_showcode=yes|_title=Test 6 from [[Charles Fortin]] with parameters inline, title, and page mode (changes the format to that of [[template:citation]] | ||
| Line 48: | Line 47: | ||
{{Test case|_collapsible=yes|_showcode=yes|_title=Test 15 with the same parameters as test 8 + accessdate=2017-04-20 -- mode-cs1 so "Retrieved" (see [[Help:CS2]]) | {{Test case|_collapsible=yes|_showcode=yes|_title=Test 15 with the same parameters as test 8 + accessdate=2017-04-20 -- mode-cs1 so "Retrieved" (see [[Help:CS2]]) | ||
|article=Zimmermann, Robert |volume=2 |page=512 |ref=none |date=1886b|postscript=§ |accessdate=2017-04-20}} | |article=Zimmermann, Robert |volume=2 |page=512 |ref=none |date=1886b|postscript=§ |accessdate=2017-04-20}} | ||
| + | |||
| + | ---- | ||
| + | Test for hidden line feed. Test that text added directly after the template appears on the same line as the template: | ||
| + | *<code><nowiki>{{Bryan|article=APPIANI, Andrea, ' the younger,'}}</nowiki></code>--more text | ||
| + | *{{Bryan|article=APPIANI, Andrea, ' the younger,'}}--more text | ||
| + | *<code><nowiki>{{Bryan/sandbox|article=APPIANI, Andrea, ' the younger,'}}</nowiki></code>--more text | ||
| + | *{{Bryan/sandbox|article=APPIANI, Andrea, ' the younger,'}}--more text | ||
| + | ---- | ||
<!-- | <!-- | ||
Revision as of 07:26, 20 April 2017
| This is the template test cases page for the sandbox of Template:Bryan (3rd edition). 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: |
| Test1 no parameters |
|---|
{{Bryan (3rd edition)}}
{{Bryan (3rd edition)/sandbox}}
|
| Test2 from Andrea Appiani the Younger |
|---|
{{Bryan (3rd edition)|article=APPIANI, Andrea, ' the younger,'}}
{{Bryan (3rd edition)/sandbox}}
|
| Test3 from Robert Zimmermann (painter) but with added volume=2 parameter also check date, and the change in editors |
|---|
{{Bryan (3rd edition)|article=Zimmermann, Robert|volume=2}}
{{Bryan (3rd edition)/sandbox}}
|
| Test4 from Charles Fortin with parameters inline, title, and page |
|---|
{{Bryan (3rd edition)|linlie=1|page=512|title=Fortin, Charles}}
{{Bryan (3rd edition)/sandbox}}
|
| Test5 from Jan Baptist Francken with parameters inline, title, and pages |
|---|
{{Bryan (3rd edition)|linlie=1|pages=519–520|title=Fortin, Charles}}
{{Bryan (3rd edition)/sandbox}}
|
| Test 6 from Charles Fortin with parameters inline, title, and page mode (changes the format to that of template:citation |
|---|
{{Bryan (3rd edition)|linlie=1|mode=cs2|page=512|title=Fortin, Charles}}
{{Bryan (3rd edition)/sandbox}}
|
| Test 7 with the same parameters as test 6; + ref=none |
|---|
{{Bryan (3rd edition)|linlie=1|mode=cs2|page=512|ref=none|title=Fortin, Charles}}
{{Bryan (3rd edition)/sandbox}}
|
Test 8 with the same parameters as test 7 + date=1886b — useful with {{harvnb}} if more than one of this template is used in the same article. |
|---|
{{Bryan (3rd edition)|date=1886b|linlie=1|mode=cs2|page=512|ref=none|title=Fortin, Charles}}
{{Bryan (3rd edition)/sandbox}}
|
| Test 9 with the same parameters as test 8 + postscript=§ |
|---|
{{Bryan (3rd edition)|date=1886b|linlie=1|mode=cs2|page=512|postscript=§|ref=none|title=Fortin, Charles}}
{{Bryan (3rd edition)/sandbox}}
|
| Text 10 with the same parameters as test3 + additional parameters in text 8 |
|---|
{{Bryan (3rd edition)|article=Zimmermann, Robert|date=1886b|mode=cs2|page=512|postscript=§|ref=none|volume=2}}
{{Bryan (3rd edition)/sandbox}}
|
| Text 11 with the same parameters as test10 - mode=cs1 |
|---|
{{Bryan (3rd edition)|article=Zimmermann, Robert|date=1886b|page=512|postscript=§|ref=none|volume=2}}
{{Bryan (3rd edition)/sandbox}}
|
| Test 12 with the same parameters as test 10 + quote="This is a quote" NB this removes postscript value from the end of the citation |
|---|
{{Bryan (3rd edition)|date=1886b|linlie=1|mode=cs2|page=512|postscript=§|quote="This is a quote"|ref=none|title=Fortin, Charles}}
{{Bryan (3rd edition)/sandbox}}
|
| Test 13 with the same parameters as test 8 + quote="This is a quote" same as test 12 but with mode=cs1 |
|---|
{{Bryan (3rd edition)|article=Zimmermann, Robert|date=1886b|page=512|postscript=§|quote="This is a quote"|ref=none|volume=2}}
{{Bryan (3rd edition)/sandbox}}
|
| Test 14 with the same parameters as test 10 + accessdate=2017-04-20 -- mode-cs2 so "retrieved" (see Help:CS2) |
|---|
{{Bryan (3rd edition)|accessdate=2017-04-20|date=1886b|linlie=1|mode=cs2|page=512|postscript=§|ref=none|title=Fortin, Charles}}
{{Bryan (3rd edition)/sandbox}}
|
| Test 15 with the same parameters as test 8 + accessdate=2017-04-20 -- mode-cs1 so "Retrieved" (see Help:CS2) |
|---|
{{Bryan (3rd edition)|accessdate=2017-04-20|article=Zimmermann, Robert|date=1886b|page=512|postscript=§|ref=none|volume=2}}
{{Bryan (3rd edition)/sandbox}}
|
Test for hidden line feed. Test that text added directly after the template appears on the same line as the template:
{{Bryan|article=APPIANI, Andrea, ' the younger,'}}--more text
This article incorporates text from a publication now in the public domain: Bryan, Michael (1886). "APPIANI, Andrea, ' the younger,'". In Graves, Robert Edmund (ed.). Bryan's Dictionary of Painters and Engravers (A–K). I (3rd ed.). London: George Bell & Sons.--more text{{Bryan/sandbox|article=APPIANI, Andrea, ' the younger,'}}--more text
This article incorporates text from a publication now in the public domain: Bryan, Michael (1886). "APPIANI, Andrea, ' the younger,'". In Graves, Robert Edmund (ed.). Bryan's Dictionary of Painters and Engravers (A–K). I (3rd ed.). London: George Bell & Sons.--more text