Template:TAOCP: Difference between revisions

From Vigyanwiki
(Created page with "<includeonly>{{cite book|last=Knuth|first=Donald|author-link=Donald Knuth|title={{#switch:{{{volume|}}}|1=Fundamental Algorithms|1f1=MMIX: A RISC Computer for the New Millenni...")
 
m (1 revision imported from alpha:Template:TAOCP)
 
(No difference)

Latest revision as of 10:57, 4 July 2023

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&ndash;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:}}]]