Module:MaterialInfobox: Difference between revisions

Content deleted Content added
This might fix the hacky part...
m For testing purposes
Line 54:
function Infobox.SplitValueMethod( field, vars )
field["Value"] = ValueLeft --[[ A bit hacky, but it's about to be replaced by this function's output anyways, and if it works, then we don't need special functions for Splits ]]--
local ValueLeft = SplitRunFunction( field.ValueLeftMethod, field.ValueLeftValue, field, vars )
field["Value"] = ValueRight
local ValueRight = SplitRunFunction( field.ValueRightMethod, field.ValueRight, field, vars )