Template:Func link: Difference between revisions
Jump to navigation
Jump to search
Red Leader (talk | contribs) m (typo) |
Red Leader (talk | contribs) (Add to pre-made links) |
||
Line 2: | Line 2: | ||
| error = <big style="color:red">Missing argument!</big> <!-- error message --> | | error = <big style="color:red">Missing argument!</big> <!-- error message --> | ||
<!-- pre-made links for core library Nasal APIs below --> | <!-- pre-made links for core library Nasal APIs below --> | ||
| append | |||
| append() = [[User:Red_Leader/Nasal_library#append.28.29|<tt>append()</tt>]] | |||
| bind | |||
| bind() = [[User:Red_Leader/Nasal_library#bind.28.29|<tt>bind()</tt>]] | |||
| call | |||
| call() = [[User:Red_Leader/Nasal_library#call.28.29|<tt>call()</tt>]] | |||
| caller | |||
| caller() = [[User:Red_Leader/Nasal_library#caller.28.29|<tt>caller()</tt>]] | |||
| chr | |||
| chr() = [[User:Red_Leader/Nasal_library#chr.28.29|<tt>chr()</tt>]] | |||
| maketimer | | maketimer | ||
| maketimer() = [[List_of_Nasal_extension_functions#maketimer.28.29_.282.11.2B.29|<tt>maketimer()</tt>]] | | maketimer() = [[List_of_Nasal_extension_functions#maketimer.28.29_.282.11.2B.29|<tt>maketimer()</tt>]] |
Revision as of 16:53, 28 January 2015
The following template description is not displayed when the template is inserted in an article.
Goal
This template can be used to add a link to the documentation of a Nasal API function. It can also be used for others (e.g., C++ functions) and can link to external sites.
Usage
{{Func link|api|page|ext}}
Note All parameter except api are optional.
- api
- Name of the function to link to.
- page
- If desired, link to another wiki page (e.g., Help:Template).
- ext
- External link to another site.
Examples
{{Func link|api=maketimer()}} is available in FG 2.11+
maketimer() is available in FG 2.11+
See also {{Func link|api=http.load()|page=List_of_Nasal_extension_functions}}.
See also http.load().
{{Func link|api=printf()|ext=http://en.wikipedia.org/wiki/Printf_format_string}}