Module:HeroData: Difference between revisions

Jump to navigation Jump to search
LVL (talk | contribs)
Fixed header
LVL (talk | contribs)
No edit summary
Line 276: Line 276:
local template_args = {}
local template_args = {}
template_args["1"] = scaling_value
template_args["1"] = scaling_value
if compact then template_args["compact"] = "yes" end
if compact then  
template_args["compact"] = "yes"
template_args["show_value"] = "yes"
end
local template_call = mw.getCurrentFrame():expandTemplate{ title = template_title, args = template_args }
local template_call = mw.getCurrentFrame():expandTemplate{ title = template_title, args = template_args }