This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Template:Apicall"
From BZFlagWiki
Line 4: | Line 4: | ||
{{#if:{{{param1|}}}{{{param2|}}}{{{param3|}}}{{{param4|}}}{{{param5|}}}{{{param6|}}}{{{param7|}}}{{{param8|}}}{{{param9|}}}|<div style="border-top: 4px solid white"><b>Parameters: </b></div>}} | {{#if:{{{param1|}}}{{{param2|}}}{{{param3|}}}{{{param4|}}}{{{param5|}}}{{{param6|}}}{{{param7|}}}{{{param8|}}}{{{param9|}}}|<div style="border-top: 4px solid white"><b>Parameters: </b></div>}} | ||
{{#if:{{{param1|}}}|<div style="border-left: 30px solid white"><tt>{{{param1}}}</tt>{{#if:{{{param1desc|}}}| <tt>-</tt> }}{{{param1desc|}}}</div>}} | {{#if:{{{param1|}}}|<div style="border-left: 30px solid white"><tt>{{{param1}}}</tt>{{#if:{{{param1desc|}}}| <tt>-</tt> }}{{{param1desc|}}}</div>}} | ||
− | {{#if:{{{returns|}}}|<b>Returns: </b><div style="border-left: 30px solid white; border-top: 4px solid white">{{{returns}}}</div><br/>}} | + | {{#if:{{{returns|}}}|<div style="border-top: 4px solid white"><b>Returns: </b></div><div style="border-left: 30px solid white; border-top: 4px solid white">{{{returns}}}</div><br/>}} |
</div> | </div> | ||
<noinclude> | <noinclude> |
Revision as of 09:16, 14 December 2008
No description
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. |