Template:Generic stats/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Illviljan
(Created page with "{{documentation subpage}} {{lua|Module:Data tables}} __TOC__ ==Overview== Template to store generic data to Cargo. ==Parameters== ===General parameters=== {| class="wikitabl...")
 
>Illviljan
No edit summary
Line 65: Line 65:
</pre>
</pre>


==Cargo table declarations==
* [[Template:Cargo/generic_stats]]


<includeonly>
<includeonly>

Revision as of 16:44, 25 September 2018

This subpage provides documentation for Template:Generic stats.

Lua logo

This template uses the following modules:

Overview

Template to store generic data to Cargo.

Parameters

General parameters

Parameter Type Opt Auto Table & field Description
name str
generic_stats.name Name of this group of data

Progression parameters

Replace <M> with the number of the argument. Start numbers with 1, and don't leave gaps. The order matters and each parameter must be specified for an individual element of M. Code support: 1 <= M

Parameter Type Optional Property Description
stat<M>_id str
generic_stats.id The internal id of the stat
stat<M>_value int
generic_stats.value The associated value with the stat
stat<M>_stat_text str
generic_stats.stat_text The stat text of the stat.

Example of valid stat parameters:

stat1_id =
stat1_value =
stat1_stat_text = 
stat2_id =
stat2_value =
stat2_stat_text = 

Cargo table declarations