Template:BOOKNAME/doc

From Wikibooks, open books for an open world
Jump to: navigation, search

Returns the name of the book without the namespace.

Usage[edit]

Simply place {{BOOKNAME}} on a page to get the output.

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

{{BOOKNAME|Page Name}}

Examples[edit]

Wikijunior:BiologyBiology

Chess/Puzzles/DirectmatesChess

Wikijunior:Dinosaurs/ApatosaurusDinosaurs

Category:Horticulture/Templates/BoxesHorticulture

Wikijunior talk:Bugs/Shield BugBugs

See also[edit]

  • {{ROOTBOOKNAME}} - book name with namespace detection
  • {{FULLBOOKNAME}} - page name without any subpages and retains the namespace.