Difference between revisions of "Template:Citation/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Magioladitis
m (→‎separator parameter: clean up, replaced: {{-}} → {{clear}} (2) using AWB (12084))
imported>Trappist the monk
(Template:Citation no longer has the patent bypass; all citation templates with patent parameters have been converted to use Template:cite patent;)
 
Line 248: Line 248:
 
|quote=This is a test of the quote feature.
 
|quote=This is a test of the quote feature.
 
}}
 
}}
 
==access-date==
 
The once deprecated parameter {{para|access-date}} was restored in a move to have a common format for all parameters (some in [[Module:Citation/CS1]] were all run together ({{para|accessdate}}, separated with underscores {{para|trans_title}}, camelCase ({{para|EditorSurname}}, and not a few were hyphenated).  The decision was taken to hyphenate all parameter names.  The problem with hyphenated {{para|access-date}} is that {{tlx|citation}} is a hybrid that uses {{tlx|citation/patent}} and {{tlx|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 {{tld|citation}} checks for  are access date type parameters which is not supported by {{tld|citation/patent}}.  Neither does it support {{para|day}} which is only other parameter being checked.
 
 
;sandbox
 
*{{Citation/sandbox
 
|last1 = Biermann
 
|first1 = Christpher J.
 
|title = Handbook of Pulping and Papermaking
 
|edition = 2nd
 
|year = 1996
 
|access-date=2014-09-14
 
}}
 
*{{code|{{Citation/sandbox
 
|last1 = Biermann
 
|first1 = Christpher J.
 
|title = Handbook of Pulping and Papermaking
 
|edition = 2nd
 
|year = 1996
 
|access-date=2014-09-14
 
}}}}
 
 
;installed
 
*{{Citation
 
|last1 = Biermann
 
|first1 = Christpher J.
 
|title = Handbook of Pulping and Papermaking
 
|edition = 2nd
 
|year = 1996
 
|access-date=2014-09-14
 
}}
 
*{{code|{{Citation
 
|last1 = Biermann
 
|first1 = Christpher J.
 
|title = Handbook of Pulping and Papermaking
 
|edition = 2nd
 
|year = 1996
 
|access-date=2014-09-14
 
}}}}
 

Latest revision as of 16:44, 7 May 2019

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.