Module:Infobox: Difference between revisions

Renaming attribute 'data-default-version' to 'data-default-index' for consistency
(Undo last 2 edits, mw.html doesn't seem to support select tags)
Tag: Manual revert
(Renaming attribute 'data-default-version' to 'data-default-index' for consistency)
Line 422:
:tag('div')
:addClass('infobox-buttons')
:attr('data-default-versionindex', self.default_version)
-- Dropdown list instead of buttons if too many versions
if self.versions > self.max_buttons then