Module:HeroData: Difference between revisions

Jump to navigation Jump to search
Sur (talk | contribs)
m stat-infoboxes class -> stat-infoboxes-container
Sur (talk | contribs)
m max width calc removal from stat infobox
Line 256: Line 256:
-- Use expandTemplate to evaluate the Infobox_hero template
-- Use expandTemplate to evaluate the Infobox_hero template
     local template_title = mw.title.new("Template:Infobox_stat") --name of the template
     local template_title = mw.title.new("Template:Infobox_stat") --name of the template
     local template_calls = '<div style="display: flex; flex-direction: column; max-width:calc(100% - 300px);" class="stat-infoboxes-container">' --all template calls concatenated
     local template_calls = '<div style="display: flex; flex-direction: column;" class="stat-infoboxes-container">' --all template calls concatenated
     local template_call --current template call
     local template_call --current template call
local template_args = {} --current template arguments
local template_args = {} --current template arguments