This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions.

When used on category, template, or talk pages, returns the associated book name. Otherwise the full book name is returned.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{ROOTBOOKNAME|Page Name}}

Wikijunior:Biologyទំព័រគំរូ:ROOTBOOKNAME

Chess/Puzzles/Directmatesទំព័រគំរូ:ROOTBOOKNAME

Wikijunior:Dinosaurs/Apatosaurusទំព័រគំរូ:ROOTBOOKNAME

Category:Horticulture/Templates/Boxesទំព័រគំរូ:ROOTBOOKNAME

Wikijunior talk:Bugs/Shield Bugទំព័រគំរូ:ROOTBOOKNAME