සැකිල්ල:BookCat/user

Wikibooks වෙතින්
Jump to navigation Jump to search
[edit] [විරේචනය කරන්න] Template-info.svg Template documentation

Usage[සංස්කරණය]

This template handles pages in userspace for {{BookCat}}.

Parameters are passed down from the parent. At this writing, parameters used are optiona filing, optional sortkey, and required fullpagename and pagename.

Internals[සංස්කරණය]

Draft books sometimes occur in userspace; the tricky part is deciding how much of the page name is the "book name". At this writing, the rule is that usually everything before the second slash is the book name — thus, page User:Mark Twain/The Adventures of Tom Sawyer/Chapter I would have book name User:Mark Twain/The Adventures of Tom Sawyer — except that if the trailing part of this is /sandbox, everything up to the third slash is the book name. This template decides which slash to use and passes its choice on to {{BookCat/user/core}} for further processing (using Module:TScope to pass through other parameters).

See also[සංස්කරණය]

"https://si.wikibooks.org/w/index.php?title=සැකිල්ල:BookCat/user&oldid=12346" වෙතින් සම්ප්‍රවේශනය කෙරිණි