Difference between revisions of "Template:Introduction to Algorithms"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(revert to {{cite book}} for now; issues with edition parameter)
imported>JJMC89
(to /doc)
Line 21: Line 21:
 
| chapter = {{{chapter|}}}
 
| chapter = {{{chapter|}}}
 
| ref = {{{ref|}}}
 
| ref = {{{ref|}}}
}}<noinclude>{{documentation|content=
+
}}<noinclude>
{{cs1 wrapper|base=Cite book}}
+
{{documentation}}</noinclude>
 
 
== TemplateData ==
 
{{TemplateData header}}
 
<templatedata>
 
{
 
"params": {
 
"edition": {
 
"description": "Edition number: 1, 2, or 3.  Controls display of edition number, ISBN, and fourth author.  May also be passed as the first unnamed parameter.",
 
"suggested": true,
 
"type": "number",
 
"autovalue": "3",
 
"aliases": [ "1" ]
 
},
 
"notitlelink": {
 
"description": "If value is non-empty, do not link the title to the Wikipedia article about the book.",
 
"example": "y"
 
},
 
"pages": {
 
"description": "Passed through to {{cite book}}.",
 
"type": "line"
 
},
 
"chapter": {
 
"description": "Passed through to {{cite book}}."
 
},
 
"ref": {
 
"description": "Passed through to {{cite book}}.",
 
"type": "line",
 
"example": "harv"
 
}
 
},
 
"description": "Inserts a [[Help:Citation Style 1|CS1]] reference to ''[[Introduction to Algorithms]]'' by Cormen, Leiserson, Rivest and Stein (CLR, or CLRS, depending on edition).",
 
"format": "inline"
 
}
 
</templatedata>
 
 
 
[[Category:Mathematics source templates|{{PAGENAME}}]]
 
}}</noinclude>
 

Revision as of 06:58, 9 January 2018

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