Template:Citation/testcases

From blackwiki
< Template:Citation
Revision as of 13:50, 2 September 2016 by imported>Magioladitis (→‎separator parameter: clean up, replaced: {{-}} → {{clear}} (2) using AWB (12084))
Jump to navigation Jump to search

This page contains test cases for {{Citation}}. Further cases specifically testing the archiving features are available at Template:Citation/testcases/archive

Format of page

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase



Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

separator parameter

{{Citation
|last1 = Biermann
|first1 = Christpher J.
|authorlink1 =
|last2 =
|first2 =
|editor1-first =
|editor1-last =
|editor1-link =
|others =
|title = Handbook of Pulping and Papermaking
|url =
|format =
|accessdate =
|edition = 2nd
|series =
|volume =
|date =
|year = 1996
|month =
|origyear =
|publisher = Academic Press
|location =
|language =
|isbn = 0-12-097362-6
|oclc =
|doi =
|id =
|page =
|pages = 72–73
|chapter = 3
|chapterurl =
|quote =
|ref =
|bibcode =
|laysummary =
|laydate =
|separator =
|postscript =
|lastauthoramp =
}}


sandbox
  • Biermann, Christpher J. (1996), "3", Handbook of Pulping and Papermaking (2nd ed.), Academic Press, pp. 72–73, ISBN 0-12-097362-6
installed
  • Biermann, Christpher J. (1996), "3", Handbook of Pulping and Papermaking (2nd ed.), Academic Press, pp. 72–73, ISBN 0-12-097362-6


{{Citation
|last1 = Biermann
|first1 = Christpher J.
|title = Handbook of Pulping and Papermaking
|edition = 2nd
|year = 1996
|isbn = 0-12-097362-6
|pages = 72–73
|chapter = 3
|publisher = Academic Press
}}
sandbox
  • Biermann, Christpher J. (1996), "3", Handbook of Pulping and Papermaking (2nd ed.), Academic Press, pp. 72–73, ISBN 0-12-097362-6
installed
  • Biermann, Christpher J. (1996), "3", Handbook of Pulping and Papermaking (2nd ed.), Academic Press, pp. 72–73, ISBN 0-12-097362-6

Quote

sandbox
  • Biermann, Christpher J. (1996), Handbook of Pulping and Papermaking (2nd ed.), This is a test of the quote feature.
installed
  • Biermann, Christpher J. (1996), Handbook of Pulping and Papermaking (2nd ed.), This is a test of the quote feature.

access-date

The once deprecated parameter |access-date= was restored in a move to have a common format for all parameters (some in Module:Citation/CS1 were all run together (|accessdate=, separated with underscores |trans_title=, camelCase (|EditorSurname=, and not a few were hyphenated). The decision was taken to hyphenate all parameter names. The problem with hyphenated |access-date= is that {{citation}} is a hybrid that uses {{citation/patent}} and {{citation/core}} to handle patent citations and still includes the deprecated parameter checking. I believe that this checking is no longer required because most of the deprecated parameters that {{citation}} checks for are access date type parameters which is not supported by {{citation/patent}}. Neither does it support |day= which is only other parameter being checked.

sandbox
  • Biermann, Christpher J. (1996), Handbook of Pulping and Papermaking (2nd ed.) |access-date= requires |url= (help)
  • <cite id="CITEREFBiermann1996" class="citation cs2">Biermann, Christpher J. (1996), ''Handbook of Pulping and Papermaking'' (2nd ed.)</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Handbook+of+Pulping+and+Papermaking&rft.edition=2nd&rft.date=1996&rft.aulast=Biermann&rft.aufirst=Christpher+J.&rfr_id=info%3Asid%2Fblackwiki.org%3ATemplate%3ACitation%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error error citation-comment"><code class="cs1-code">&#124;access-date=</code> requires <code class="cs1-code">&#124;url=</code> ([[Help:CS1 errors#accessdate_missing_url|help]])</span>'"`UNIQ--templatestyles-00000010-QINU`"'
installed
  • Biermann, Christpher J. (1996), Handbook of Pulping and Papermaking (2nd ed.) |access-date= requires |url= (help)
  • <cite id="CITEREFBiermann1996" class="citation cs2">Biermann, Christpher J. (1996), ''Handbook of Pulping and Papermaking'' (2nd ed.)</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Handbook+of+Pulping+and+Papermaking&rft.edition=2nd&rft.date=1996&rft.aulast=Biermann&rft.aufirst=Christpher+J.&rfr_id=info%3Asid%2Fblackwiki.org%3ATemplate%3ACitation%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error error citation-comment"><code class="cs1-code">&#124;access-date=</code> requires <code class="cs1-code">&#124;url=</code> ([[Help:CS1 errors#accessdate_missing_url|help]])</span>'"`UNIQ--templatestyles-00000013-QINU`"'