<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ALuaCallout</id>
	<title>Template:LuaCallout - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ALuaCallout"/>
	<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Template:LuaCallout&amp;action=history"/>
	<updated>2026-04-21T06:10:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=Template:LuaCallout&amp;diff=505&amp;oldid=prev</id>
		<title>Qrow: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Template:LuaCallout&amp;diff=505&amp;oldid=prev"/>
		<updated>2025-11-13T01:51:00Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:51, 12 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Qrow</name></author>
	</entry>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=Template:LuaCallout&amp;diff=504&amp;oldid=prev</id>
		<title>interwiki3&gt;Master-athmos: Added description</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Template:LuaCallout&amp;diff=504&amp;oldid=prev"/>
		<updated>2021-02-28T21:19:26Z</updated>

		<summary type="html">&lt;p&gt;Added description&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{prefix|{{{prefix}}}}}{{name|{{anchor|{{{name}}}}}[[#{{{name}}}|{{{name}}}]]}}&lt;br /&gt;
( {{var|1=&lt;br /&gt;
{{#if: {{{arg1}}} | {{{arg1}}} | }}{{#if: {{{arg2}}} |, | }}&lt;br /&gt;
{{#if: {{{arg2}}} | {{{arg2}}} | }}{{#if: {{{arg3}}} |, | }}&lt;br /&gt;
{{#if: {{{arg3}}} | {{{arg3}}} | }}{{#if: {{{arg4}}} |, | }}&lt;br /&gt;
{{#if: {{{arg4}}} | {{{arg4}}} | }}{{#if: {{{arg5}}} |, | }}&lt;br /&gt;
{{#if: {{{arg5}}} | {{{arg5}}} | }}{{#if: {{{arg6}}} |, | }}&lt;br /&gt;
{{#if: {{{arg6}}} | {{{arg6}}} | }}{{#if: {{{arg7}}} |, | }}&lt;br /&gt;
{{#if: {{{arg7}}} | {{{arg7}}} | }}{{#if: {{{arg8}}} |, | }}&lt;br /&gt;
{{#if: {{{arg8}}} | {{{arg8}}} | }}{{#if: {{{arg9}}} |, | }}&lt;br /&gt;
{{#if: {{{arg9}}} | {{{arg9}}} | }} &lt;br /&gt;
}} )&lt;br /&gt;
{{#if: {{{return|}}}|&amp;lt;br&amp;gt;return: {{var|1={{{return}}}}}|}}&lt;br /&gt;
:{{#if: {{{info|}}} | {{{info}}} | }}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Lua Callout usage example==&lt;br /&gt;
&lt;br /&gt;
This template creates an anchored entry meant for Lua functions. It allows for a function prefix, funtion name, up to 9 function argument slots, info about the returned variable(s) and a description.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{LuaCallout&lt;br /&gt;
|prefix = Spring.&lt;br /&gt;
|name = UseTeamResource&lt;br /&gt;
|arg1 = {{type|number}} teamID&lt;br /&gt;
|arg2 = {{type|string}} &amp;quot;metal&amp;quot; {{pipe}} &amp;quot;energy&amp;quot;&lt;br /&gt;
|arg3 = {{type|number}} amount {{pipe}} { metal = {{type|number}} amount, energy = {{type|number}} amount } &lt;br /&gt;
|arg4 =&lt;br /&gt;
|arg5 =&lt;br /&gt;
|arg6 =&lt;br /&gt;
|arg7 =&lt;br /&gt;
|arg8 =&lt;br /&gt;
|arg9 =&lt;br /&gt;
|return = {{type|nil}} {{pipe}} {{type|bool}} hadEnough&lt;br /&gt;
|info = 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.&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{LuaCallout&lt;br /&gt;
|prefix = Spring.&lt;br /&gt;
|name = UseTeamResource&lt;br /&gt;
|arg1 = {{type|number}} teamID&lt;br /&gt;
|arg2 = {{type|string}} &amp;quot;metal&amp;quot; {{pipe}} &amp;quot;energy&amp;quot;&lt;br /&gt;
|arg3 = {{type|number}} amount {{pipe}} { metal = {{type|number}} amount, energy = {{type|number}} amount } &lt;br /&gt;
|arg4 =&lt;br /&gt;
|arg5 =&lt;br /&gt;
|arg6 =&lt;br /&gt;
|arg7 =&lt;br /&gt;
|arg8 =&lt;br /&gt;
|arg9 =&lt;br /&gt;
|return = {{type|nil}} {{pipe}} {{type|bool}} hadEnough&lt;br /&gt;
|info = 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.&lt;br /&gt;
}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>interwiki3&gt;Master-athmos</name></author>
	</entry>
</feed>