Template:EnchantmentQuery/doc

From HoloCure Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

Queries the table "Weapons" and returns a list of weapons that have the specified enchantment available to them.

Parameters

# Name Description
N/A weaponCat Category of the weapon.
N/A enchantment Enchantment type: "damage", "size", "haste", "hitrate", "crit", "knockback" or "projectile"
N/A invert Optional. If set, instead returns a list of weapons the enchantment is not available to.

Example

{{EnchantmentQuery|weaponCat=basic|enchantment=projectile}}

Results in:

BL Book Icon.pngBL Book
Bounce Ball Icon.pngBounce Ball
CEO's Tears Icon.pngCEO's Tears
EN's Curse Icon.pngEN's Curse
Glowstick Icon.pngGlowstick
Plug Type Asacoco Icon.pngPlug Type Asacoco
X-Potato Icon.pngX-Potato

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.