Difference between revisions of "Template:Introduction to Algorithms"

From blackwiki
Jump to navigation Jump to search
imported>Wikid77
(put "version=" to show edition; tried reset "edition=&nbsp ;" as blank but didn't clear edition)
imported>JJMC89
(doc)
Line 16: Line 16:
 
| origyear = {{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | 1990 }}
 
| origyear = {{ #ifexpr: {{{edition|{{{1|0}}}}}}>1 | 1990 }}
 
| year = {{ #switch: {{{edition|{{{1}}}}}} | 1=1990 | 2=2001 | 3=2009}}
 
| year = {{ #switch: {{{edition|{{{1}}}}}} | 1=1990 | 2=2001 | 3=2009}}
| version = {{ #switch: {{{edition|}}}{{{1|}}} | 1=1st | 2=2nd | 3=3rd |#default = {{{edition|}}}{{{1|}}} }} edition
+
| version = {{ #switch: {{{edition|{{{1|}}}}}} | 1=1st | 2=2nd | 3=3rd |#default = {{{edition|{{{1|}}}}}} }} edition
 
| edition =  
 
| edition =  
| publisher = MIT Press and McGraw-Hill  
+
| 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}}  
 
| isbn = {{ #switch: {{{edition|{{{1}}}}}} | 1=0-262-03141-8 | 2=0-262-03293-7 | 3=0-262-03384-4}}  
}}<noinclude>
+
}}<noinclude>{{documentation|content=
 
{{cs1 wrapper|base=Cite book}}
 
{{cs1 wrapper|base=Cite book}}
  
Line 58: Line 58:
  
 
[[Category:Mathematics source templates|{{PAGENAME}}]]
 
[[Category:Mathematics source templates|{{PAGENAME}}]]
</noinclude>
+
}}</noinclude>

Revision as of 06:06, 9 January 2018

Script error: No such module "Citation/CS1/Wrapper".

Template documentation

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