Template:BOOKSORTKEY

From Wikibooks, open books for an open world
(Redirected from Template:FULLCHAPTERNAME)
Jump to: navigation, search

BOOKSORTKEY

Template documentation[edit] [history] [purge]
update use count

Returns the full name of a chapter or the book name if it isn't a chapter.

Usage

Simply place {{BOOKSORTKEY}} 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.

{{BOOKSORTKEY|<full pagename>}}

Examples

page where called result
Taxi Tongue/Dialogue 4 Dialogue 4
Chess/Puzzles/Directmates Puzzles/Directmates
Wikijunior:Biology Wikijunior:Biology
Wikijunior:Dinosaurs/Apatosaurus Apatosaurus
Wikijunior talk:Bugs/Shield Bug Shield Bug
Category:Horticulture/Templates/Boxes Templates/Boxes
Category:Book:Wikijunior:Solar System/Templates Templates
Template:Wikijunior:Solar System/coolfacts coolfacts
User:Pi zero/Conlang/Beginner/Sounds Beginner/Sounds
User:Pi zero/sandbox/Conlang/Beginner/Sounds Beginner/Sounds
Category:User:Pi zero/sandbox/Conlang/Beginner/Sounds Beginner/Sounds
Template:User:Pi zero/sandbox/Conlang/Beginner/Sounds Beginner/Sounds

See also

  • {{ROOTBOOKNAME}} — deduces full root name of book associated with the current page.
  • {{BOOKPAGENAME}} — deduces the part of page name after name of associated book.
  • {{BOOKTEMPLATE}} — deduces full root name for templates of book associated with the current page.
  • {{BOOKCATEGORY}} — deduces full root name for categories of book associated with the current page.
  • {{BOOKTALKNAME}} — deduces main talk page name of book associated with the current page.
  • {{CHAPTERNAME}} — deduces first field of page name after the book name.
  • {{BOOKNAME}} — page name without subpages and without the namespace.
  • {{FULLBOOKNAME}} — page name without subpages and retaining the namespace.