User talk:Zodon/ATC to category

Automatic categorization

I have been toying with ideas about linking the ATC code (e.g. in ATC Category or in drugbox) to the categorization.

With a template that converts ATC codes to category names ATC to category, the ATC Category message box could also include what ATC supercategory the item beloned to. (If ATC Category took two arguments - one for the including category, and one for what category this is, then  would make it a subcategory of the appropriate ATC category.

Could also check that the right category entered

Ideally drugbox could categorize page in given ATC category. (but that would be harder to do since mediawiki doesn't have much that will disassemble a string, even one as simple as an ATC code).