FANDOM


local utils = require("Module:Utils")
 
local p = {}
 
function p._format_pp(args)
	return "[[File:Playerpoint.png|20px]] <span style=color:red; class=\"pp-amount\";>" .. utils.format_number(utils.parse_number(args.amount, true)) .. "</span>"
end
 
p.format_pp = utils.make_wrapper_function(p._format_pp)
 
function p._format_xp(args)
	return "[[File:XPIcon.png|20px]] <span style=color:orange; class=\"XP-amount\";>" .. utils.format_number(utils.parse_number(args.amount, true)) .. "</span>"
end
 
p.format_xp = utils.make_wrapper_function(p._format_xp)
 
function p._format_health(args)
	return "[[File:HeartIcon.png|20px]] <span style=color:limegreen; class=\"Health-amount\";>" .. utils.format_number(utils.parse_number(args.amount, true)) .."</span>"
end
 
p.format_health = utils.make_wrapper_function(p._format_health)
 
function p._format_level(args)
	return "[[File:Levelarrow.png|20px]] <span style=color:green; class=\"Level-amount\";>" .. utils.format_number(utils.parse_number(args.amount, true)) .."</span>"
end
 
p.format_level = utils.make_wrapper_function(p._format_level)
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.