User blog comment:BentLauridsenDK/Gold outcome from IT and local trains/@comment-26692787-20170126235605/@comment-29878506-20170128034827

It's not a Database (that would be easier). Imagine a Template:DataPower that contains:

Then we can call the power of any locomotive by name from any page in the site, including infoboxes, other templates, etc.: