View source for Module:Average drop value/Sandbox
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local curr = require('Module:Currency')._amount
local dpl = require('Module:DPLlua')
local geprices = mw.loadJsonData('Module:GEPrices/data.json')
local p = {}
-- TODO move to helper function
local a_an_arr = {
a = true,
e = true,
i = true,
o = true,
u = true
}
function a_an(x)
local _x = mw.text.truncate(string.lower(x), 1, '')
if a_an_arr[_x] then
return 'an'
end
return 'a'
000
1:0
Template used on this page:
Return to Module:Average drop value/Sandbox.