Template:BookCat/user/core

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

Usage

This template handles pages in userspace for {{BookCat}}, using the book-name width determined by {{BookCat/user}}.

Required parameter w0 is the integer number of the slash at which the book name stops; for example, if this is2, the book name is everything before the second slash. Required parameter w1 is one more than w0.

Other parameters are passed down from {{BookCat}}. At this writing, parameters used are optional filing, optional sortkey, and required fullpagename.

Internals

The difference from {{BookCat/default}} is that here the "book name" encompasses more of the full page name, how much more being determined by w0 and w1.

See also