Template:Character query/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
No edit summary
>Vinifera7
mNo edit summary
 
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}


==Overview==
==Overview==
Line 40: Line 40:
}}
}}


<includeonly>
{{Documentation categories|
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- Categories and interwikis go here. -->
[[Category:Query templates]]
[[Category:Query templates]]
</includeonly>
}}

Latest revision as of 10:58, 1 December 2020

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

Example

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

Yields:

1200