Difference between revisions of "Template:Cite EWD"
Jump to navigation
Jump to search
imported>Rp (re-add inline use (to detect newline bugs)) |
(Fix punctuation and link) |
||
Line 1: | Line 1: | ||
<includeonly>{{cite book | <includeonly>{{cite book | ||
| last = Dijkstra | | last = Dijkstra | ||
− | | first = Edsger W | + | | first = Edsger W |
| authorlink = Edsger W. Dijkstra | | authorlink = Edsger W. Dijkstra | ||
| title = {{#if:{{{2|}}}| {{{ 2 }}} (EWD-{{{ 1 }}}) | EWD-{{{ 1 }}} }} | | title = {{#if:{{{2|}}}| {{{ 2 }}} (EWD-{{{ 1 }}}) | EWD-{{{ 1 }}} }} | ||
− | | publisher = Center for American History, | + | | publisher = Center for American History, [[University of Texas at Austin]] |
| series = E.W. Dijkstra Archive | | series = E.W. Dijkstra Archive | ||
}} ([http://www.cs.utexas.edu/users/EWD/ewd{{Cite EWD/forxx | {{{1}}} }}xx/EWD{{{1}}}.PDF original]; [http://www.cs.utexas.edu/users/EWD/transcriptions/EWD{{Cite EWD/forxx | {{{1}}} }}xx/EWD{{{1}}}.html transcription])</includeonly><noinclude> | }} ([http://www.cs.utexas.edu/users/EWD/ewd{{Cite EWD/forxx | {{{1}}} }}xx/EWD{{{1}}}.PDF original]; [http://www.cs.utexas.edu/users/EWD/transcriptions/EWD{{Cite EWD/forxx | {{{1}}} }}xx/EWD{{{1}}}.html transcription])</includeonly><noinclude> |
Revision as of 17:15, 6 October 2011
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.
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.