Module:Infobox: Difference between revisions
no edit summary
(Dropdown list support) Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 425:
if self.versions > self.max_buttons then
-- Dropdown list instead of buttons if too many versions
local select = buttons:tag('
:addClass('infobox-buttons-select')
:attr('id', 'infobox-'..self.infobox_name)
:attr('name', 'infobox-'..self.infobox_name)
for version=1, self.versions do
select:tag('option')
|