Template:SpellQuery
Jump to navigation
Jump to search
Documentation
This template generates a list of spells of a given tier(s) and type(s), taken from Special:CargoTables/Spells. They are ordered by type and sortKey, intended to help group similar spells.
{{SpellQuery/row}}
{{SpellQuery/row2}}
Usage
{{SpellQuery|tier=1|type=2}} {{SpellQuery|name=Spitter Bolt,Spark Bolt|id=MANA_REDUCE,RESET}} {{SpellQuery|where=...|template=SpellQuery/row}}
- tier: tier or tiers of spell to include, valid values:
0
,1
,2
,3
,4
,5
,6
,7
,8
,9
, and/or10
; formatted as comma-separated values. - type: type or types of spell to include, valid values:
Projectile
,Static projectile
,Passive
,Utility
,Projectile modifier
,Material
,Multicast
, and/orOther
; case-sensitive, formatted as comma-separated values. - name: name(s) of spells to include
- id: id(s) of spells to include
- where: overrides tier/type/name/id with a custom query
- template: overrides default (
{{SpellQuery/row2}}
) with a template to use for results
Example
===Tier Query=== {{SpellQuery|tier=7}} ===Type Query=== {{SpellQuery|type=Other,Utility}} ===Both Query=== {{SpellQuery|tier=10|type=Material,Projectile}}
produces:
Tier Query
Transmutes everything in a short radius into Earth, including walls, creatures... and you. Unless…
Transmutes everything in a short radius into blood, including walls, creatures... and you
Transmutes everything in a short radius into gold, including walls, creatures... and you
Transmutes everything in a short radius into oil, including walls, creatures... and you
Transmutes everything in a short radius into smoke, including walls, creatures... and you
Transmutes everything in a short radius into alcohol, including walls, creatures... and you
Transmutes everything in a short radius into water, including walls, creatures... and you
Type Query
The next spell is skipped if there are less than 20 projectiles nearby
Any Requirement spells before this will skip all spells between them and this spell
Reduces a spell's mana cost and recharge time greatly, at the costs of four health points
Casts copies of a projectile in a trifurcated pattern, but the copies still cost mana
Casts copies of a projectile in a tetragonal pattern, but the copies still cost mana
Casts 5 copies of a projectile in a pentagonal pattern, but the copies still cost mana
Casts 6 copies of a projectile in a hexagonal pattern, but the copies still cost mana
Spends 5% of your current gold and adds damage to a projectile proportional to the amount spent
Both Query
Transmutes everything in a short radius into urine, including walls, creatures... and you
Transmutes everything in a short radius into Earth, including walls, creatures... and you. Unless…
Transmutes everything in a short radius into blood, including walls, creatures... and you
Transmutes everything in a short radius into gold, including walls, creatures... and you
Transmutes everything in a short radius into oil, including walls, creatures... and you
Transmutes everything in a short radius into smoke, including walls, creatures... and you
Transmutes everything in a short radius into alcohol, including walls, creatures... and you
Transmutes everything in a short radius into water, including walls, creatures... and you