Template:Citation/testcases
| 42px | This is the template test cases page for the sandbox of Template:Citation. 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: |
This page contains test cases for {{Citation}}. Further cases specifically testing the archiving features are available at Template:Citation/testcases/archive
Format of page
- Code used
- Version using current {{Citation}}
- Version using sandbox {{Citation/Sandbox}}
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">|access-date=</code> requires <code class="cs1-code">|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">|access-date=</code> requires <code class="cs1-code">|url=</code> ([[Help:CS1 errors#accessdate_missing_url|help]])</span>'"`UNIQ--templatestyles-00000013-QINU`"'