Module:MaterialInfobox: Difference between revisions
Content deleted Content added
Adapter functions between the Label/Value tables and the string (Label/Value)(Left/Right)(Method/) variables |
m Do the last edit correctly... |
||
Line 37:
function Infobox.SplitLabelMethod( field, vars )
return {
Infobox[ field.LeftLabelMethod ]( field.LeftLabel ),
Infobox[ field.RightLabelMethod ]( field.RightLabel )
}
end
function Infobox.SplitValueMethod( field, vars )
return {
Infobox[ field.LeftValueMethod ]( field.LeftValue ),
Infobox[ field.RightValueMethod ]( field.RightValue )
}
end
| |||