Thread:Project:Support desk/How to check from a template if a page is in a given category?/reply (2)

Thanks for the advice, Bawolff. I found this template on the italian wikisource that does what I wanted. However I'll have to read the code a couple of times because I still don't fully understand the procedure it uses.