FANDOM


local utils = require("Module:Utils")
 
local p = {}
 
function p._format_tickets(args)
	return "[[File:2016 Ticket.png|20px|link=tickets|alt=tickets]]<span class=\"tickets-amount\">" .. utils.format_number(utils.parse_number(args.amount, true)) .. "</span>"
end
 
p.format_tickets = utils.make_wrapper_function(p._format_tickets)
 
function p._format_robux(args)
	return "<span class=\"robux-icon-background\" style=\"width: 20px; height: 20px;\"></span><span class=\"robux-amount\">" .. utils.format_number(utils.parse_number(args.amount, true)) .. "</span>"
end
 
p.format_robux = utils.make_wrapper_function(p._format_robux)
 
function p._format_roblox_points(args)
	return "[[File:Roblox point.png|20px|link=Roblox points|alt=Roblox points]]<span class=\"roblox-points-amount\">" .. utils.format_number(utils.parse_number(args.amount, true)) .. "</span>"
end
 
p.format_roblox_points = utils.make_wrapper_function(p._format_roblox_points)
 
function p._format_player_points(args)
	return "[[File:Player Point.png|20px|link=Player points|alt=player points]]<span class=\"player-points-amount\">" .. utils.format_number(utils.parse_number(args.amount, true)) .. "</span>"
end
 
p.format_player_points = utils.make_wrapper_function(p._format_player_points)
 
function p._format_clan_points(args)
	return "[[File:Clan point.png|20px|link=clan points|alt=clan points]]<span class=\"clan-points-amount\">" .. utils.format_number(utils.parse_number(args.amount, true)) .. "</span>"
end
 
p.format_clan_points = utils.make_wrapper_function(p._format_clan_points)
 
function p._format_free()
    return "<span class=\"item-free\">Free</span>"
end
 
p.format_free = utils.make_wrapper_function(p._format_free)
 
return p
Community content is available under CC-BY-SA unless otherwise noted.