Difference between revisions of "Template:Cite Nuttall/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Bob Burkhardt
(create)
 
imported>Trappist the monk
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
== Testing sandbox version ==
 
== Testing sandbox version ==
  
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox}}</nowiki></code>
+
{{Test case|_collapsible=yes|_showcode=yes|_title=
 +
}}
  
{{{{BASEPAGENAME}}/sandbox|Rachel, Eliza}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=An example with a title parameter
 +
|title=Rachel, Eliza}}
  
{{{{BASEPAGENAME}}/sandbox|wstitle=Rachel, Eliza}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=An example with a wstitle parameter
 +
|wstitle=Rachel, Eliza}}
  
{{{{BASEPAGENAME}}/sandbox|title=Rachel, Eliza}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=An example with an unnamed parameter
 +
|Rachel, Eliza}}
  
{{{{BASEPAGENAME}}/sandbox|Rachel, Eliza|vb=1}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=An example with title and noicon parameters
 +
|title=Rachel, Eliza|noicon}}
  
{{{{BASEPAGENAME}}/sandbox|vb=1}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=An example with title and verbose parameters
 +
|title=Rachel, Eliza|vb=1}}
  
{{{{BASEPAGENAME}}/sandbox}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=An example with noicon, title and verbose parameters
 +
|noicon=1|title=Rachel, Eliza|vb=1}}
 +
 
 +
{{Test case|_collapsible=yes|_showcode=yes|_title=An example with only a verbose parameter
 +
|vb=1}}
 +
 
 +
*Example with title and an additional comment (should appear on the same line):
 +
{{BASEPAGENAME}}|title=Blake, William}} A mystic from his very boyhood.
 +
 
 +
{{Test case|_collapsible=yes|_showcode=yes|_title=An example using title and short
 +
|title=Blake, William|short=x}}
 +
 
 +
{{Test case|_collapsible=yes|_showcode=yes|_title=An example using title, short and noicon
 +
|title=Blake, William|short=x|noicon=x}}
 +
 
 +
{{Test case|_collapsible=yes|_showcode=yes|_title=An example using title, short and verbose
 +
|title=Bischoff, Theodor Ludwig Wilhelm|short=x|vb=1}}
 +
 
 +
{{Test case|_collapsible=yes|_showcode=yes|_title=An example using wstitle, noicon, short and verbose
 +
|wstitle=Bischoff, Theodor Ludwig Wilhelm|noicon=1|short=x|vb=1}}
  
 
{{clear}}
 
{{clear}}
Line 21: Line 46:
 
== Testing main template ==
 
== Testing main template ==
  
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code>
+
:<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code>
 +
:{{{{BASEPAGENAME}}}}
 +
 
 +
*An example with a title parameter
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|title=Rachel, Eliza}}</nowiki></code>
 +
:{{ {{BASEPAGENAME}}|title=Rachel, Eliza}}
 +
 
 +
*An example with a wstitle parameter
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|wstitle=Rachel, Eliza}}</nowiki></code>
 +
:{{ {{BASEPAGENAME}}|wstitle=Rachel, Eliza}}
 +
 
 +
*An example with an unnamed parameter
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|Rachel, Eliza}}</nowiki></code>
 +
:{{ {{BASEPAGENAME}}|Rachel, Eliza}}
 +
 
 +
*An example with title and noicon parameters
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|title=Rachel, Eliza|noicon=x}}</nowiki></code>
 +
:{{ {{BASEPAGENAME}}|title=Rachel, Eliza|noicon}}
 +
 
 +
*An example with title and verbose parameters
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|title=Rachel, Eliza|vb=1}}</nowiki></code>
 +
*{{ {{BASEPAGENAME}}|title=Rachel, Eliza|vb=1}}
 +
 
 +
*An example with noicon, title and verbose parameters
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|noicon=1|title=Rachel, Eliza|vb=1}}</nowiki></code>
 +
*{{ {{BASEPAGENAME}}|noicon=1|title=Rachel, Eliza|vb=1}}
  
{{ {{BASEPAGENAME}} |Rachel, Eliza}}
+
*An example with only a verbose parameter
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|vb=1}}</nowiki></code>
 +
:{{ {{BASEPAGENAME}}|vb=1}}
  
