Difference between revisions of "Template:Cite EWD"

From blackwiki
Jump to navigation Jump to search
imported>Rp
imported>Rp
(try to support the a in EWD 796a)
Line 22: Line 22:
 
Example usage:
 
Example usage:
 
* <code><nowiki>{{Cite EWD|1000}}</nowiki></code><ref>{{Cite EWD|1000}}</ref>
 
* <code><nowiki>{{Cite EWD|1000}}</nowiki></code><ref>{{Cite EWD|1000}}</ref>
* <code><nowiki>{{Cite EWD|1000| Twenty-eight years }}</nowiki></code><ref>{{Cite EWD|1000| Twenty-eight years }}</ref>
+
* <code><nowiki>{{Cite EWD|796a| Smoothsort – an alternative to sorting in situ }}</nowiki></code><ref>{{Cite EWD|796a| Smoothsort – an alternative to sorting in situ }}</ref>
  
 
This template is implemented as an invocation of [[Template:Cite book|<nowiki>{{Cite book}}</nowiki>]].
 
This template is implemented as an invocation of [[Template:Cite book|<nowiki>{{Cite book}}</nowiki>]].

Revision as of 18:52, 12 August 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]
  • {{Cite EWD|796a| Smoothsort – an alternative to sorting in situ }}[2]

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

  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, The University of Texas at Austin. (Expression error: Unrecognized punctuation character "[".xx/EWD1000.html transcription)
  2. Dijkstra, Edsger W. Expression error: Unrecognized punctuation character "%5b".xx/EWD796a.PDF Smoothsort – an alternative to sorting in situ (EWD-796a) Check |url= value (help) (PDF). E.W. Dijkstra Archive. Center for American History, The University of Texas at Austin. (Expression error: Unrecognized punctuation character "[".xx/EWD796a.html transcription)