Difference between revisions of "Template:Cite EWD"
Jump to navigation
Jump to search
(Fix punctuation and link) |
imported>Jimw338 m (added link to EWD archive itself) |
||
Line 11: | Line 11: | ||
<!-- The url= parameter should be used, but when I do that, I get a parser error, probably due to the template call nesting. --> | <!-- The url= parameter should be used, but when I do that, I get a parser error, probably due to the template call nesting. --> | ||
− | This template is used, for instance, in the [[dining philosophers problem]] article, to refer to [[Edsger W. Dijkstra]]'s collected notes (the "EWDs"), published by the University of Texas at Austin. | + | This template is used, for instance, in the [[dining philosophers problem]] article, to refer to [[Edsger W. Dijkstra]]'s collected notes (the "EWDs"), published by the University of Texas at Austin (here [http://www.cs.utexas.edu/users/EWD/]). |
There is one required parameter: the EWD number. | There is one required parameter: the EWD number. |
Revision as of 15:23, 12 April 2012
This template is used, for instance, in the dining philosophers problem article, to refer to Edsger W. Dijkstra's collected notes (the "EWDs"), published by the University of Texas at Austin (here [1]).
There is one required parameter: the EWD number.
The second, optional parameter specifies the title.
Example usage:
{{Cite EWD|1000}}
[1]- Dijkstra, Edsger W. EWD-1000. E.W. Dijkstra Archive. Center for American History, University of Texas at Austin. (Expression error: Unrecognized punctuation character "[".xx/EWD1000.PDF original; Expression error: Unrecognized punctuation character "[".xx/EWD1000.html transcription), i.e. the same without <ref/> (put here to expose potential spurious newlines bugs)
{{Cite EWD|796a| Smoothsort – an alternative to sorting in situ }}
[2]
- ↑ Dijkstra, Edsger W. EWD-1000. E.W. Dijkstra Archive. Center for American History, University of Texas at Austin. (Expression error: Unrecognized punctuation character "[".xx/EWD1000.PDF original; Expression error: Unrecognized punctuation character "[".xx/EWD1000.html transcription)
- ↑ Dijkstra, Edsger W. Smoothsort – an alternative to sorting in situ (EWD-796a). E.W. Dijkstra Archive. Center for American History, University of Texas at Austin. (Expression error: Unrecognized punctuation character "[".xx/EWD796a.PDF original; Expression error: Unrecognized punctuation character "[".xx/EWD796a.html transcription)
Implementation
This template is implemented as an invocation of {{Cite book}}.
Issues
This template should probably switch to named parameters and add a few more, such as year, month, day, and selwritings-pages.