This code is unfinished. The template will not work yet. Currently waiting for Extension:Variables to be installed.
When finished, this code will allow for the generation of a new infobox with unlimited customization.
Usage
Using this template will be as simple as defining the fields in number order
Example: