Module:Infobox Item: Difference between revisions

no edit summary
(Created page with "-------------------------- -- Module for Template:Infobox Item ------------------------ local p = {} local infobox = require('Module:Infobox') local onmain = require('Module:Mainonly').on_main local commas = require('Module:Addcommas')._add local exchange = require('Module:Exchange') local chart = require('Module:ExchangeData')._chart function p.main(frame) local args = frame:getParent().args local ret = infobox.new(args) ret:defineParams{ { name = 'name', fu...")
 
No edit summary
Line 121:
}
:pad(20)
-- :addRow{
-- { tag = 'th', content = 'Released', colspan = '7' },
-- { tag = 'argd', content = 'release', colspan = '13' }
-- }
 
if ret:paramDefined('removal', 'all') then
Line 140:
end
 
-- ret:addRow{
-- { tag = 'th', content = '[[Members]]', colspan = '7' },
-- { tag = 'argd', content = 'members', colspan = '13' }
-- }
-- :addRow{
-- { tag = 'th', content = '[[Quest items|Quest item]]', colspan = '7' },
-- { tag = 'argd', content = 'quest', colspan = '13' }
-- }
ret:pad(20) -- :pad(20) (before, had to add ret due to removal of above)
:pad(20)
:addRow{
{ tag = 'th', content = 'Properties', class = 'infobox-subheader', colspan = '20' }