This [[ 4th Massachusetts Regiment (1775)]] is listed on this page:
but when I put it on a profile, it's red. What else needs to go in the brackets?
Adding the word Category: is green now !
Have you tried:
[[Category:4th Massachusetts Regiment (1775)]]
Worked when I tested it