Close
    Search Search

    Módulo: Moeda

      Módulo: Moeda

      A documentação para este módulo pode ser criada no Módulo: Moeda / doc


      local utils = require ("Módulo: Utils") local p = {} function p._format_tickets (args) local icon = "[[File: 2016 Ticket.png | 20px | link = tickets | alt = tickets]]" local amount_span = mw.html.create ("span"): addClass ("tickets-amount"): css ("font-weight", "bold"): text (utils.format_number (utils.parse_number (args.amount, true) )) ícone de retorno .. tostring (amount_span) fim p.format_tickets = utils.make_wrapper_function (p._format_tickets) função p._format_robux (args) ícone local = "[[Arquivo: Robux dark small.svg | 20px | link = Robux | alt = Robux]] "local amount_span = mw.html.create (" span "): addClass (" robux-amount "): css (" font-weight "," bold "): text (utils.format_number (utils. parse_number (args.amount, true))) ícone de retorno .. tostring (amount_span) end p.format_robux = utils.make_wrapper_function (p._format_robux) função p._format_roblox_points (args) local icon = "[[Arquivo: Roblox point.png | 20px | link = Pontos Roblox | alt = Pontos Roblox]] "local amount_span = mw.html.create (" span "): addClass (" roblox-points-amount "): css ("font-weight", "bold"): text (utils.format_number (utils.parse_number (args.amount, true))) ícone de retorno .. tostring (amount_span) end p.format_roblox_points = utils.make_wrapper_function (p._format_roblox_points ) function p._format_player_points (args) local icon = "[[File: Player Point.png | 20px | link = Player points | alt = player points]]" local amount_span = mw.html.create ("span"): addClass ("player-points-amount"): css ("font-weight", "bold"): texto (utils.format_number (utils.parse_number (args.amount, true))) ícone de retorno .. tostring (amount_span) end p.format_player_points = utils.make_wrapper_function (p._format_player_points) função p._format_clan_points (args) local icon = "[[File: Clan point.png | 20px | link = clan points | alt = clan points]]" local amount_span = mw .html.create ("span"): addClass ("clan-points-amount"): css ("font-weight", "bold"): text (utils.format_number (utils.parse_number (args.amount, true) )) ícone de retorno .. tostring (amount_span) end p.format_clan_points = utils.make_wrapper_function (p. _format_clan_points) function p._format_free () local free_span = mw.html.create ("span"): addClass ("item-free"): css ("text-transform", "uppercase"): text ("Free") return tostring (free_span) end p.format_free = utils.make_wrapper_function (p._format_free) return p


      Adicione um comentário do Módulo: Moeda
      Comentário enviado com sucesso! Vamos analisá-lo nas próximas horas.