Difference between revisions of "Template:Cite DCB/testcases"
imported>PBS m (moved Template:Canadabio/testcases to Template:Cite DCB/testcases: standard name for citation templates such as "Cite DNB") |
imported>Trappist the monk |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 8: | Line 8: | ||
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title= | |
| − | + | |ID=6182|name=Jameson, Richard Willis}} | |
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title= | |
| − | + | |ID=6182|name=Jameson, Richard Willis|volume=7}} | |
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title= | |
| − | + | |ID=6182|name=Jameson, Richard Willis|volume=VII}} | |
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title= | ||
| + | |ID=692|name=Cavelier, Jean |volume=II}} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title=Test for ignoring the URL | ||
| + | |ID=692|name=Cavelier, Jean |volume=II |url=http://www.en.wikipedia.org}} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title=Test for title and url instead of name and ID | ||
| + | |title=Cavelier, Jean |volume=II |url=http://www.biographi.ca/en/bio/cavelier_jean_2E.html}} | ||
| − | |||
| − | |||
{{clear}} | {{clear}} | ||
| Line 39: | Line 46: | ||
*<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|ID=692|name=Cavelier, Jean |volume=II}}</nowiki></code> | *<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|ID=692|name=Cavelier, Jean |volume=II}}</nowiki></code> | ||
*{{{{BASEPAGENAME}}|ID=692|name=Cavelier, Jean |volume=II}} | *{{{{BASEPAGENAME}}|ID=692|name=Cavelier, Jean |volume=II}} | ||
| + | |||
| + | '''Test for ignoring the URL''' | ||
| + | *<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|ID=692|name=Cavelier, Jean |volume=II |url=http://www.en.wikipedia.org}}</nowiki></code> | ||
| + | *{{{{BASEPAGENAME}}|ID=692|name=Cavelier, Jean |volume=II |url=http://www.en.wikipedia.org}} | ||
| + | |||
| + | '''Test for title and url instead of name and ID''' | ||
| + | *<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|title=Cavelier, Jean |volume=II |url=http://www.biographi.ca/en/bio/cavelier_jean_2E.html}}</nowiki></code> | ||
| + | *{{{{BASEPAGENAME}}|title=Cavelier, Jean |volume=II |url=http://www.biographi.ca/en/bio/cavelier_jean_2E.html}} | ||
Latest revision as of 09:50, 11 October 2020
| 42px | This is the template test cases page for the sandbox of Template:Cite DCB. 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: |
Testing sandbox version
{{Cite DCB/sandbox}}
"Template:PAGENAMEBASE". Dictionary of Canadian Biography (online ed.). University of Toronto Press. 1979–2016.
| {{Cite DCB}} |
|---|
{{Cite DCB|ID=6182|name=Jameson, Richard Willis}}
{{Cite DCB}} "Jameson, Richard Willis". Dictionary of Canadian Biography (online ed.). University of Toronto Press. 1979–2016. {{Cite DCB/sandbox}} "Jameson, Richard Willis". Dictionary of Canadian Biography (online ed.). University of Toronto Press. 1979–2016. |
| {{Cite DCB}} |
|---|
{{Cite DCB|ID=6182|name=Jameson, Richard Willis|volume=7}}
{{Cite DCB}} Halpenny, Francess G, ed. (1988). "Jameson, Richard Willis". Dictionary of Canadian Biography. VII (1836–1850) (online ed.). University of Toronto Press. {{Cite DCB/sandbox}} Halpenny, Francess G, ed. (1988). "Jameson, Richard Willis". Dictionary of Canadian Biography. VII (1836–1850) (online ed.). University of Toronto Press. |
| {{Cite DCB}} |
|---|
{{Cite DCB|ID=6182|name=Jameson, Richard Willis|volume=VII}}
{{Cite DCB}} Halpenny, Francess G, ed. (1988). "Jameson, Richard Willis". Dictionary of Canadian Biography. VII (1836–1850) (online ed.). University of Toronto Press. {{Cite DCB/sandbox}} Halpenny, Francess G, ed. (1988). "Jameson, Richard Willis". Dictionary of Canadian Biography. VII (1836–1850) (online ed.). University of Toronto Press. |
| {{Cite DCB}} |
|---|
{{Cite DCB|ID=692|name=Cavelier, Jean|volume=II}}
{{Cite DCB}} Hayne, David, ed. (1979). "Cavelier, Jean". Dictionary of Canadian Biography. II (1701–1740) (online ed.). University of Toronto Press. Unknown parameter {{Cite DCB/sandbox}} Hayne, David, ed. (1979). "Cavelier, Jean". Dictionary of Canadian Biography. II (1701–1740) (online ed.). University of Toronto Press. Unknown parameter |
| Test for ignoring the URL |
|---|
{{Cite DCB|ID=692|name=Cavelier, Jean|url=http://www.en.wikipedia.org|volume=II}}
{{Cite DCB}} Hayne, David, ed. (1979). "Cavelier, Jean". Dictionary of Canadian Biography. II (1701–1740) (online ed.). University of Toronto Press. Unknown parameter {{Cite DCB/sandbox}} Hayne, David, ed. (1979). "Cavelier, Jean". Dictionary of Canadian Biography. II (1701–1740) (online ed.). University of Toronto Press. Unknown parameter |
| Test for title and url instead of name and ID |
|---|
{{Cite DCB|title=Cavelier, Jean|url=http://www.biographi.ca/en/bio/cavelier_jean_2E.html|volume=II}}
{{Cite DCB}} Hayne, David, ed. (1979). "Cavelier, Jean". Dictionary of Canadian Biography. II (1701–1740) (online ed.). University of Toronto Press. Unknown parameter {{Cite DCB/sandbox}} Hayne, David, ed. (1979). "Cavelier, Jean". Dictionary of Canadian Biography. II (1701–1740) (online ed.). University of Toronto Press. Unknown parameter |
Testing main template
{{Cite DCB}}
"Template:PAGENAMEBASE". Dictionary of Canadian Biography (online ed.). University of Toronto Press. 1979–2016.
{{Cite DCB|ID=6182|name=Jameson, Richard Willis}}- "Jameson, Richard Willis". Dictionary of Canadian Biography (online ed.). University of Toronto Press. 1979–2016.
{{Cite DCB|ID=6182|name=Jameson, Richard Willis |volume=7}}- Halpenny, Francess G, ed. (1988). "Jameson, Richard Willis". Dictionary of Canadian Biography. VII (1836–1850) (online ed.). University of Toronto Press.
{{Cite DCB|ID=6182|name=Jameson, Richard Willis |volume=VII}}- Halpenny, Francess G, ed. (1988). "Jameson, Richard Willis". Dictionary of Canadian Biography. VII (1836–1850) (online ed.). University of Toronto Press.
{{Cite DCB|ID=692|name=Cavelier, Jean |volume=II}}- Hayne, David, ed. (1979). "Cavelier, Jean". Dictionary of Canadian Biography. II (1701–1740) (online ed.). University of Toronto Press. Unknown parameter
|orig-date=ignored (help)
Test for ignoring the URL
{{Cite DCB|ID=692|name=Cavelier, Jean |volume=II |url=http://www.en.wikipedia.org}}- Hayne, David, ed. (1979). "Cavelier, Jean". Dictionary of Canadian Biography. II (1701–1740) (online ed.). University of Toronto Press. Unknown parameter
|orig-date=ignored (help)
Test for title and url instead of name and ID
{{Cite DCB|title=Cavelier, Jean |volume=II |url=http://www.biographi.ca/en/bio/cavelier_jean_2E.html}}- Hayne, David, ed. (1979). "Cavelier, Jean". Dictionary of Canadian Biography. II (1701–1740) (online ed.). University of Toronto Press. Unknown parameter
|orig-date=ignored (help)