Template:Generic stats/doc

From Path of Exile Wiki
Jump to navigation Jump to search

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 Table and field 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