Templat:BOOKPAGENAME
This template returns the part of the page name after the logical book name. Compare {{BOOKNAME}}.
Usage
suntingSimply place {{BOOKPAGENAME}}
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.
{{BOOKPAGENAME|<full pagename>}}
Examples
suntingTemplat:Magic word templates/book page examples
Internals
suntingThis template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKPAGENAME/core}}.
If the current page is part of a book (other than the book main page), {{BOOKNAME}}/{{BOOKPAGENAME}}
is the full title of the page (similarly to {{NAMESPACE}}:{{PAGENAME}}
).
See also
suntingTemplat:Magic word templates/book page see also Templat:Magic word templates/subject page see also