Difference between revisions of "Template:Bryan (3rd edition)/testcases"
imported>PBS m (PBS moved page Template:Bryan/testcases to Template:Bryan (3rd edition)/testcases: There is also a more comprehensive edition which is being ported to Wikisource Template:(1903 edition)) |
imported>PBS (article to title) |
||
| Line 50: | Line 50: | ||
---- | ---- | ||
Test for hidden line feed. Test that text added directly after the template appears on the same line as the template: | Test for hidden line feed. Test that text added directly after the template appears on the same line as the template: | ||
| − | *<code><nowiki>{{Bryan| | + | *<code><nowiki>{{Bryan|title=APPIANI, Andrea, ' the younger,'}}</nowiki></code>--more text |
| − | *{{Bryan| | + | *{{Bryan|title=APPIANI, Andrea, ' the younger,'}}--more text |
| − | *<code><nowiki>{{Bryan/sandbox| | + | *<code><nowiki>{{Bryan/sandbox|title=APPIANI, Andrea, ' the younger,'}}</nowiki></code>--more text |
| − | *{{Bryan/sandbox| | + | *{{Bryan/sandbox|title=APPIANI, Andrea, ' the younger,'}}--more text |
---- | ---- | ||
Revision as of 14:56, 26 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|title=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|title=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