Difference between revisions of "Template:Cite EWD"

From blackwiki
Jump to navigation Jump to search
imported>Rp
imported>Rp
Line 4: Line 4:
 
   | first = Edsger W.
 
   | first = Edsger W.
 
   | authorlink = Edsger W. Dijkstra
 
   | authorlink = Edsger W. Dijkstra
   | title = {{#if: {{{2}}} | {{{2}}}} (EWD-{{{1}}}) | EWD-{{{1}}} }}
+
   | title = {{#if:| EWD-{{ 1 }} | {{ 2 }} (EWD-{{ 1 }}) }}
 
   | publisher = Center for American History, The [[University of Texas at Austin]]
 
   | publisher = Center for American History, The [[University of Texas at Austin]]
 
   | series = E.W. Dijkstra Archive
 
   | series = E.W. Dijkstra Archive
Line 16: Line 16:
  
 
There is one required parameter: the EWD number.
 
There is one required parameter: the EWD number.
 +
 +
{{ Cite EWD|1000|28 years on }}
 +
 
The second, optional parameter specifies the title.
 
The second, optional parameter specifies the title.
  
 
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|28 years on}}</nowiki></code><ref>{{Cite EWD|1000|28 years on}}</ref>
+
* <code><nowiki>{{Cite EWD|1000| Twenty-eight years }}</nowiki></code><ref>{{Cite EWD|1000| Twenty-eight years }}</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 09:27, 29 July 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.


Dijkstra, Edsger W.
Unexpected use of template {{2}} - see [[Template:2]] for details.[[Category:Templates with incorrect parameter syntax]] (EWD-
Unexpected use of template {{1}} - see [[Template:1]] for details.[[Category:Templates with incorrect parameter syntax]])
. E.W. Dijkstra Archive. Center for American History, The University of Texas at Austin.
URL–wikilink conflict (help)


The second, optional parameter specifies the title.

Example usage:

  • {{Cite EWD|1000}}[1]
  • {{Cite EWD|1000| Twenty-eight years }}[2]

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