Uses Module:ja-compound.
{{ja-compound|小|しょう|学生|がくせい|の||料%理|りょう%り|t1=small|t2=student|pos3=possessive particle|t4=cuisine}}
generates
小 (shō, “small”) + 学生 (gakusei, “student”) + の (no, possessive particle) + 料理 (ryōri, “cuisine”)
and categorizes Category:Japanese compound terms with しょうがくせいのりょうり sort key.
{{ja-compound|不|ふ-|可算|かさん|t1=]|t2=]}}
generates
不 (fu-, “un-”) + 可算 (kasan, “countable”)
and categorizes Category:Japanese compound terms and Category:Japanese terms prefixed with 不 with ふかさんめいし sort key.
See Template:ja-r/documentation#Ruby_and_transliteration