Template:Character query/doc: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 |
>OmegaK2 No edit summary |
||
Line 42: | Line 42: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category: | [[Category:Query templates]] | ||
</includeonly> | </includeonly> |
Revision as of 13:39, 28 November 2020
![](https://upload.wikimedia.org/wikipedia/commons/thumb/b/bb/Edit-copy_purple.svg/45px-Edit-copy_purple.svg.png)
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