Template:ROOTBOOKNAME
From Wikibooks, open books for an open world
This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions.
Usage
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}}
Examples
Wikijunior:Biology → Wikijunior:Biology
Chess/Puzzles/Directmates → Chess
Wikijunior:Dinosaurs/Apatosaurus → Wikijunior:Dinosaurs
Category:Horticulture/Templates/Boxes → Horticulture
Wikijunior talk:Bugs/Shield Bug → Wikijunior:Bugs
See also
- {{BOOKNAME}}
- {{FULLBOOKNAME}}