Jump to content

Template:Cite EWD

From Wikipedia, the free encyclopedia


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]
  1. ^ Dijkstra, Edsger W. EWD-1000 (PDF). E.W. Dijkstra Archive. Center for American History, University of Texas at Austin. (transcription)
  2. ^ 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

[edit]

This template is implemented as an invocation of {{Cite book}}.

Issues

[edit]

This template should probably switch to named parameters and add a few more, such as year, month, day, and selwritings-pages.