×
Create a new article
Write your page title here:
We currently have 5 articles on Test2 Wiki. Type your article name above or create one of the articles listed here!



    Test2 Wiki
    5Articles
    This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

    Documentation for this module may be created at Module:Format/doc

    local getArgs = require('Dev:Arguments').getArgs
    
    local m = {}
    
    function m.FormatPrice(f)
    	local priceStr = getArgs(f).Price and getArgs(f).Price:match("[%d,]+") and getArgs(f).Price:gsub(",","") or getArgs(f).Price
    	for price in priceStr:gmatch("%d+") do
    		priceStr = priceStr:gsub(price, '<span class="kip">'..price:reverse():gsub("(%d%d%d)", "%1,"):gsub(",$", ""):reverse().."</span>")
    	end
    	return priceStr
    end
    
    return m
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • Fjalon • 3 months ago
  • Fjalon • 3 months ago
  • Fjalon • 3 months ago
  • Fjalon • 3 months ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.