Template:Monster query: Difference between revisions
Jump to navigation
Jump to search
Yoshitsune (talk | contribs) (Created page with " <noinclude> <templatedata> { "params": { "base_critical_strike_multiplier": { "description": "http://www.pathofexile.com/forum/view-thread/313264/page/2#p313264", "d...") |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: | |||
< | |tables = generic_stats | ||
|fields = CONCAT(value) | |||
|where = name="Monster" | |||
AND id = "{{{stat|{{{1}}}}}}" | |||
|no html | |||
}}</includeonly><noinclude> | |||
{{Documentation}} | |||
</ | |||
</noinclude> | </noinclude> |
Latest revision as of 17:57, 23 February 2022
Overview
This template is intended to query a single value from generic monster stats.
Essentially, this is a shortcut for:
{{#cargo_query: |tables = generic_stats |fields = CONCAT(value) |where = name="Monster" AND id = "{{{stat|{{{1}}}}}}" |no html }}
Parameters
Parameter | Type | Description | Optional |
---|---|---|---|
stat | str | The stat_id to query for | ✗
|
Example
{{Monster query |stat=base_critical_strike_multiplier }}
Yields:
130
The above documentation is transcluded from Template:Monster query/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.