http://hlkitwiki.wolflair.com/index.php5?title=UsagePool_Element_(Data)&feed=atom&action=historyUsagePool Element (Data) - Revision history2024-03-28T10:04:12ZRevision history for this page on the wikiMediaWiki 1.25.3http://hlkitwiki.wolflair.com/index.php5?title=UsagePool_Element_(Data)&diff=906&oldid=prevRob: New page: {{context|Kit Reference|Structural File Reference}} ==The "usagepool" Element== Usage pools provide a convenient way to manage resources that have built-in his...2008-11-24T13:20:12Z<p>New page: {{context|Kit Reference|Structural File Reference}} ==The "usagepool" Element== <a href="/index.php5?title=Leveraging_Usage_Pools&action=edit&redlink=1" class="new" title="Leveraging Usage Pools (page does not exist)">Usage pools</a> provide a convenient way to manage resources that have built-in his...</p>
<p><b>New page</b></p><div>{{context|Kit Reference|Structural File Reference}}<br />
<br />
==The "usagepool" Element==<br />
<br />
[[Leveraging Usage Pools|Usage pools]] provide a convenient way to manage resources that have built-in history tracking of all changes. You define each usage pool via the "usagepool" element. The complete list of attributes for this element is below. <br />
<br />
:{| class="infotable"<br />
|class="leftnormal"|id<br />
|Id – Specifies the unique id to utilize for this usage pool.<br />
|-<br />
|name<br />
|Text – Name to be used in reference to this usage pool. Maximum length is 25 characters.<br />
|-<br />
|abbrev<br />
|Text – Abbreviation to be used for the usage pool. If empty, the name is also used as the abbreviation. Maximum length is 25 characters. Default: Empty.<br />
|-<br />
|quantity<br />
|Integer – Specifies the starting quantity to be used for the usage pool. Default: "0".<br />
|-<br />
|maximum<br />
|Integer – Specifies the maximum history size to be tracked for the pool. A value of zero indicates no limit on the history. Default: "0".<br />
|-<br />
|ishero<br />
|Boolean – Indicates whether the usage pool is intended for use on each hero/actor or with individual picks. Default: "yes".<br />
|-<br />
|persist<br />
|Boolean – Indicates whether the history information is saved within the portfolio and restored when it is reloaded. If not persistent, only the latest value is preserved. Default: "no".<br />
|-<br />
|}<br />
<br />
==Example==<br />
<br />
The following example demonstrates what a "usagepool" element might look like. All default values are assumed for optional attributes.<br />
<br />
<pre><br />
<usagepool<br />
id="TotalXP"<br />
name="Total XP"<br />
abbrev="XP"<br />
ishero="yes"<br />
persist="yes"/><br />
</pre></div>Rob