Template:LuaCallout: Difference between revisions
From Spring
Jump to navigationJump to search
m use {{pipe}} |
m and another {{pipe}} |
||
| Line 5: | Line 5: | ||
|name = UseTeamResource | |name = UseTeamResource | ||
|params = number teamID, <br/> string "metal" {{pipe}} "energy", number amount {{pipe}} <br/> { metal = number amount, energy = number amount} | |params = number teamID, <br/> string "metal" {{pipe}} "energy", number amount {{pipe}} <br/> { metal = number amount, energy = number amount} | ||
|return = nil | |return = nil {{pipe}} bool hadEnough | ||
|description = Imposes a one-off usage of resources on the given team. The return value indicates whether or not the team had sufficient resources to meet the usage demand.}} | |description = Imposes a one-off usage of resources on the given team. The return value indicates whether or not the team had sufficient resources to meet the usage demand.}} | ||
</noinclude> | </noinclude> | ||
Revision as of 04:14, 22 February 2013
Lua Callout usage example:
{{LuaCallout|parent|name|params|return|description}}
{{{prefix}}}[[#{{{name}}}|{{{name}}}]]({{{args}}})
- {{{info}}}