Jump to content

Template:R from book/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
  • By default, this rcat also formats the title of the book in italics on the redirect page. See below for those rare instances when this function must be subdued.
  • Add this rcat to a redirect page (not a talk-page redirect) in the following manner:
#REDIRECT [[(target article title)]]

{{Rcat shell|
{{R from book}}
{{R unprintworthy}}
}}
Template {{Rcat shell}} is an alias for the Redirect category shell template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
#REDIRECT [[(target article title)]]

{{R from book}}
This is in accord with instructions found at WP:REDCAT.
  • Use this rcat on any mainspace redirect from a book title to an author, publisher or other more general, relevant article.
  • By default, this template places redirects in the unprintworthy category. To tag and categorize a redirect as printworthy, type the addition printworthy in the following manner:
{{Rcat shell|
{{R from book|printworthy}}
{{R printworthy}}
}}
or if applied individually:
{{R from book|printworthy}}
That will subdue the unprintworthy category and sort the redirect to Category:Printworthy redirects.
  • Infrequently, a book title might require the use of {{DISPLAYTITLE}} or {{Italic title}} with its |string= parameter to format the title of the redirect. In those cases the default italic title will interfere with that format and must be subdued. When this rcat tags a redirect from inside the Rcat shell template, this is done in the following manner:
{{Rcat shell|
{{R from book|2=noitalics}}
{{R unprintworthy}}
}}
 or:
{{Rcat shell|
{{R from book||noitalics}}
{{R unprintworthy}}
}}
and if applied individually:
{{R from book|2=noitalics}}
 or:
{{R from book||noitalics}}
That will subdue the default italic title so no title-display conflict will result.

Aliases

[edit]

See also

[edit]