Difference between revisions of "Module:Drop"

From Curse of Aros
Jump to: navigation, search
(Created page with "local export = {} function export.show(frame) local row = mw.html.create('tr'):addClass('coa-drop-row') row:tag('td'):wikitext(frame.args.Name) row:tag('td'):wikitext(fr...")
 
Line 1: Line 1:
 
local export = {}
 
local export = {}
  
function export.show(frame)
+
function export.main(frame)
 
local row = mw.html.create('tr'):addClass('coa-drop-row')
 
local row = mw.html.create('tr'):addClass('coa-drop-row')
 
 

Revision as of 12:23, 17 November 2019

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

local export = {}

function export.main(frame)
	local row = mw.html.create('tr'):addClass('coa-drop-row')
	
	row:tag('td'):wikitext(frame.args.Name)
	row:tag('td'):wikitext(frame.args.Quantity)
	row:tag('td'):wikitext(frame.args.Rarity)
	
    return tostring(row)
end

return export