[[Template:cardinal]]
Fragment of a discussion from User talk:Internoob
I made it to only work if a category with the exact name "Category:(lang) cardinal numbers" exists, and so it works on, eg. karannde. There are other categories that some people use (like "Category:Cardinal numerals" and "Category:xx:Cardinal numbers"). There was a vote to get rid of the language code prefixed ones but some categories still exist.