Good eye. Those boilerplate messages are created using templates. viewing the source for the page - in this case iron ochre (could be any page with those messages) - will show you the {{infobox....}} information (also a template) and in our case {{SharedData ore...}}. all templates live under the 'template' prefix/namespace, so the easiest way to find what you're looking for is to prepend template: to your search term, in this case SharedData Ore. If you peek under the covers there's tons of other tools that help you find/fetch pages and list of pages. the
Special Page Page has a lot of really interesting links for those who like that sort of stuff.
Templates are the real workhorses on the wiki and save an absolute ton of work if done right. They save a lot of time on otherwise repetitive or manual entry; updating the template (like we did with the gneiss/slag situation here) updates all the pages that use that template. It's pretty great. If manual entry/data gathering doesnt suit you, creating interesting templates might be more engaging for those here who are more programming-minded. Hell, the whole infobox is one big (spaghetti-code) template, but it works well for what it is.