Difference between revisions of "Template:Introduction to Algorithms"
(Add "style=" parameter to allow CS2 styles, and upgrade documentation of existing parameters) |
(Made previous edit actually work, using {{Citation|style=cs1}} rather than {{Cite book}}. I thought {{cite book}} took a style parameter, but no...) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Citation |
| last1 = Cormen | | last1 = Cormen | ||
| first1 = Thomas H. | | first1 = Thomas H. | ||
Line 21: | Line 21: | ||
| chapter = {{{chapter|}}} | | chapter = {{{chapter|}}} | ||
| ref = {{{ref|}}} | | ref = {{{ref|}}} | ||
− | | style = {{{style|}}} | + | | style = {{{style|cs1}}} |
}}<noinclude> | }}<noinclude> | ||
{{cs1 wrapper|base=Cite book}} | {{cs1 wrapper|base=Cite book}} |
Revision as of 15:50, 1 January 2017
Cormen, Thomas H.; Leiserson, Charles E.; Rivest, Ronald L., Introduction to Algorithms, MIT Press and McGraw-Hill Unknown parameter |style=
ignored (help)
![]() | 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. |
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 |
Style | style | Passed through to {{cite book}}; Specify style=cs2 if that is preferred.
| Line | optional |