Template:Cite EWD: Difference between revisions
From Vigyanwiki
(Created page with "<includeonly>{{cite book | last = Dijkstra | first = Edsger W. | author-link = Edsger W. Dijkstra | title = {{#if:{{{2|}}}| {{{ 2 }}} (EWD-{{{ 1 }}}) | EWD-{{{ 1 }}} }...") |
m (1 revision imported from alpha:Template:Cite_EWD) |
(No difference)
|
Latest revision as of 11:35, 9 June 2023
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.
A |quote=
parameter may be specified; it is passed to the underlying citation template.
Example usage:
{{Cite EWD|1000}}
[1]- Dijkstra, Edsger W. EWD-1000 (PDF). E.W. Dijkstra Archive. Center for American History, University of Texas at Austin. (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 (PDF). E.W. Dijkstra Archive. Center for American History, University of Texas at Austin. (transcription)
- ↑ Dijkstra, Edsger W. Smoothsort – an alternative to sorting in situ (EWD-796a) (PDF). E.W. Dijkstra Archive. Center for American History, University of Texas at Austin. (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.