Template:TAOCP

From HandWiki
Revision as of 20:40, 8 May 2020 by imported>Jworkorg (import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a template for automatically generating a citation to Knuth's The Art of Computer Programming. Just fill in |volume=, |edition= and |page= and the rest is taken care of. In addition to volumes 1, 2, 3 and 4a, this can generate citations to the pre-release fascicles, calling them volumes 1f1, 4f0, 4f1, 4f2, 4f3, 4f4, 4f5 and 4f6.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for TAOCP

Inserts a [[Help:Citation Style 1|CS1]] reference to ''[[The Art of Computer Programming]]'' by [[Biography:Donald Knuth|Donald Knuth]]

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
volumevolume

Volume: 1, 2, 3, 4a, or 1f1, 4f0, 4f1, etc for the fascicles.

Unknownrequired
editionedition

Edition number: 1, 2, or 3. Only needed for volumes 1–3 which have multiple editions. Publication year is filled in automatically based on this.

Unknownoptional
pagespages

Page number(s) for citation.

Unknownoptional
harvharv

If present, "ref=harv" is added to citation

Unknownoptional