Module:ModifierTables: Difference between revisions

_getModifierTable: Remove inline styles for collapsible toggle
(Exclude Golbin Raid exclusive equipment/upgrades. Potentially replace with toggle later)
(_getModifierTable: Remove inline styles for collapsible toggle)
Line 250: Line 250:
if overflowModCount > 1 then
if overflowModCount > 1 then
-- Number of other modifiers for the object exceed the specified maximum
-- Number of other modifiers for the object exceed the specified maximum
table.insert(otherModText, '<br/><span style="float:left;margin-left:0;margin-right:1em" class="mw-collapsible mw-collapsed" ')
table.insert(otherModText, '<br/><span class="mw-collapsible mw-collapsed" ')
table.insert(otherModText, 'data-expandtext="Show ' .. Shared.formatnum(overflowModCount) .. ' more modifiers", data-collapsetext="Hide">')
table.insert(otherModText, 'data-expandtext="Show ' .. Shared.formatnum(overflowModCount) .. ' more modifiers", data-collapsetext="Hide">')
table.insert(otherModText, table.concat(modTextArray['overflow'], '<br/>') .. '</span>')
table.insert(otherModText, table.concat(modTextArray['overflow'], '<br/>') .. '</span>')