Not documentation for this template, but check out https://github.com/Universal-Omega/PortableInfobox
And no discussion of Infoboxes would be complete without diving into the subject of Lua and also the shortcomings of the out of the box experience which does NOT include any templates or pre-installed mechanisms for infoboxes.