- 2 Talk
Function
Template page
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 proper tag on the targeted page.
Syntax:
- Basic syntax: {{function|filename|functionname}}
- Hide filename: {{function|filename|functionname|x}}
Example:
| Syntax | Shown as | |
|---|---|---|
| Basic syntax | {{function|attrib.c|acurrstr}} | acurrstr in attrib.c |
| Hide filename | {{function|attrib.c|acurrstr|x}} | acurrstr |
This template may be used between <ref> and </ref> tags.