View source for Module:Shop
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
-- copied from Coral Island wiki
local p = {}
local lib = require('Module:Feature')
local Icon = require('Module:Icon')._main
local category = mw.html.create()
local _Currencies = {['Coin']=true, ['Merit Points']=true}
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame)
local delim = args.delim or ';'
--start out and figure out cols
local out = mw.html.create('table'):addClass('article-table fandom-table sortable ' .. (args.class or ''))
local default = {}
table.insert(default, (args.firstcol or 'Item'))
table.insert(default, (args.secondcol or 'Price'))
local types = p.HashTypes(out, args.cols, default)
--build out
for _, raw in ipairs(args) do
000
1:0
Template used on this page:
Return to Module:Shop.