Template:Skill enchantment modifier list: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 No edit summary |
>94Connor949-gpuser No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>==Related helmet enchantments== | <onlyinclude><includeonly>==Related helmet enchantments== | ||
The following helmet [[enchantment]]s affect {{{skill|{{PAGENAME}}}}} | The following helmet [[enchantment]]s affect [[{{{skill| {{PAGENAME}} }}}]]: | ||
{{Modifier table | {{Modifier table | ||
|q_tables=spawn_weights | | q_tables = spawn_weights | ||
|q_join=mods._pageID=spawn_weights._pageID | | q_join = mods._pageID=spawn_weights._pageID | ||
|q_where= | | q_where = | ||
{{{query| | {{{query| | ||
mods.generation_type=10 | mods.generation_type = 10 | ||
AND spawn_weights.tag = "helmet" | |||
AND spawn_weights.weight > 0 | |||
AND ( | |||
mods.id LIKE "%{{trim| | |||
{{#replace: | |||
{{urlencode: | |||
{{#replace: | |||
{{#replace: | |||
{{#replace: | |||
{{#replace: | |||
{{lc: {{{skill| {{PAGENAME}} }}} }} | |||
| skeletons | skeleton }} | |||
| raise }} | |||
| summon }} | |||
| vaal }} | |||
| WIKI }} | |||
| _ | % }} | |||
}}%" | |||
OR mods.stat_text_raw LIKE "%{{trim| | |||
{{#replace: | |||
{{urlencode: | |||
{{#replace: | |||
{{#replace: | |||
{{#replace: | |||
{{#replace: | |||
{{lc: {{{skill| {{PAGENAME}} }}} }} | |||
| skeletons | skeleton }} | |||
| raise }} | |||
| summon }} | |||
| vaal }} | |||
| WIKI }} | |||
| _ | % }} | |||
}}%" | |||
) | ) | ||
}}} | }}} | ||
|q_orderBy=mods.id ASC | | q_orderBy = mods.id ASC | ||
|stat_text=1 | | stat_text = 1 | ||
|level=1 | | level = 1 | ||
}}</includeonly>< | | default = ''There are currently no enchantments for this skill.'' | ||
}}</includeonly></onlyinclude> | |||
{{documentation}} | {{documentation}} | ||
Revision as of 05:59, 22 December 2018
Overview
Template to show the enchantment modifiers from semantic data on a skill page.
Parameters
Parameter | Required | Description |
---|---|---|
skill | ✗
|
Name of the skill to search for. If it is omitted, the progression is assumed to be the name of the page the template is put on. |
query | ✗
|
A custom query instead of the default one. |
Example
{{Skill enchantment modifier list|skill=Fireball}}
yields:
Related helmet enchantments
The following helmet enchantments affect Fireball: There are currently no enchantments for this skill.
The above documentation is transcluded from Template:Skill enchantment modifier list/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.