Template:Query stat related skill gems/sandbox: Difference between revisions
Jump to navigation
Jump to search
Neokowloon (talk | contribs) No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>The following [[{{#switch: {{{type|}}} | support = support | #default = skill}} gem]]s have [[stat]]s {{#if: {{{quality|}}} | from [[quality]]}} related to [[{{{stat_page|{{PAGENAME}}}}}|{{PAGENAMEBASE|{{{stat_page|{{PAGENAME}}}}}}}]]: | |||
{{Query skill gems | {{Query skill gems | ||
|tables = | |tables = skill_stats_per_level, skill_quality_stats | ||
|join = | |join = items._pageID=skill_stats_per_level._pageID, items._pageID=skill_quality_stats._pageID | ||
|where = | |where = items.class_id="{{#switch: {{{type|}}} | support = Support | #default = Active}} Skill Gem" | ||
AND ({{{where | |||
| {{#if: {{{quality|}}} | |||
| skill_quality_stats.id LIKE "{{{stat_id_query|+}}}" | |||
| skill_stats_per_level.id LIKE "{{{stat_id_query|+}}}" | |||
}} | |||
}}}) | |||
|default = There are no {{#switch: {{{type|}}} | support = support | #default = skill}} gems that have stats {{#if: {{{quality|}}} | from quality}} related to {{PAGENAMEBASE|{{{stat_page|{{PAGENAME}}}}}}}. | |||
|default = There are | }}<noinclude> | ||
{{Documentation}} | |||
}}< | </noinclude> | ||
{{ |