{{{{BASEPAGENAME}}|wstitle=Rachel, Eliza}}
+
*Example with title and an additional comment (should appear on the same line):
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|title=Blake, William}} A mystic from his very boyhood.</nowiki></code>
 +
:{{ {{BASEPAGENAME}}|title=Blake, William}} A mystic from his very boyhood.
  
{{{{BASEPAGENAME}}|title=Rachel, Eliza}}
+
*An example using title and short
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|title=Blake, William|short=x}}</nowiki></code>
 +
:{{ {{BASEPAGENAME}}|title=Blake, William|short=x}}
  
{{{{BASEPAGENAME}}|Rachel, Eliza|vb=1}}
+
*An example using title, short and noicon
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|title=Blake, William|short=x|noicon=x}}</nowiki></code>
 +
:{{ {{BASEPAGENAME}}|title=Blake, William|short=x|noicon=x}}
  
{{{{BASEPAGENAME}}|vb=1}}
+
*An example using title, short and verbose
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|title=Bischoff, Theodor Ludwig Wilhelm|short=x|vb=1}}</nowiki></code>
 +
:{{ {{BASEPAGENAME}}|title=Bischoff, Theodor Ludwig Wilhelm|short=x|vb=1}}
  
{{ {{BASEPAGENAME}} }}
+
*An example using wstitle, noicon, short and verbose
 +
:<code><nowiki>{{ {{BASEPAGENAME}}|wstitle=Bischoff, Theodor Ludwig Wilhelm|noicon=1|short=x|vb=1}}</nowiki></code>
 +
:{{ {{BASEPAGENAME}}|wstitle=Bischoff, Theodor Ludwig Wilhelm|noicon=1|short=x|vb=1}}

Latest revision as of 15:03, 11 October 2020

Testing sandbox version

{{Cite Nuttall}}
{{Cite Nuttall}}

{{Cite Nuttall}}

Wood, James, ed. (1907). The Nuttall Encyclopædia. London and New York: Frederick Warne. Missing or empty |title= (help)

{{Cite Nuttall/sandbox}}

Wood, James, ed. (1907). The Nuttall Encyclopædia. London and New York: Frederick Warne. Missing or empty |title= (help)

An example with a title parameter
{{Cite Nuttall|title=Rachel, Eliza}}

{{Cite Nuttall}}

Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.

{{Cite Nuttall/sandbox}}

Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.

An example with a wstitle parameter
{{Cite Nuttall|wstitle=Rachel, Eliza}}

{{Cite Nuttall}}

Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.

{{Cite Nuttall/sandbox}}

Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.

An example with an unnamed parameter
{{Cite Nuttall|Rachel, Eliza}}

{{Cite Nuttall}}

Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.

{{Cite Nuttall/sandbox}}

Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.

An example with title and noicon parameters
{{Cite Nuttall|noicon|title=Rachel, Eliza}}

{{Cite Nuttall}}

Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.

{{Cite Nuttall/sandbox}}

Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.

An example with title and verbose parameters
{{Cite Nuttall|title=Rachel, Eliza|vb=1}}

{{Cite Nuttall}}

This article incorporates text from a publication now in the public domainWood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.

{{Cite Nuttall/sandbox}}

This article incorporates text from a publication now in the public domainWood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.

An example with noicon, title and verbose parameters
{{Cite Nuttall|noicon=1|title=Rachel, Eliza|vb=1}}

{{Cite Nuttall}}

This article incorporates text from a publication now in the public domainWood, James, ed. (1907). "Rachel, Eliza". The Nuttall Encyclopædia. London and New York: Frederick Warne.

{{Cite Nuttall/sandbox}}

This article incorporates text from a publication now in the public domainWood, James, ed. (1907). "Rachel, Eliza". The Nuttall Encyclopædia. London and New York: Frederick Warne.

An example with only a verbose parameter
{{Cite Nuttall|vb=1}}

{{Cite Nuttall}}

This article incorporates text from a publication now in the public domainWood, James, ed. (1907). The Nuttall Encyclopædia. London and New York: Frederick Warne. Missing or empty |title= (help)

{{Cite Nuttall/sandbox}}

This article incorporates text from a publication now in the public domainWood, James, ed. (1907). The Nuttall Encyclopædia. London and New York: Frederick Warne. Missing or empty |title= (help)

  • Example with title and an additional comment (should appear on the same line):

Cite Nuttall|title=Blake, William}} A mystic from his very boyhood.

