Module:HeroData: Difference between revisions

Jump to navigation Jump to search
Sur (talk | contribs)
m max width 70%
Sur (talk | contribs)
m Undo revision 7934 by Sur (talk)
Tag: Undo
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:70%">' --all template calls concatenated
     local template_calls = '<div style="display: flex; flex-direction: column; max-width:calc(100% - 300px)">' --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