Module:Infobox: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
(Avoiding nil versions.)
Line 28: Line 28:
max_buttons = 6, -- If there are more buttons than the max, the buttons will become a dropdown menu
max_buttons = 6, -- If there are more buttons than the max, the buttons will become a dropdown menu
default_version = 1, -- default version to populate the infobox
default_version = 1, -- default version to populate the infobox
versions = nil, -- number of versions
versions = 0, -- number of versions
version_names = {}, -- title of each version (for selection and SMW)
version_names = {}, -- title of each version (for selection and SMW)
rtable = nil, -- infobox table to return at the end
rtable = nil, -- infobox table to return at the end