An example using title and short
{{Cite Nuttall|short=x|title=Blake, William}}

{{Cite Nuttall}}

"Blake, William" . The Nuttall Encyclopædia. 1907.

{{Cite Nuttall/sandbox}}

"Blake, William" . The Nuttall Encyclopædia. 1907.

An example using title, short and noicon
{{Cite Nuttall|noicon=x|short=x|title=Blake, William}}

{{Cite Nuttall}}

"Blake, William". The Nuttall Encyclopædia. 1907.

{{Cite Nuttall/sandbox}}

"Blake, William". The Nuttall Encyclopædia. 1907.

An example using title, short and verbose
{{Cite Nuttall|short=x|title=Bischoff, Theodor Ludwig Wilhelm|vb=1}}

{{Cite Nuttall}}

This article incorporates text from a publication now in the public domain"Bischoff, Theodor Ludwig Wilhelm" . The Nuttall Encyclopædia. 1907.

{{Cite Nuttall/sandbox}}

This article incorporates text from a publication now in the public domain"Bischoff, Theodor Ludwig Wilhelm" . The Nuttall Encyclopædia. 1907.

An example using wstitle, noicon, short and verbose
{{Cite Nuttall|noicon=1|short=x|vb=1|wstitle=Bischoff, Theodor Ludwig Wilhelm}}

{{Cite Nuttall}}

This article incorporates text from a publication now in the public domain"Bischoff, Theodor Ludwig Wilhelm". The Nuttall Encyclopædia. 1907.

{{Cite Nuttall/sandbox}}

This article incorporates text from a publication now in the public domain"Bischoff, Theodor Ludwig Wilhelm". The Nuttall Encyclopædia. 1907.

Testing main template

{{Cite Nuttall}}
{{{{BASEPAGENAME}}}}
  • An example with a title parameter
{{ {{BASEPAGENAME}}|title=Rachel, Eliza}}
Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.
  • An example with a wstitle parameter
{{ {{BASEPAGENAME}}|wstitle=Rachel, Eliza}}
Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.
  • An example with an unnamed parameter
{{ {{BASEPAGENAME}}|Rachel, Eliza}}
Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.
  • An example with title and noicon parameters
{{ {{BASEPAGENAME}}|title=Rachel, Eliza|noicon=x}}
Wood, James, ed. (1907). "Rachel, Eliza" . The Nuttall Encyclopædia. London and New York: Frederick Warne.
  • An example with title and verbose parameters
{{ {{BASEPAGENAME}}|title=Rachel, Eliza|vb=1}}
  • An example with noicon, title and verbose parameters
{{ {{BASEPAGENAME}}|noicon=1|title=Rachel, Eliza|vb=1}}
  • An example with only a verbose parameter
{{ {{BASEPAGENAME}}|vb=1}}
This article incorporates text from a publication now in the public domainWood, James, ed. (1907). The Nuttall Encyclopædia. London and New York: Frederick Warne. Missing or empty |title= (help)
  • Example with title and an additional comment (should appear on the same line):
{{ {{BASEPAGENAME}}|title=Blake, William}} A mystic from his very boyhood.
Wood, James, ed. (1907). "Blake, William" . The Nuttall Encyclopædia. London and New York: Frederick Warne. A mystic from his very boyhood.
  • An example using title and short
{{ {{BASEPAGENAME}}|title=Blake, William|short=x}}
"Blake, William" . The Nuttall Encyclopædia. 1907.
  • An example using title, short and noicon
{{ {{BASEPAGENAME}}|title=Blake, William|short=x|noicon=x}}
"Blake, William". The Nuttall Encyclopædia. 1907.
  • An example using title, short and verbose
{{ {{BASEPAGENAME}}|title=Bischoff, Theodor Ludwig Wilhelm|short=x|vb=1}}
This article incorporates text from a publication now in the public domain"Bischoff, Theodor Ludwig Wilhelm" . The Nuttall Encyclopædia. 1907.
  • An example using wstitle, noicon, short and verbose
{{ {{BASEPAGENAME}}|wstitle=Bischoff, Theodor Ludwig Wilhelm|noicon=1|short=x|vb=1}}
This article incorporates text from a publication now in the public domain"Bischoff, Theodor Ludwig Wilhelm". The Nuttall Encyclopædia. 1907.