Difference between revisions of "Template:Cite Nuttall/testcases"
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 == | ||
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title= | |
| + | }} | ||
| − | {{ | + | {{Test case|_collapsible=yes|_showcode=yes|_title=An example with a title parameter |
| + | |title=Rachel, Eliza}} | ||
| − | {{ | + | {{Test case|_collapsible=yes|_showcode=yes|_title=An example with a wstitle parameter |
| + | |wstitle=Rachel, Eliza}} | ||
| − | {{ | + | {{Test case|_collapsible=yes|_showcode=yes|_title=An example with an unnamed parameter |
| + | |Rachel, Eliza}} | ||
| − | {{ | + | {{Test case|_collapsible=yes|_showcode=yes|_title=An example with title and noicon parameters |
| + | |title=Rachel, Eliza|noicon}} | ||
| − | {{ | + | {{Test case|_collapsible=yes|_showcode=yes|_title=An example with title and verbose parameters |
| + | |title=Rachel, Eliza|vb=1}} | ||
| − | {{{{BASEPAGENAME}} | + | {{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}} | | + | *An example with only a verbose parameter |
| + | :<code><nowiki>{{ {{BASEPAGENAME}}|vb=1}}</nowiki></code> | ||
| + | :{{ {{BASEPAGENAME}}|vb=1}} | ||
| − | {{{{BASEPAGENAME}}| | + | *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= | + | *An example using title and short |
| + | :<code><nowiki>{{ {{BASEPAGENAME}}|title=Blake, William|short=x}}</nowiki></code> | ||
| + | :{{ {{BASEPAGENAME}}|title=Blake, William|short=x}} | ||
| − | {{{{BASEPAGENAME}}| | + | *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
| This is the template test cases page for the sandbox of Template:Cite Nuttall. 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 Nuttall}} |
|---|
{{Cite Nuttall}}
{{Cite Nuttall}} Wood, James, ed. (1907). The Nuttall Encyclopædia. London and New York: Frederick Warne. Missing or empty Wood, James, ed. (1907). The Nuttall Encyclopædia. London and New York: Frederick Warne. Missing or empty |
| An example with a title parameter |
|---|
{{Cite Nuttall|title=Rachel, Eliza}}
{{Cite Nuttall}} Wood, James, ed. (1907). . The Nuttall Encyclopædia. London and New York: Frederick Warne. Wood, James, ed. (1907). . 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). . The Nuttall Encyclopædia. London and New York: Frederick Warne. Wood, James, ed. (1907). . 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). . The Nuttall Encyclopædia. London and New York: Frederick Warne. Wood, James, ed. (1907). . 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). . The Nuttall Encyclopædia. London and New York: Frederick Warne. Wood, James, ed. (1907). . 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 domain: Wood, James, ed. (1907). . The Nuttall Encyclopædia. London and New York: Frederick Warne. This article incorporates text from a publication now in the public domain: Wood, James, ed. (1907). . 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 domain: Wood, James, ed. (1907). "Rachel, Eliza". The Nuttall Encyclopædia. London and New York: Frederick Warne. This article incorporates text from a publication now in the public domain: Wood, 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 domain: Wood, James, ed. (1907). The Nuttall Encyclopædia. London and New York: Frederick Warne. Missing or empty This article incorporates text from a publication now in the public domain: Wood, James, ed. (1907). The Nuttall Encyclopædia. London and New York: Frederick Warne. Missing or empty |
- 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}} . The Nuttall Encyclopædia. 1907. . 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. "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: . The Nuttall Encyclopædia. 1907. This article incorporates text from a publication now in the public domain: . 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. 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). . The Nuttall Encyclopædia. London and New York: Frederick Warne.
- An example with a wstitle parameter
{{ {{BASEPAGENAME}}|wstitle=Rachel, Eliza}}- Wood, James, ed. (1907). . The Nuttall Encyclopædia. London and New York: Frederick Warne.
- An example with an unnamed parameter
{{ {{BASEPAGENAME}}|Rachel, Eliza}}- Wood, James, ed. (1907). . 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). . The Nuttall Encyclopædia. London and New York: Frederick Warne.
- An example with title and verbose parameters
{{ {{BASEPAGENAME}}|title=Rachel, Eliza|vb=1}}
- This article incorporates text from a publication now in the public domain: Wood, James, ed. (1907). . The Nuttall Encyclopædia. London and New York: Frederick Warne.
- An example with noicon, title and verbose parameters
{{ {{BASEPAGENAME}}|noicon=1|title=Rachel, Eliza|vb=1}}
- This article incorporates text from a publication now in the public domain: Wood, James, ed. (1907). "Rachel, Eliza". The Nuttall Encyclopædia. London and New York: Frederick Warne.
- An example with only a verbose parameter
{{ {{BASEPAGENAME}}|vb=1}}- This article incorporates text from a publication now in the public domain: Wood, 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). . 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}}- . 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: . 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.