Difference between revisions of "Template:Introduction to Algorithms"
Jump to navigation
Jump to search
(Add "style=" parameter to allow CS2 styles, and upgrade documentation of existing parameters) |
imported>Jonesey95 (Fix empty citation, unnamed or unsupported parameter, or invalid parameter value; see Help:CS1 errors (upcoming deprecation)) |
||
(11 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Cite book |
− | | last1 = Cormen | + | |last1=Cormen |
− | | first1 = Thomas H. | + | |first1=Thomas H. |
− | | author1-link=Thomas H. Cormen | + | |author1-link=Thomas H. Cormen |
− | | last2= Leiserson | + | |last2=Leiserson |
− | | first2= Charles E. | + | |first2=Charles E. |
− | | author2-link=Charles E. Leiserson | + | |author2-link=Charles E. Leiserson |
− | | last3= Rivest | + | |last3=Rivest |
− | | first3= Ronald L. | + | |first3=Ronald L. |
− | | author3-link=Ron Rivest | + | |author3-link=Ron Rivest |
− | | last4= {{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | Stein }} | + | |last4={{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | Stein }} |
− | | first4= {{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | Clifford }} | + | |first4={{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | Clifford }} |
− | | author4-link= {{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | Clifford Stein }} | + | |author4-link={{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | Clifford Stein }} |
− | | title = {{ #ifeq: {{{notitlelink}}}| 1 | | + | |title=Introduction to Algorithms |
− | | | + | |title-link={{ #ifeq: {{{notitlelink}}}| 1 | | Introduction to Algorithms }} |
− | | year = {{ #switch: {{{edition|{{{1}}}}}} | 1=1990 | 2=2001 | 3=2009}} | + | |orig-year={{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | 1990 }} |
− | | edition = {{ #switch: {{{edition|{{{1}}}}}} | 1=1st | 2=2nd | 3=3rd}} | + | |year={{ #switch: {{{edition|{{{1}}}}}} | 1=1990 | 2=2001 | 3=2009}} |
− | | publisher = MIT Press and McGraw-Hill | + | |edition={{ #switch: {{{edition|{{{1}}}}}} | 1=1st | 2=2nd | 3=3rd}} |
− | | isbn = {{ #switch: {{{edition|{{{1}}}}}} | 1=0-262-03141-8 | 2=0-262-03293-7 | 3=0-262-03384-4}} | + | |publisher=MIT Press and McGraw-Hill |
− | | pages = {{{pages|}}} | + | |isbn={{ #switch: {{{edition|{{{1}}}}}} | 1=0-262-03141-8 | 2=0-262-03293-7 | 3=0-262-03384-4}} |
− | | chapter = {{{chapter|}}} | + | |pages={{{pages|}}} |
− | | | + | |chapter={{{chapter|}}} |
− | | | + | |mode={{{mode|}}} |
+ | |ref={{{ref|}}} | ||
}}<noinclude> | }}<noinclude> | ||
− | {{ | + | {{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.
![]() | This template is a Citation Style 1 wrapper template based on {{Cite book}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
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).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Edition | edition 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.
| Number | suggested |
Notitlelink | notitlelink | If value is non-empty, do not link the title to the Wikipedia article about the book.
| Unknown | optional |
Pages | pages | Passed through to {{cite book}}. | Line | optional |
Chapter | chapter | Passed through to {{cite book}}. | Unknown | optional |
Ref | ref | Passed through to {{cite book}}.
| Line | optional |
The above documentation is transcluded from Template:Introduction to Algorithms/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |