Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Template:Func link

From FlightGear wiki
Jump to: navigation, search
The following template description is not displayed when the template is inserted in an article.


This template can be used to add a link to the documentation of a Nasal API function. It can also be used for others (for example C++ functions) and can link to external sites.


{{func link|api|namespace|class|page=|link=|pre=}}

All parameters except api are optional

Name of the function to link to. Must include the brackets (()).
Optional namespace. Used when linking to the namespace documentation.
Optional class. Used in link label.
Link to another wiki page, for example Help:Template. If given as "this", the template will use the page the template is on.
External link to another site. Overrides page.
Text to prepend to the function's name in the link label. Can be used for an underscore, e.g., _cmdarg() .


Link to namespace

See also {{func link|open()|io}}.

See also io.open() .

Link to namespace and class

{{func link|set_latlon()|geo|Coord}} is used to set coordinates.

geo.Coord.set_latlon() is used to set coordinates.

Link to external site

{{func link|printf()|link=http://en.wikipedia.org/wiki/Printf_format_string}}