Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
108 bytes removed ,  14:50, 31 March 2022
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 VariablesLua = mw.ext.VariablesLua function p.main(frame) local args = frame:getParent().args local ret = infobox.new(args) ret:defineParams{ --- General { name = 'name', func = 'name' }, { name = 'version', func = 'h...")
 
No edit summary
Line 35: Line 35:


-- css class name to hide rows on undefined versions
-- css class name to hide rows on undefined versions
{ name = 'market_sell_limit', func = { name = gemwdisp, params = { 'gemwprice' } }, dupes = true },
{ name = 'market_sell_limit', func = 'has_content'},
{ name = 'market_buy_limit', func = { name = buylimitarg, params = { 'gemwprice', 'gemwname' } }, dupes = true },
{ name = 'market_buy_limit', func = 'has_content' },





Navigation menu