Template:DoomSrc
From DoomWiki.org
Template for linking to a location in the Doom source code. Parameters are:
- text=
- Text to use for the link.
- file=
- Filename to link to.
- line=
- Line number to link to. Optional.
Example:
{{DoomSrc|file=am_map.c|text=am_map.c}} contains the automap code, though the author had a {{DoomSrc|file=am_map.c|line=1000|text=potty mouth!}}
Gives:
am_map.c contains the automap code, though the author had a potty mouth!