<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://war.app/index.php?action=history&amp;feed=atom&amp;title=Mod_API_Reference%3AUI</id>
	<title>Mod API Reference:UI - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://war.app/index.php?action=history&amp;feed=atom&amp;title=Mod_API_Reference%3AUI"/>
	<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;action=history"/>
	<updated>2026-04-18T16:03:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7777&amp;oldid=prev</id>
		<title>Fizzer at 02:36, 18 April 2026</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7777&amp;oldid=prev"/>
		<updated>2026-04-18T02:36:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:36, 18 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;FlexibleWidth&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;: A number from 0 to 1 indicating how much of the remaining space this element wishes to take up.  Defaults to 0, which means the element will be no wider than PreferredWidth.  Set it to 1 to indicate the object should grow to encompass all remaining horizontal space it can.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;FlexibleWidth&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;: A number from 0 to 1 indicating how much of the remaining space this element wishes to take up.  Defaults to 0, which means the element will be no wider than PreferredWidth.  Set it to 1 to indicate the object should grow to encompass all remaining horizontal space it can.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;FlexibleHeight&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;: A number from 0 to 1 indicating how much of the remaining space this element wishes to take up.  Defaults to 0, which means the element will be no taller than PreferredHeight.  Set it to 1 to indicate the object should grow to encompass all remaining vertical space it can.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;FlexibleHeight&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;: A number from 0 to 1 indicating how much of the remaining space this element wishes to take up.  Defaults to 0, which means the element will be no taller than PreferredHeight.  Set it to 1 to indicate the object should grow to encompass all remaining vertical space it can.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;MinWidth&#039;&#039;&#039; &#039;&#039;number&#039;&#039;: The minimum width an element can be, up to a maximum of 60.  Developers should take special care when using MinWidth since many players play &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Warzone &lt;/del&gt;on phones in portrait mode where there is very limited horizontal space.  This setting is limited to 60 since it&#039;s intended to be used only for smaller elements, for example when you need to line things up vertically.  (Added in version 5.34.1)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;MinWidth&#039;&#039;&#039; &#039;&#039;number&#039;&#039;: The minimum width an element can be, up to a maximum of 60.  Developers should take special care when using MinWidth since many players play &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;War.app &lt;/ins&gt;on phones in portrait mode where there is very limited horizontal space.  This setting is limited to 60 since it&#039;s intended to be used only for smaller elements, for example when you need to line things up vertically.  (Added in version 5.34.1)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;MinHeight&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;: The minimum height an element can be.   (Added in version 5.34.1)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;MinHeight&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;: The minimum height an element can be.   (Added in version 5.34.1)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7605&amp;oldid=prev</id>
		<title>JustADutchman: /* Helper Functions */</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7605&amp;oldid=prev"/>
		<updated>2026-04-17T19:21:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Helper Functions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:21, 17 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l115&quot;&gt;Line 115:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 115:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;UI.PromptFromList&amp;#039;&amp;#039;&amp;#039;: Pops up a dialog with a series of buttons to choose from.    This takes two arguments:   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;UI.PromptFromList&amp;#039;&amp;#039;&amp;#039;: Pops up a dialog with a series of buttons to choose from.    This takes two arguments:   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Message&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: Text to appear at the top of the dialog.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Message&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: Text to appear at the top of the dialog.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Options&#039;&#039;&#039; &#039;&#039;array&#039;&#039;: A list of options, each of which will show up as a button.  Each entry in this array should be a table with two fields, &#039;&#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;text&lt;/del&gt;&#039;&#039;&#039; and &#039;&#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;selected&lt;/del&gt;&#039;&#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.  &lt;/del&gt;&#039;&#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;text&lt;/del&gt;&#039;&#039;&#039; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;populates the text that will appear on that button, and &lt;/del&gt;&#039;&#039;&#039;selected&#039;&#039;&#039; is a zero-argument function that gets called if the player selects that option.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Options&#039;&#039;&#039; &#039;&#039;array&#039;&#039;: A list of options, each of which will show up as a button.  Each entry in this array should be a table with two fields, &#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;selected&lt;/ins&gt;&#039;&#039;&#039; and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;either &lt;/ins&gt;&#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;text&lt;/ins&gt;&#039;&#039;&#039; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &lt;/ins&gt;&#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;player&lt;/ins&gt;&#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. &lt;/ins&gt;&#039;&#039;&#039;selected&#039;&#039;&#039; is a zero-argument function that gets called if the player selects that option&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &#039;&#039;&#039;text&#039;&#039;&#039; populates the text that will appear on that button. &#039;&#039;&#039;player&#039;&#039;&#039; should be set to a [[Mod_API_Reference:PlayerID|playerID]], this will also give the button the corresponding color of the player&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JustADutchman</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7423&amp;oldid=prev</id>
		<title>Fizzer at 22:19, 29 March 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7423&amp;oldid=prev"/>
		<updated>2025-03-29T22:19:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:19, 29 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l53&quot;&gt;Line 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The text to display.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The text to display.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Color&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The color of the text.  Pass this as a string in #RRGGBB format.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Color&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The color of the text.  Pass this as a string in #RRGGBB format.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;Alignment&#039;&#039;&#039; &#039;&#039;[[Mod API Reference:TextAlignmentOptions|TextAlignmentOptions]] (enum)&#039;&#039;: Sets text alignment, vertically and horizontally, within the label.  This will usually only have an effect if the label is made larger by increasing its Preferred, Minimum, or Flexible width/height.  (Added in version 5.34.1)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Button&amp;#039;&amp;#039;&amp;#039;: A button that players can click on to do something.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Button&amp;#039;&amp;#039;&amp;#039;: A button that players can click on to do something.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7414&amp;oldid=prev</id>
		<title>Fizzer at 22:06, 29 March 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7414&amp;oldid=prev"/>
		<updated>2025-03-29T22:06:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:06, 29 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All UI elements have the following properties:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All UI elements have the following properties:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;PreferredWidth&#039;&#039;&#039; &#039;&#039;number&#039;&#039;: How wide the element prefers to be.  It may not be this wide if there is not enough space, and it may be wider if FlexibleWidth is greater than 0.  Defaults to -1, which is a special value meaning the object will &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;meansure &lt;/del&gt;its own size based on its contents.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;PreferredWidth&#039;&#039;&#039; &#039;&#039;number&#039;&#039;: How wide the element prefers to be.  It may not be this wide if there is not enough space, and it may be wider if FlexibleWidth is greater than 0.  Defaults to -1, which is a special value meaning the object will &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;measure &lt;/ins&gt;its own size based on its contents.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;PreferredHeight&#039;&#039;&#039; &#039;&#039;number&#039;&#039;: How tall the element prefers to be.  It may not be this tall if there is not enough space, and it may be taller if FlexibleHeight is greater than 0.  Defaults to -1, which is a special value meaning the object will &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;meansure &lt;/del&gt;its own size based on its contents.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;PreferredHeight&#039;&#039;&#039; &#039;&#039;number&#039;&#039;: How tall the element prefers to be.  It may not be this tall if there is not enough space, and it may be taller if FlexibleHeight is greater than 0.  Defaults to -1, which is a special value meaning the object will &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;measure &lt;/ins&gt;its own size based on its contents.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;FlexibleWidth&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;: A number from 0 to 1 indicating how much of the remaining space this element wishes to take up.  Defaults to 0, which means the element will be no wider than PreferredWidth.  Set it to 1 to indicate the object should grow to encompass all remaining horizontal space it can.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;FlexibleWidth&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;: A number from 0 to 1 indicating how much of the remaining space this element wishes to take up.  Defaults to 0, which means the element will be no wider than PreferredWidth.  Set it to 1 to indicate the object should grow to encompass all remaining horizontal space it can.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;FlexibleHeight&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;: A number from 0 to 1 indicating how much of the remaining space this element wishes to take up.  Defaults to 0, which means the element will be no taller than PreferredHeight.  Set it to 1 to indicate the object should grow to encompass all remaining vertical space it can.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;FlexibleHeight&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;: A number from 0 to 1 indicating how much of the remaining space this element wishes to take up.  Defaults to 0, which means the element will be no taller than PreferredHeight.  Set it to 1 to indicate the object should grow to encompass all remaining vertical space it can.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;MinWidth&#039;&#039;&#039; &#039;&#039;number&#039;&#039;: The minimum width an element can be, up to a maximum of 60.  Developers should take special care when using MinWidth since many players play Warzone on phones in portrait mode where there is very limited horizontal space.  This setting is limited to 60 since it&#039;s intended to be used only for smaller elements, for example when you need to line things up vertically.  (Added in version 5.34.1)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;MinHeight&#039;&#039;&#039; &#039;&#039;number&#039;&#039;: The minimum height an element can be.   (Added in version 5.34.1)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== UI Elements ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== UI Elements ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7395&amp;oldid=prev</id>
		<title>Fizzer at 10:20, 14 March 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7395&amp;oldid=prev"/>
		<updated>2025-03-14T10:20:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:20, 14 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l43&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;VerticalLayoutGroup&amp;#039;&amp;#039;&amp;#039;: A container that stacks its children vertically.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;VerticalLayoutGroup&amp;#039;&amp;#039;&amp;#039;: A container that stacks its children vertically.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;Center&#039;&#039;&#039; &#039;&#039;bool&#039;&#039;: If true, the container will center elements within it horizontally.  Defaults to false.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;HorizontalLayoutGroup&amp;#039;&amp;#039;&amp;#039;: A container that stacks its children horizontally.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;HorizontalLayoutGroup&amp;#039;&amp;#039;&amp;#039;: A container that stacks its children horizontally.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;Center&#039;&#039;&#039; &#039;&#039;bool&#039;&#039;: If true, the container will center elements within it vertically.  Defaults to false.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Label&amp;#039;&amp;#039;&amp;#039;: A way to display text on the screen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Label&amp;#039;&amp;#039;&amp;#039;: A way to display text on the screen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7393&amp;oldid=prev</id>
		<title>DanWL60: /* UI Elements */ mention in which version RadioButton added in</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7393&amp;oldid=prev"/>
		<updated>2025-03-11T14:16:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;UI Elements: &lt;/span&gt; mention in which version RadioButton added in&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:16, 11 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l67&quot;&gt;Line 67:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 67:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;RadioButton&#039;&#039;&#039;: Like a CheckBox except circular, and when assigned into a group, only one may be selected at a time.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;RadioButton&#039;&#039;&#039;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Added in [[Mod API Reference:IsVersionOrHigher|5.34.0]]. &lt;/ins&gt;Like a CheckBox except circular, and when assigned into a group, only one may be selected at a time.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;IsChecked&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;bool&amp;#039;&amp;#039;: Whether it&amp;#039;s checked or unchecked.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;IsChecked&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;bool&amp;#039;&amp;#039;: Whether it&amp;#039;s checked or unchecked.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The label displayed to the right of the radio button.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The label displayed to the right of the radio button.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DanWL60</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7386&amp;oldid=prev</id>
		<title>Fizzer at 21:25, 10 March 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7386&amp;oldid=prev"/>
		<updated>2025-03-10T21:25:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:25, 10 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l65&quot;&gt;Line 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;OnValueChanged&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;function&amp;#039;&amp;#039;: Pass the name of a lua function to be called whenever the IsChecked property changes, either by your code or by the player clicking the check box.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;OnValueChanged&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;function&amp;#039;&amp;#039;: Pass the name of a lua function to be called whenever the IsChecked property changes, either by your code or by the player clicking the check box.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Interactable&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;bool&amp;#039;&amp;#039;: If false, the control will be grayed out and unusable by the player.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Interactable&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;bool&amp;#039;&amp;#039;: If false, the control will be grayed out and unusable by the player.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;RadioButton&amp;#039;&amp;#039;&amp;#039;: Like a CheckBox except circular, and when assigned into a group, only one may be selected at a time.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;RadioButton&amp;#039;&amp;#039;&amp;#039;: Like a CheckBox except circular, and when assigned into a group, only one may be selected at a time.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7384&amp;oldid=prev</id>
		<title>Fizzer at 21:19, 10 March 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=7384&amp;oldid=prev"/>
		<updated>2025-03-10T21:19:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:19, 10 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l65&quot;&gt;Line 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;OnValueChanged&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;function&amp;#039;&amp;#039;: Pass the name of a lua function to be called whenever the IsChecked property changes, either by your code or by the player clicking the check box.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;OnValueChanged&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;function&amp;#039;&amp;#039;: Pass the name of a lua function to be called whenever the IsChecked property changes, either by your code or by the player clicking the check box.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Interactable&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;bool&amp;#039;&amp;#039;: If false, the control will be grayed out and unusable by the player.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Interactable&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;bool&amp;#039;&amp;#039;: If false, the control will be grayed out and unusable by the player.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;RadioButton&#039;&#039;&#039;: Like a CheckBox except circular, and when assigned into a group, only one may be selected at a time.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;IsChecked&#039;&#039;&#039; &#039;&#039;bool&#039;&#039;: Whether it&#039;s checked or unchecked.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;Text&#039;&#039;&#039; &#039;&#039;string&#039;&#039;: The label displayed to the right of the radio button.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;OnValueChanged&#039;&#039;&#039; &#039;&#039;function&#039;&#039;: Pass the name of a lua function to be called whenever the IsChecked property changes, either by your code or by the player clicking the check box.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;Interactable&#039;&#039;&#039; &#039;&#039;bool&#039;&#039;: If false, the control will be grayed out and unusable by the player.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;Group&#039;&#039;&#039;: &#039;&#039;RadioButtonGroup&#039;&#039;: Created by using UI.CreateRadioButtonGroup.  Create one group and assign it to multiple radio buttons to group them together.  CreateRadioButtonGroup must be passed a UI element that it will live on.  It does not matter what UI element you pass in as long as it doesn&#039;t get destroyed before the radio buttons.  A common choice is to pass in the first radio button itself, or pass in the VerticalLayoutGroup that all the radio buttons live in together.  For example:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  local vert = UI.CreateVerticalLayoutGroup(rootParent);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  local group = UI.CreateRadioButtonGroup(vert);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  UI.CreateRadioButton(vert).SetGroup(group).SetText(&#039;Radio 1&#039;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  UI.CreateRadioButton(vert).SetGroup(group).SetText(&#039;Radio 2&#039;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  UI.CreateRadioButton(vert).SetGroup(group).SetText(&#039;Radio 3&#039;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  UI.CreateRadioButton(vert).SetGroup(group).SetText(&#039;Radio 4&#039;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=6123&amp;oldid=prev</id>
		<title>DanWL60: /* UI Elements */</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=6123&amp;oldid=prev"/>
		<updated>2024-05-12T11:29:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;UI Elements&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:29, 12 May 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l54&quot;&gt;Line 54:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 54:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The text to display on the button.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The text to display on the button.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Color&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The color of the button.  Pass this as a string in #RRGGBB format.  Only the following colors are supported for buttons:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Color&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The color of the button.  Pass this as a string in #RRGGBB format.  Only the following colors are supported for buttons:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|BABABC}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|6C73D1}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FF00ED}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FFC200}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00A0FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00B5FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|F3FFAE}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|43C731}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|43C631}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|1274A4}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|1274A5}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|B03B3B}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|0021FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|359029}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00E9FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00FF21}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FFF700}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|AA3A3A}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|43C732}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00D4FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|B03C3C}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00F4FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00BFFF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|4EC4FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|615DDF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|100C08}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|0000FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|4EFFFF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|59009D}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|008000}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FF7D00}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FF0000}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|606060}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00FF05}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FF697A}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|94652E}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00FF8C}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FF4700}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|009B9D}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|23A0FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|AC0059}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FF87FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FFFF00}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|943E3E}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FEFF9B}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|AD7E7E}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|B70AFF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FFAF56}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FF00B1}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|8EBE57}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|DAA520}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|990024}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00FFFF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|8F9779}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|880085}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|00755E}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FFE5B4}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|4169E1}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FF43A4}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|8DB600}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|40826D}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|C04000}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FFDDF4}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|CD7F32}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|C19A6B}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|C09999}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|B0BF1A}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|3B7A57}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|4B5320}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|664C28}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|893F45}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|D2691E}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|36454F}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|FF00FF}} {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color&lt;/del&gt;|76FF7A}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|BABABC}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|6C73D1}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FF00ED}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FFC200}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00A0FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00B5FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|F3FFAE}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|43C731}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|43C631}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|1274A4}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|1274A5}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|B03B3B}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|0021FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|359029}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00E9FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00FF21}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FFF700}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|AA3A3A}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|43C732}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00D4FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|B03C3C}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00F4FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00BFFF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|4EC4FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|615DDF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|100C08}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|0000FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|4EFFFF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|59009D}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|008000}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FF7D00}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FF0000}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|606060}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00FF05}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FF697A}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|94652E}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00FF8C}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FF4700}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|009B9D}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|23A0FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|AC0059}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FF87FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FFFF00}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|943E3E}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FEFF9B}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|AD7E7E}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|B70AFF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FFAF56}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FF00B1}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|8EBE57}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|DAA520}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|990024}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00FFFF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|8F9779}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|880085}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|00755E}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FFE5B4}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|4169E1}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FF43A4}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|8DB600}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|40826D}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|C04000}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FFDDF4}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|CD7F32}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|C19A6B}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|C09999}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|B0BF1A}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|3B7A57}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|4B5320}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|664C28}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|893F45}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|D2691E}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|36454F}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|FF00FF}} {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color2&lt;/ins&gt;|76FF7A}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;TextColor&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The color of the text on the button.  Pass this as a string in #RRGGBB format.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;TextColor&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: The color of the text on the button.  Pass this as a string in #RRGGBB format.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;OnClick&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;function&amp;#039;&amp;#039;: Pass the name of a lua function to be called whenever the player clicks the button.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;OnClick&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;function&amp;#039;&amp;#039;: Pass the name of a lua function to be called whenever the player clicks the button.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DanWL60</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=6048&amp;oldid=prev</id>
		<title>DanWL60: /* Helper Functions */</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:UI&amp;diff=6048&amp;oldid=prev"/>
		<updated>2024-02-18T10:22:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Helper Functions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:22, 18 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l91&quot;&gt;Line 91:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 91:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;UI.Alert&#039;&#039;&#039;: Pops up a dialog with a message and an Okay button to close the message.  Call this as simply &amp;lt;code&amp;gt;UI.Alert(msg)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;UI.Alert&#039;&#039;&#039;: Pops up a dialog with a message and an Okay button to close the message.  Call this as simply &amp;lt;code&amp;gt;UI.Alert(msg)&amp;lt;/code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Only one mod can use this at a time.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l106&quot;&gt;Line 106:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 106:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Callback&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;function&amp;#039;&amp;#039;: Pass a function that will be called on the next click.  This function will be passed a [[Mod_API_Reference:BonusDetails|BonusDetails]] object, which can be used to get the bonus ID or the name of the bonus that was clicked.  This function can also be called with nil if the intercept request is cancelled, which can happen if another mod calls UI.InterceptNextBonusLinkClick before a bonus link is clicked.   If you want to cancel the intercept request, you can return WL.CancelClickIntercept from the callback which will make the client behave as if you never called intercept.  Return nil, or leave off the return statement entirely, for normal operation.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Callback&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;function&amp;#039;&amp;#039;: Pass a function that will be called on the next click.  This function will be passed a [[Mod_API_Reference:BonusDetails|BonusDetails]] object, which can be used to get the bonus ID or the name of the bonus that was clicked.  This function can also be called with nil if the intercept request is cancelled, which can happen if another mod calls UI.InterceptNextBonusLinkClick before a bonus link is clicked.   If you want to cancel the intercept request, you can return WL.CancelClickIntercept from the callback which will make the client behave as if you never called intercept.  Return nil, or leave off the return statement entirely, for normal operation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;InterceptNextTerritoryClick&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Mod API Reference]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Mod API Reference]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DanWL60</name></author>
	</entry>
</feed>