Template:Monster query: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
(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:
<noinclude>
|tables = generic_stats
<templatedata>
|fields = CONCAT(value)
{
|where = name="Monster"
"params": {
AND id = "{{{stat|{{{1}}}}}}"
"base_critical_strike_multiplier": {
|no html
"description": "http://www.pathofexile.com/forum/view-thread/313264/page/2#p313264",
}}</includeonly><noinclude>
"default": "130"
{{Documentation}}
}
},
"description": "Monster base data for queries"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 17:57, 23 February 2022

Template documentation[view] [edit] [history] [purge]


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