Module:Ability clickpic

-- -- Implements Template:Ability clickpic --

local p = {}

local params = require('Module:Paramtest')

local abilities = { ['slice'] = '', ['havoc'] = '', ['backhand'] = '', ['smash'] = '', ['barge'] = '', ['sever'] = '', ['slaughter'] = '', ['flurry'] = '', ['hurricane'] = '', ['overpower'] = '', ['massacre'] = '', ['meteor strike'] = '', ['balanced strike'] = '', ['kick'] = '', ['punish'] = '', ['dismember'] = '', ['fury (ability)|fury'] = '', ['cleave'] = '', ['decimate'] = '', ['destroy'] = '', ['quake'] = '', ['assault'] = '', ['berserk'] = '', ['pulverise'] = '', ['frenzy'] = '', ['anticipation'] = '', ['bash'] = '', ['provoke'] = '', ['freedom'] = '', ['resonance'] = '', ['preparation'] = '', ['revenge'] = '', ['reflect'] = '', ['debilitate'] = '', ['immortality'] = '', ['rejuvenate'] = '', ['barricade (ability)|barricade'] = '', ['natural instinct'] = '', ['regenerate'] = '', ['momentum'] = '', ['incite'] = '', ['single-way wilderness'] = '', ["guthix's blessing"] = "", ['balanced stance'] = '', ['defensive stance'] = '', ['aggressive stance'] = '', ['reckless stance'] = '', ['piercing shot'] = '', ['snipe'] = '', ['dazing shot'] = '', ['needle strike'] = '', ['binding shot'] = '', ['fragmentation shot'] = '', ['escape'] = '', ['ricochet'] = '', ['snap shot'] = '', ['rapid fire'] = '', ['bombardment'] = '', ['deadshot'] = '', ['incendiary shot'] = '', ['unload'] = '', ["death's swiftness"] = "", ['wrack'] = '', ['dragon breath'] = '', ['sonic wave'] = '', ['concentrated blast'] = '', ['impact'] = '', ['combust'] = '', ['surge'] = '', ['chain'] = '', ['asphyxiate'] = '', ['detonate'] = '', ['wild magic'] = '', ['omnipower'] = '', ['metamorphosis'] = '', ['tsunami'] = '', ['sunshine'] = '' }

function p.display( frame ) data = frame.args

local i = 1

local return_text = '' while data[i] do       return_text = return_text .. abilities[data[i]] .. ' '   end return return_text end

return p