Translations:Extension:Cargo/Quick start guide/17/en

That is all you need to do to have infobox-style templates that both define a data structure and store their data in an easily-queried way.