Template:Query masteries: Difference between revisions
Jump to navigation
Jump to search
Neokowloon (talk | contribs) (Created page with "{{#cargo_query: |tables=mastery_groups, mastery_effects=m_e |join on= mastery_groups.mastery_effects HOLDS m_e.id |fields= mastery_groups._pageName=Mastery, GROUP_CONCAT( CONCAT('* ', m_e.stat_text) SEPARATOR "\n")=Effects |where= m_e.stat_text LIKE "%{{#if: {{{where|}}}| AND ({{{where|}}})|}}%" |order by=mastery_groups._pageName |group by=mastery_groups._pageName }}") |
Neokowloon (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | |||
{{#cargo_query: | {{#cargo_query: | ||
|tables=mastery_groups, mastery_effects=m_e | |tables=mastery_groups, mastery_effects=m_e | ||
Line 6: | Line 7: | ||
GROUP_CONCAT( CONCAT('* ', m_e.stat_text) | GROUP_CONCAT( CONCAT('* ', m_e.stat_text) | ||
SEPARATOR "\n")=Effects | SEPARATOR "\n")=Effects | ||
|where= m_e.stat_text LIKE "% | |where= m_e.stat_text LIKE "%{{{where|{{PAGENAME}}}}}%" | ||
|order by=mastery_groups._pageName | |order by=mastery_groups._pageName | ||
|group by=mastery_groups._pageName | |group by=mastery_groups._pageName | ||
}} | }} | ||
</includeonly> | |||
<noinclude> | |||
{{documentation}} | |||
</noinclude> |
Latest revision as of 05:10, 29 October 2022
Usage
This template use cargo query to display the related masteries.
{{Query masteries}}
Parameters
Parameter | Required | Description |
---|---|---|
where | ✗
|
default is prefilled as page name. |
Examples
{{Query masteries|where=shock}}
yield
Mastery | Effects |
---|---|
Charge Mastery |
|
Curse Mastery |
|
Lightning Mastery |
|
The above documentation is transcluded from Template:Query masteries/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.