Template:Cite EWD

From Vigyanwiki
Revision as of 11:35, 9 June 2023 by Indicwiki (talk | contribs) (1 revision imported from alpha:Template:Cite_EWD)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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

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.