Template:BOOKNAME

From Wikibooks, open books for an open world
Jump to: navigation, search
Template documentation[edit] [history] [purge]

Returns the name of the book without the namespace.

Usage

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

Wikijunior:BiologyBiology

Chess/Puzzles/DirectmatesChess

Wikijunior:Dinosaurs/ApatosaurusDinosaurs

Category:Horticulture/Templates/BoxesHorticulture

Wikijunior talk:Bugs/Shield BugBugs

See also

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