Forum:Infobox - How to add catagories

I've got an info box on Tractors.Wikia - http://tractors.wikia.com/wiki/Template:Infobox_Steam which has several entries which i'd like to use to automatically categorise the page its used in depending on the entries value, rather than adding categories to each page manualy. Items such as the build date - e.g '1913' would add "Category:Steam engines built in 1913" to the page, with similar for the Manufacturer, Power, Engine type etc. entries.

I'm sure i've seen it done but cannot remember how or were, and a look through help has not found the relevant page.

Part of the need to do this is the new (er) update to the wikia software with the 'magic' category add button now stops the copying of a similar existing page complete with the categories included in it and just up dating a few bits of text & the odd bit of some category entries. If the use of the infobox automatically adds the categories it will be easier & result in a more consistent indexing of pages.

A pointer to a suitable (not too complex) example on another wiki would be a great help. My earlier attempts to create a 'auto page creation button' based on another wikis complex template failed due to the complex nested coding / logic used. Thanks i'm sure its a simple solution but it escapes me for now - BulldozerD11 15:05, 4 August 2009 (UTC)