Template:TAOCP

From Vigyanwiki
Template documentation

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 documentation for this template used by VisualEditor and other tools.

TAOCP

[[Category:Templates using TemplateData{{#translation:}}]]

Inserts a CS1 reference to ''The Art of Computer Programming'' by 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

[[Category:Template documentation pages{{#translation:}}]]