Template:Character query/doc

From Path of Exile 2 Wiki
Revision as of 20:28, 2 January 2025 by KnowledgeJunkie (talk | contribs) (Creation of page, {{sister}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This subpage provides documentation for Template:Character query.

Overview

This template is intended to query a single value for a stat from the Character page.

Essentially, this is a shortcut for:

{{#cargo_query:
|tables = generic_stats
|fields = CONCAT(value)
|where = name="Character"
 AND id = "{{{stat|{{{1}}}}}}"
|no html
}}

Parameters

Parameter Type Description Optional
stat str The stat_id to query for No

Example

{{Character query
 |stat=maximum_life_leech_rate_%_per_minute
}}

Yields:

Error: Table generic_stats not found.