Template:Character query/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
>Vinifera7 mNo edit summary |
(No difference)
|
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