Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
676 bytes added ,  14:59, 31 March 2022
no edit summary
No edit summary
No edit summary
Line 45: Line 45:
ret:setMaxButtons(7)
ret:setMaxButtons(7)
ret:create()
ret:create()
ret:cleanParams()
ret:customButtonPlacement(true)
ret:setDefaultVersionSMW(true)
ret:defineLinks({ hide = true })
ret:useSMWOne({
members = 'All Is members only',
id_smw = 'All Item ID',
image_smw = 'All Image',
})
ret:useSMWSubobject({
version = 'Version anchor',
release = 'Release date',
id_smw = 'Item ID',
description = 'Description',
members = 'Is members only',
buyvalue = 'Buyable for',
sellvalue = 'Sellable for',
image_smw = 'Image',
market_buy_limit = 'Buy limits',
market_sell_limit = 'Sell limits',
usesinfobox = 'Uses infobox',
})
ret:addButtonsCaption()
ret:defineName('Infobox Item')
ret:addClass('infobox-item')
end
end


return p
return p

Navigation menu