Difference between revisions of "Template:Introduction to Algorithms"

From blackwiki
Jump to navigation Jump to search
imported>Glrx
(try making ref=harv work)
imported>Jonesey95
(Fix empty citation, unnamed or unsupported parameter, or invalid parameter value; see Help:CS1 errors (upcoming deprecation))
 
(16 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{cite book  
+
{{Cite book
| last = Cormen  
+
|last1=Cormen
| first = Thomas H.  
+
|first1=Thomas H.
| authorlink=Thomas H. Cormen  
+
|author1-link=Thomas H. Cormen
| author2 = [[Charles E. Leiserson|Leiserson, Charles E.]], [[Ron Rivest|Rivest, Ronald L.]]{{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 |, [[Clifford Stein|Stein, Clifford]]}}  
+
|last2=Leiserson
| title = {{ #ifeq: {{{notitlelink}}}| 1 | Introduction to Algorithms | [[Introduction to Algorithms]] }}
+
|first2=Charles E.
| origyear = {{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | 1990 }}  
+
|author2-link=Charles E. Leiserson
| year = {{ #switch: {{{edition|{{{1}}}}}} | 1=1990 | 2=2001 | 3=2009}}  
+
|last3=Rivest
| edition = {{ #switch: {{{edition|{{{1}}}}}} | 1=1st | 2=2nd | 3=3rd}}  
+
|first3=Ronald L.
| publisher = MIT Press and McGraw-Hill  
+
|author3-link=Ron Rivest
| isbn = {{ #switch: {{{edition|{{{1}}}}}} | 1=0-262-03141-8 | 2=0-262-03293-7 | 3=0-262-03384-4}}  
+
|last4={{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | Stein }}
| pages = {{{pages|}}}  
+
|first4={{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | Clifford }}
| chapter = {{{chapter|}}}
+
|author4-link={{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | Clifford Stein }}
| ref = {{{ref|}}}
+
|title=Introduction to Algorithms
 +
|title-link={{ #ifeq: {{{notitlelink}}}| 1 | | Introduction to Algorithms }}
 +
|orig-year={{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | 1990 }}
 +
|year={{ #switch: {{{edition|{{{1}}}}}} | 1=1990 | 2=2001 | 3=2009}}
 +
|edition={{ #switch: {{{edition|{{{1}}}}}} | 1=1st | 2=2nd | 3=3rd}}
 +
|publisher=MIT Press and McGraw-Hill  
 +
|isbn={{ #switch: {{{edition|{{{1}}}}}} | 1=0-262-03141-8 | 2=0-262-03293-7 | 3=0-262-03384-4}}
 +
|pages={{{pages|}}}
 +
|chapter={{{chapter|}}}
 +
|mode={{{mode|}}}
 +
|ref={{{ref|}}}
 
}}<noinclude>
 
}}<noinclude>
[[Category:Mathematics source templates|{{PAGENAME}}]]
+
{{Documentation}}</noinclude>
</noinclude>
 

Latest revision as of 01:08, 20 February 2021

Cormen, Thomas H.; Leiserson, Charles E.; Rivest, Ronald L. Introduction to Algorithms. MIT Press and McGraw-Hill.

Template documentation[view] [edit] [history] [purge]

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Introduction to Algorithms

Inserts a [[Help:Citation Style 1|CS1]] reference to ''[[Introduction to Algorithms]]'' by Cormen, Leiserson, Rivest and Stein (CLR, or CLRS, depending on edition).

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Editionedition 1

Edition number: 1, 2, or 3. Controls display of edition number, ISBN, and fourth author. May also be passed as the first unnamed parameter.

Auto value
3
Numbersuggested
Notitlelinknotitlelink

If value is non-empty, do not link the title to the Wikipedia article about the book.

Example
y
Unknownoptional
Pagespages

Passed through to {{cite book}}.

Lineoptional
Chapterchapter

Passed through to {{cite book}}.

Unknownoptional
Refref

Passed through to {{cite book}}.

Example
harv
Lineoptional