Template:Sourceref

From NetHackWiki
Jump to navigation Jump to search


This template can be used to reference a named element of the source code, provided that a proper marker is present; use {{sourcecode}} to reference a numbered line. The named element need not be a function; it just has to have a redirect marker under Source:Ref, and a proper tag on the targeted page.

Syntax

  • {{sourceref|functionname}}
  • {{sourceref|functionname|linkname}}

Example

  • {{sourceref|acurrstr}} shows acurrstr
  • {{sourceref|acurrstr|This link}} shows This link

See Also