This wiki is archived and useful information is being migrated to the main bzflag.org website

Template:Apicall/doc

From BZFlagWiki
Revision as of 22:47, 14 December 2008 by Javawizard2539 (Talk | contribs)

Jump to: navigation, search

This template can be used for bzfs api call documentation pages. It contains fields for the parameters of the api call, it's return type (if any), a description for it, and some other api calls that can be referenced. The template supports up to 10 api call parameters, although support for more can be added by editing this template.

To use the template, you must include at least a name parameter, and preferably a description. For example, a call that takes no arguments and returns nothing, and that doesn't have a desctiption, could be declared like this:

{{apicall
| name             = bz_testApiCall()
}}

This would result in the following:

void bz_testApiCall() ()


No description