Difference between revisions of "Template:Dafunction"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (categorize every function by source) |
BryanDerksen (Talk | contribs) m (includeonly the category) |
||
| Line 35: | Line 35: | ||
<dt>Source: | <dt>Source: | ||
<dd>[[{{{sourcefile}}}]] {{#if:{{{sourcemodule|}}}|from the module [[{{{sourcemodule}}}]]|}} | <dd>[[{{{sourcefile}}}]] {{#if:{{{sourcemodule|}}}|from the module [[{{{sourcemodule}}}]]|}} | ||
| − | </dl>[[Category:Functions from {{{sourcefile|unspecified source file}}}]] | + | </dl><includeonly>[[Category:Functions from {{{sourcefile|unspecified source file}}}]]</includeonly> |
<noinclude> | <noinclude> | ||
Revision as of 19:57, 29 July 2009
{{{brief}}}
[[{{{returntype}}}]] {{{name}}}(
);
- Parameters:
-
- Returns:
- {{{returndesc}}}
- Source:
- [[{{{sourcefile}}}]]
Usage:
{{dafunction
|name = _AI_Condition_GetCreatureWithAIStatus
|brief = Returns a creature with a specifc AI Status
|param1type = int
|param1name = nAIStatus
|param1desc = the status being checked for if active on a creature
|param1default =
|param2type = int
|param2name = nTargetType
|param2desc = the target type of creature we are looking for that might have the specified status
|param2default =
.
.
.
|returntype = object
|returndesc = A creature of a specific type (self, ally, hostile) that has the status applied, OBJECT_INVALID otherwise
|sourcefile = ai_conditions_h
|sourcemodule = Core Resources
}}
A standard dafunction page will have a number of other headers below this template where more detailed and free-form information will be added by editors.
Suggested standard headers include:
Description
Known issues
Examples
See also
With others added when and where needed.