Template:BOOKPAGENAME/user/doc

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

This subtemplate of {{BOOKPAGENAME}} handles for {{BOOKPAGENAME/core}} the case of userspace.

Usage[edit source]

The two parameters expected are namespace and pagename.

Internals[edit source]

At this writing, the associated book name for a page in userspace is everything before the second slash, except that if that ends with /sandbox, everything before the third slash is taken. Books and book fragments in userspace are likely to be exceptional anyway, so any default rule used here is only a guess and should probably be treated as provisional, subject to change without warning; but meanwhile, these rules were chosen as possibly-useful.