Template:Query skill infobox
Jump to navigation
Jump to search
This template adds rows to the table "main_pages", which is declared by the template Cargo/main pages. View table.
Overview
This template creates a skill infobox based on the given id.
Arguments
Argument | Description | Optional |
---|---|---|
id | Id of the skill to retrieve the infobox for | ✗
|
{{{1}}} | Modifies the where query to search the popular fields. | ✓
|
q_where | Custom where query. | ✓
|
Finding skills
From skill name
Finding skills can be done with a query such as
{{#cargo_query: |tables = skill |fields = skill._pageName, skill.skill_id, skill.active_skill_name, skill.stat_text |where = skill.active_skill_name LIKE "%Icestorm%" }}
yields
_pageName | skill id | active skill name | stat text |
---|---|---|---|
Skill:IcestormUniqueStaff12 | IcestormUniqueStaff12 | Icestorm | Base duration is 1.00 seconds<br>Deals 5 to 7 base Cold Damage per 10 Intelligence<br>One impact every 0.20 seconds<br>Base radius is 1.6 metres<br>Maximum 5 Icestorms at a time<br>0.10 seconds additional Base Duration per 100 Intelligence |
From item
If the item where it can spawn on is known {{Item table}}
can be used with a query such as
{{Item table |q_where = items.name = "The Whispering Ice" |granted_skills = 1 }}
yields
Item | Granted skills |
---|---|
The Whispering IceThe Whispering Ice Vile StaffWarstaff Physical Damage: 41-76 Critical Strike Chance: 6.10% Attacks per Second: 1.30 Weapon Range: 1.3 metresRequires Level 33, 59 Str, 59 Int+18% Chance to Block Attack Damage while wielding a Staff+1 to Level of Socketed Support Gems Grants Level 1 Icestorm Skill Plays Whispering Ice sound on killing a rare Monster (Hidden) (14-18)% increased Intelligence (8-12)% increased Cast Speed 1% increased Spell Damage per 10 IntelligenceGuard your darkest thoughts well, for they are the cracks through which the Nightmare crawls. | Level 1 Icestorm |
See also
The above documentation is transcluded from Template:Query skill infobox/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.