Template:Cite EWD

From blackwiki
Jump to navigation Jump to search


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. Expression error: Unrecognized punctuation character "%5b".xx/EWD1000.PDF EWD-1000 Check |url= value (help) (PDF). E.W. Dijkstra Archive. Center for American History, University of Texas at Austin. (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]

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.